tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl
raw| 1 | #[vertex] |
| 2 | |
| 3 | #version 450 |
| 4 | |
| 5 | #VERSION_DEFINES |
| 6 | |
| 7 | #include "_included.glsl" |
| 8 | |
| 9 | layout(location = 0) out vec2 uv_interp; |
| 10 | |
| 11 | void main() { |
| 12 | uv_interp = vec2(0, 1); |
| 13 | } |
| 14 | |
| 15 | #[fragment] |
| 16 | |
| 17 | #version 450 |
| 18 | |
| 19 | #VERSION_DEFINES |
| 20 | |
| 21 | layout(location = 0) in vec2 uv_interp; |
| 22 | |
| 23 | void main() { |
| 24 | uv_interp = vec2(1, 0); |
| 25 | } |