Struct rspirv::grammar::OpenCLStd100InstructionTable
[−]
[src]
pub struct OpenCLStd100InstructionTable;
The table for all OpenCLstd100
extended instructions.
This table is staic data stored in the library.
Methods
impl OpenCLStd100InstructionTable
[src]
fn lookup_opcode(opcode: u32) -> Option<&'static ExtendedInstruction<'static>>
[src]
Looks up the given opcode
in the instruction table and returns
a reference to the instruction grammar entry if found.
fn get(opcode: CLOp) -> &'static ExtendedInstruction<'static>
[src]
Returns a reference to the instruction grammar entry with the given
opcode
.