SPIRV-Cross/reference/shaders-reflection/comp/workgroup-size-spec-constant.comp.json
Panagiotis Christopoulos Charitos b3109b8ad0 Reflection: Add specialization constant name
Fixes #1311
2020-04-18 22:00:36 +02:00

62 lines
1.3 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "comp",
"workgroup_size" : [
10,
40,
60
],
"workgroup_size_is_spec_constant_id" : [
true,
true,
true
]
}
],
"types" : {
"_8" : {
"name" : "SSBO",
"members" : [
{
"name" : "v",
"type" : "vec4",
"offset" : 0
}
]
}
},
"ssbos" : [
{
"type" : "_8",
"name" : "SSBO",
"block_size" : 16,
"set" : 0,
"binding" : 0
}
],
"specialization_constants" : [
{
"name" : "",
"id" : 10,
"type" : "uint",
"variable_id" : 18,
"default_value" : 1
},
{
"name" : "",
"id" : 40,
"type" : "uint",
"variable_id" : 19,
"default_value" : 1
},
{
"name" : "",
"id" : 60,
"type" : "uint",
"variable_id" : 20,
"default_value" : 1
}
]
}