third_party/spirv-cross/reference/shaders-reflection/comp/physical-pointer.comp.json
raw| 1 | { |
| 2 | "entryPoints" : [ |
| 3 | { |
| 4 | "name" : "main", |
| 5 | "mode" : "comp", |
| 6 | "workgroup_size" : [ |
| 7 | 1, |
| 8 | 1, |
| 9 | 1 |
| 10 | ], |
| 11 | "workgroup_size_is_spec_constant_id" : [ |
| 12 | false, |
| 13 | false, |
| 14 | false |
| 15 | ] |
| 16 | } |
| 17 | ], |
| 18 | "types" : { |
| 19 | "_8" : { |
| 20 | "name" : "Params", |
| 21 | "members" : [ |
| 22 | { |
| 23 | "name" : "x", |
| 24 | "type" : "float", |
| 25 | "offset" : 0 |
| 26 | }, |
| 27 | { |
| 28 | "name" : "y", |
| 29 | "type" : "_10", |
| 30 | "offset" : 8, |
| 31 | "physical_pointer" : true |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "_10" : { |
| 36 | "name" : "IntBuf", |
| 37 | "members" : [ |
| 38 | { |
| 39 | "name" : "v", |
| 40 | "type" : "int", |
| 41 | "offset" : 0 |
| 42 | } |
| 43 | ] |
| 44 | } |
| 45 | }, |
| 46 | "ubos" : [ |
| 47 | { |
| 48 | "type" : "_8", |
| 49 | "name" : "Params", |
| 50 | "block_size" : 16, |
| 51 | "set" : 0, |
| 52 | "binding" : 0 |
| 53 | } |
| 54 | ] |
| 55 | } |