SPIRV-Cross/reference/shaders-reflection/comp/struct-layout.comp.json
2018-06-21 09:24:22 -07:00

64 lines
1.4 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "comp"
}
],
"types" : {
"_19" : {
"name" : "Foo",
"members" : [
{
"name" : "m",
"type" : "mat4",
"offset" : 0
}
]
},
"_21" : {
"name" : "SSBO2",
"members" : [
{
"name" : "out_data",
"type" : "_19",
"array" : [
0
],
"offset" : 0
}
]
},
"_28" : {
"name" : "SSBO",
"members" : [
{
"name" : "in_data",
"type" : "_19",
"array" : [
0
],
"offset" : 0
}
]
}
},
"ssbos" : [
{
"type" : "_21",
"name" : "SSBO2",
"writeonly" : true,
"block_size" : 0,
"set" : 0,
"binding" : 1
},
{
"type" : "_28",
"name" : "SSBO",
"readonly" : true,
"block_size" : 0,
"set" : 0,
"binding" : 0
}
]
}