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