Added basic input attachment sample

This commit is contained in:
saschawillems 2018-07-15 18:18:41 +02:00
parent 8a6184dc81
commit a1f166e001
11 changed files with 731 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#version 450
layout (location = 0) in vec3 inColor;
layout (location = 0) out vec4 outSwapChainColor;
layout (location = 1) out vec4 outColor;
layout (location = 2) out float outDepth;
void main()
{
outSwapChainColor = vec4(0.0);
outColor = vec4(inColor, 0.0);
outDepth = gl_FragDepth;
}