cuda-samples/Samples/simpleVulkan/shader_sine.frag

11 lines
237 B
GLSL
Raw Normal View History

2018-08-25 01:05:15 +08:00
#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_NV_gpu_shader5 : enable
2018-08-25 01:05:15 +08:00
layout(location = 0) in vec3 fragColor;
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0);
}