vulkan_test_simple
diff pixel.glsl @ 0:8de4fe926882
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 28 Jun 2018 13:57:28 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pixel.glsl Thu Jun 28 13:57:28 2018 +0300 1.3 @@ -0,0 +1,10 @@ 1.4 +#version 450 1.5 +#extension GL_ARB_separate_shader_objects : enable 1.6 + 1.7 +layout(location = 0) in vec3 incol; 1.8 +layout(location = 0) out vec4 outcol; 1.9 + 1.10 +void main() 1.11 +{ 1.12 + outcol = vec4(incol, 1.0); 1.13 +}