rspirv::grammar

Module reflect

Source
Expand description

Reflect functions for SPIR-V instructions.

Functionsยง

  • Returns true if the given opcode aborts execution.
  • Returns true if the given opcode is for an annotation instruction.
  • Returns true if the given opcode is for a terminator instruction.
  • Returns true if the given opcode is a branch instruction.
  • Returns true if the given opcode is for a constant-defining instruction.
  • Returns true if the given opcode is for a debug instruction.
  • Returns true if the given opcode is for a location debug instruction.
  • Returns true if the given opcode is for a non-location debug instruction.
  • Returns true if the given opcode is a return instruction.
  • Returns true if the given opcode is a return instruction or it aborts execution.
  • Returns true if the given opcode is for a type-declaring instruction.
  • Returns true if the given opcode is for a variable-defining instruction.