SPIRV-Cross/reference/shaders-reflection/frag/spec-constant.vk.frag.json
2018-06-21 09:24:22 -07:00

71 lines
1.4 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "frag"
}
],
"types" : {
"_137" : {
"name" : "Foo",
"members" : [
{
"name" : "elems",
"type" : "float",
"array" : [
135
]
}
]
}
},
"outputs" : [
{
"type" : "vec4",
"name" : "FragColor",
"location" : 0
}
],
"specialization_constants" : [
{
"id" : 1,
"type" : "float",
"default_value" : 1.5
},
{
"id" : 2,
"type" : "float",
"default_value" : 2.5
},
{
"id" : 3,
"type" : "int",
"default_value" : 3
},
{
"id" : 4,
"type" : "int",
"default_value" : 4
},
{
"id" : 5,
"type" : "uint",
"default_value" : 5
},
{
"id" : 6,
"type" : "uint",
"default_value" : 6
},
{
"id" : 7,
"type" : "bool",
"default_value" : false
},
{
"id" : 8,
"type" : "bool",
"default_value" : true
}
]
}