rspirv::grammar::reflect

Function is_constant

Source
pub fn is_constant(opcode: Op) -> bool
Expand description

Returns true if the given opcode is for a constant-defining instruction.