SPIRV-Cross/reference/shaders-reflection/comp/workgroup-size-spec-constant.comp.json

62 lines
1.3 KiB
JSON
Raw Normal View History

{
"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
}
]
}