mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-25 00:29:16 +08:00
10 lines
199 B
GLSL
10 lines
199 B
GLSL
|
#version 450
|
||
|
#extension GL_ARB_separate_shader_objects : enable
|
||
|
|
||
|
layout(location = 0) in vec3 fragColor;
|
||
|
|
||
|
layout(location = 0) out vec4 outColor;
|
||
|
|
||
|
void main() {
|
||
|
outColor = vec4(fragColor, 1.0);
|
||
|
}
|