14 lines
472 B
GLSL
14 lines
472 B
GLSL
// NOTE: This shader requires being manually compiled to SPIR-V in order to
|
|
// avoid having downstream users require building shaderc and compiling the
|
|
// shader themselves. If you update this shader, be sure to also re-compile it
|
|
// and update `frag.spv`. You can do so using `glslangValidator` with the
|
|
// following command: `glslangValidator -V shader.frag`
|
|
|
|
#version 450
|
|
|
|
layout(location = 0) out vec4 f_color;
|
|
|
|
void main() {
|
|
f_color = vec4(1.0, 0.0, 0.0, 1.0);
|
|
}
|