blob: 62a470eeb658526afe1b9d33c4c37ff1401873d0 [file] [log] [blame]
Chris Forbescc5697f2019-01-30 11:54:08 -08001{
2 "revision" : 5,
3 "instructions" : [
4 {
5 "opname" : "SwizzleInvocationsAMD",
6 "opcode" : 1,
7 "operands" : [
8 { "kind" : "IdRef", "name" : "'data'" },
9 { "kind" : "IdRef", "name" : "'offset'" }
10 ],
11 "extensions" : [ "SPV_AMD_shader_ballot" ]
12 },
13 {
14 "opname" : "SwizzleInvocationsMaskedAMD",
15 "opcode" : 2,
16 "operands" : [
17 { "kind" : "IdRef", "name" : "'data'" },
18 { "kind" : "IdRef", "name" : "'mask'" }
19 ],
20 "extensions" : [ "SPV_AMD_shader_ballot" ]
21 },
22 {
23 "opname" : "WriteInvocationAMD",
24 "opcode" : 3,
25 "operands" : [
26 { "kind" : "IdRef", "name" : "'inputValue'" },
27 { "kind" : "IdRef", "name" : "'writeValue'" },
28 { "kind" : "IdRef", "name" : "'invocationIndex'" }
29 ],
30 "extensions" : [ "SPV_AMD_shader_ballot" ]
31 },
32 {
33 "opname" : "MbcntAMD",
34 "opcode" : 4,
35 "operands" : [
36 { "kind" : "IdRef", "name" : "'mask'" }
37 ],
38 "extensions" : [ "SPV_AMD_shader_ballot" ]
39 }
40 ]
41}