Skip to main content

rspirv/grammar/
autogen_spv_amd_shader_ballot.rs

1// AUTOMATICALLY GENERATED from the SPIR-V JSON grammar:
2//   external/spirv.core.grammar.json.
3// DO NOT MODIFY!
4
5static SPV_AMD_SHADER_BALLOT_INSTRUCTIONS: &[ExtendedInstruction<'static>] = &[
6    ext_inst!(
7        SpvAmdShaderBallot,
8        SpvAmdShaderBallotOp,
9        SwizzleInvocationsAMD,
10        [],
11        ["SPV_AMD_shader_ballot"],
12        [(IdRef, One), (IdRef, One)]
13    ),
14    ext_inst!(
15        SpvAmdShaderBallot,
16        SpvAmdShaderBallotOp,
17        SwizzleInvocationsMaskedAMD,
18        [],
19        ["SPV_AMD_shader_ballot"],
20        [(IdRef, One), (IdRef, One)]
21    ),
22    ext_inst!(
23        SpvAmdShaderBallot,
24        SpvAmdShaderBallotOp,
25        WriteInvocationAMD,
26        [],
27        ["SPV_AMD_shader_ballot"],
28        [(IdRef, One), (IdRef, One), (IdRef, One)]
29    ),
30    ext_inst!(
31        SpvAmdShaderBallot,
32        SpvAmdShaderBallotOp,
33        MbcntAMD,
34        [],
35        ["SPV_AMD_shader_ballot"],
36        [(IdRef, One)]
37    ),
38];
39pub static SPV_AMD_SHADER_BALLOT_INSTRUCTION_TABLE: InstructionTable<ExtInstOp> =
40    InstructionTable(SPV_AMD_SHADER_BALLOT_INSTRUCTIONS, std::marker::PhantomData);