Struct rspirv::grammar::InstructionTable
[−]
[src]
pub struct InstructionTable;
The table for all SPIR-V core instructions.
This table is staic data stored in the library.
Methods
impl InstructionTable
[src]
fn lookup_opcode(opcode: u16) -> Option<&'static Instruction<'static>>
Looks up the given opcode
in the instruction table and returns
a reference to the instruction grammar entry if found.