SPIRV-Cross/reference/shaders-reflection/frag/separate-sampler-texture-array.vk.frag.json

73 lines
1.4 KiB
JSON

{
"entryPoints" : [
{
"name" : "main",
"mode" : "frag"
}
],
"inputs" : [
{
"type" : "vec2",
"name" : "vTex",
"location" : 0
},
{
"type" : "vec3",
"name" : "vTex3",
"location" : 1
}
],
"outputs" : [
{
"type" : "vec4",
"name" : "FragColor",
"location" : 0
}
],
"separate_images" : [
{
"type" : "texture2D",
"name" : "uTexture",
"array" : [
4
],
"set" : 0,
"binding" : 1
},
{
"type" : "texture2DArray",
"name" : "uTextureArray",
"array" : [
4
],
"set" : 0,
"binding" : 4
},
{
"type" : "textureCube",
"name" : "uTextureCube",
"array" : [
4
],
"set" : 0,
"binding" : 3
},
{
"type" : "texture3D",
"name" : "uTexture3D",
"array" : [
4
],
"set" : 0,
"binding" : 2
}
],
"separate_samplers" : [
{
"type" : "sampler",
"name" : "uSampler",
"set" : 0,
"binding" : 0
}
]
}