66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"entryPoints" : [
|
|
{
|
|
"name" : "main",
|
|
"mode" : "frag"
|
|
}
|
|
],
|
|
"types" : {
|
|
"_10" : {
|
|
"name" : "type.$Globals",
|
|
"members" : [
|
|
{
|
|
"name" : "ditherPattern2x2",
|
|
"type" : "float",
|
|
"array" : [
|
|
4
|
|
],
|
|
"array_size_is_literal" : [
|
|
true
|
|
],
|
|
"offset" : 0,
|
|
"array_stride" : 16
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"inputs" : [
|
|
{
|
|
"type" : "vec2",
|
|
"name" : "in.var.TEXCOORD0",
|
|
"location" : 0
|
|
}
|
|
],
|
|
"outputs" : [
|
|
{
|
|
"type" : "vec4",
|
|
"name" : "out.var.SV_TARGET",
|
|
"location" : 0
|
|
}
|
|
],
|
|
"separate_images" : [
|
|
{
|
|
"type" : "texture2D",
|
|
"name" : "diffuseTexture",
|
|
"set" : 2,
|
|
"binding" : 0
|
|
}
|
|
],
|
|
"separate_samplers" : [
|
|
{
|
|
"type" : "sampler",
|
|
"name" : "smp",
|
|
"set" : 2,
|
|
"binding" : 0
|
|
}
|
|
],
|
|
"ubos" : [
|
|
{
|
|
"type" : "_10",
|
|
"name" : "type.$Globals",
|
|
"block_size" : 64,
|
|
"set" : 0,
|
|
"binding" : 0
|
|
}
|
|
]
|
|
} |