diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
| commit | 30f41c02aec763d32e62351452da9ef582bc3472 (patch) | |
| tree | 6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/test/testgpu/cube.glsl | |
| parent | 452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff) | |
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/test/testgpu/cube.glsl')
| -rw-r--r-- | contrib/SDL-3.2.8/test/testgpu/cube.glsl | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/contrib/SDL-3.2.8/test/testgpu/cube.glsl b/contrib/SDL-3.2.8/test/testgpu/cube.glsl deleted file mode 100644 index 3f35e98..0000000 --- a/contrib/SDL-3.2.8/test/testgpu/cube.glsl +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | #version 450 | ||
| 2 | |||
| 3 | #ifdef VERTEX | ||
| 4 | |||
| 5 | layout (location = 0) in vec3 in_position; | ||
| 6 | layout (location = 1) in vec3 in_color; | ||
| 7 | |||
| 8 | layout (location = 0) out vec4 out_color; | ||
| 9 | |||
| 10 | layout (set = 1, binding = 0) uniform UBO | ||
| 11 | { | ||
| 12 | mat4x4 modelViewProj; | ||
| 13 | }; | ||
| 14 | |||
| 15 | void main() | ||
| 16 | { | ||
| 17 | out_color = vec4(in_color, 1.0); | ||
| 18 | gl_Position = modelViewProj * vec4(in_position, 1.0); | ||
| 19 | } | ||
| 20 | |||
| 21 | #else | ||
| 22 | |||
| 23 | layout (location = 0) in vec4 in_color; | ||
| 24 | layout (location = 0) out vec4 out_color; | ||
| 25 | |||
| 26 | void main() | ||
| 27 | { | ||
| 28 | out_color = in_color; | ||
| 29 | } | ||
| 30 | |||
| 31 | #endif \ No newline at end of file | ||
