extinst.spv-amd-shader-ballot.grammar.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  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. }