SPIRV-Cross/reference/shaders-reflection/vert/array-size-reflection.vert.json
2020-01-15 17:01:35 +01:00

77 lines
1.8 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "vert"
}
],
"types" : {
"_11" : {
"name" : "gl_PerVertex",
"members" : [
{
"name" : "gl_Position",
"type" : "vec4"
},
{
"name" : "gl_PointSize",
"type" : "float"
},
{
"name" : "gl_ClipDistance",
"type" : "float",
"array" : [
1
],
"array_size_is_literal" : [
true
]
},
{
"name" : "gl_CullDistance",
"type" : "float",
"array" : [
1
],
"array_size_is_literal" : [
true
]
}
]
},
"_18" : {
"name" : "u_",
"members" : [
{
"name" : "u_0",
"type" : "vec4",
"array" : [
16
],
"array_size_is_literal" : [
false
],
"offset" : 0,
"array_stride" : 16
}
]
}
},
"ubos" : [
{
"type" : "_18",
"name" : "u_",
"block_size" : 16,
"set" : 1,
"binding" : 0
}
],
"specialization_constants" : [
{
"id" : 0,
"type" : "int",
"variable_id" : 16,
"default_value" : 1
}
]
}