SPIRV-Cross/reference/shaders-reflection/vert/read-from-row-major-array.vert.json
2020-01-15 17:01:35 +01:00

67 lines
1.5 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "vert"
}
],
"types" : {
"_89" : {
"name" : "gl_PerVertex",
"members" : [
{
"name" : "gl_Position",
"type" : "vec4"
},
{
"name" : "gl_PointSize",
"type" : "float"
}
]
},
"_102" : {
"name" : "Block",
"members" : [
{
"name" : "var",
"type" : "mat2x3",
"array" : [
4,
3
],
"array_size_is_literal" : [
true,
true
],
"offset" : 0,
"array_stride" : 192,
"matrix_stride" : 16,
"row_major" : true
}
]
}
},
"inputs" : [
{
"type" : "vec4",
"name" : "a_position",
"location" : 0
}
],
"outputs" : [
{
"type" : "float",
"name" : "v_vtxResult",
"location" : 0
}
],
"ubos" : [
{
"type" : "_102",
"name" : "Block",
"block_size" : 576,
"set" : 0,
"binding" : 0
}
]
}