ash/examples/shader/nv_ray_tracing/triangle.frag

11 lines
242 B
GLSL
Raw Normal View History

2019-02-10 14:33:55 +11:00
#version 400
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (location = 0) in vec4 o_color;
layout (location = 0) out vec4 uFragColor;
void main() {
uFragColor = o_color;
}