third_party/spirv-cross/shaders-msl/frag/vecsize-mismatch.shader-inputs.frag
raw| 1 | #version 450 |
| 2 | |
| 3 | #extension GL_AMD_gpu_shader_int16 : require |
| 4 | |
| 5 | layout(location = 0) flat in int16_t a; |
| 6 | layout(location = 1) flat in ivec2 b; |
| 7 | layout(location = 2) flat in uint16_t c[2]; |
| 8 | layout(location = 4) flat in uvec4 e[2]; |
| 9 | layout(location = 6) in vec2 d; |
| 10 | |
| 11 | layout(location = 0) out vec4 FragColor; |
| 12 | |
| 13 | void main() |
| 14 | { |
| 15 | FragColor = vec4(float(int(a)), float(b.x), vec2(uint(c[1]), float(e[0].w)) + d); |
| 16 | } |
| 17 |