diff options
Diffstat (limited to 'SDL-3.2.8/src/render/gpu/shaders/color.frag')
| -rw-r--r-- | SDL-3.2.8/src/render/gpu/shaders/color.frag | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/SDL-3.2.8/src/render/gpu/shaders/color.frag b/SDL-3.2.8/src/render/gpu/shaders/color.frag new file mode 100644 index 0000000..8ce1e6b --- /dev/null +++ b/SDL-3.2.8/src/render/gpu/shaders/color.frag | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #version 450 | ||
| 2 | |||
| 3 | layout(location = 0) in vec4 v_color; | ||
| 4 | |||
| 5 | layout(location = 0) out vec4 o_color; | ||
| 6 | |||
| 7 | void main() { | ||
| 8 | o_color = v_color; | ||
| 9 | } | ||
