18e24c3ca2
If not literal, check specialization_constant entries for "variable_id" to link up ID with spec constant values. This maps directly to C++ API.
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"entryPoints" : [
|
|
{
|
|
"name" : "maim",
|
|
"mode" : "vert"
|
|
},
|
|
{
|
|
"name" : "main",
|
|
"mode" : "vert"
|
|
},
|
|
{
|
|
"name" : "maim",
|
|
"mode" : "frag"
|
|
},
|
|
{
|
|
"name" : "main",
|
|
"mode" : "frag"
|
|
}
|
|
],
|
|
"types" : {
|
|
"_8" : {
|
|
"name" : "_8",
|
|
"members" : [
|
|
{
|
|
"name" : "_m0",
|
|
"type" : "vec4"
|
|
},
|
|
{
|
|
"name" : "_m1",
|
|
"type" : "float"
|
|
},
|
|
{
|
|
"name" : "_m2",
|
|
"type" : "float",
|
|
"array" : [
|
|
1
|
|
],
|
|
"array_size_is_literal" : [
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"name" : "_m3",
|
|
"type" : "float",
|
|
"array" : [
|
|
1
|
|
],
|
|
"array_size_is_literal" : [
|
|
true
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |