1
0
mirror of https://github.com/elima/gpu-playground.git synced 2025-06-07 07:56:21 +00:00
Eduardo Lima Mitev a731e75f93 Adds a vulkan triangle example
Uses xcb as WSI with minimum integration (resize, fullscreen, etc).
2016-11-10 10:07:56 +01:00

10 lines
196 B
GLSL

#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) out highp vec4 outColor;
layout(location = 0) in vec3 color;
void main() {
outColor = vec4(color, 1.0);
}