SPIRV-Cross/reference/shaders-reflection/asm/op-source-glsl-ssbo-2.asm.comp.json
Hans-Kristian Arntzen 457eba355e Employ heuristics to figure out how to emit SSBO/UAV reflection names.
This is rather shaky, but we don't have many choices here except add a
lot of awkward and unintuitive options. Try to deduce this from OpSource
and fallback to heuristic.
2019-06-10 11:24:24 +02:00

52 lines
1.1 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "comp"
}
],
"types" : {
"_4" : {
"name" : "SSBO0",
"members" : [
{
"name" : "a",
"type" : "vec4",
"array" : [
0
],
"offset" : 0
}
]
},
"_6" : {
"name" : "SSBO1",
"members" : [
{
"name" : "b",
"type" : "vec4",
"array" : [
0
],
"offset" : 0
}
]
}
},
"ssbos" : [
{
"type" : "_4",
"name" : "SSBO0",
"block_size" : 0,
"set" : 0,
"binding" : 0
},
{
"type" : "_6",
"name" : "SSBO1",
"block_size" : 0,
"set" : 0,
"binding" : 1
}
]
}