third_party/spirv-cross/reference/opt/shaders/asm/tese/unroll-input-array-load.asm.tese
raw| 1 | #version 450 |
| 2 | layout(quads) in; |
| 3 | |
| 4 | struct ControlPoint |
| 5 | { |
| 6 | vec4 baz; |
| 7 | }; |
| 8 | |
| 9 | layout(location = 0) patch in vec4 input_foo; |
| 10 | layout(location = 1) patch in vec4 input_bar; |
| 11 | layout(location = 2) in ControlPoint CPData[]; |
| 12 | |
| 13 | void main() |
| 14 | { |
| 15 | gl_Position = (((input_foo + input_bar) + vec2(gl_TessCoord.xy).xyxy) + CPData[0u].baz) + CPData[3u].baz; |
| 16 | } |
| 17 |