Updated pipelines demo with new scene, shaders and pipeline derivatives
This commit is contained in:
parent
6ad7e5e9ba
commit
aa9f2405dd
26 changed files with 261 additions and 187 deletions
|
|
@ -1,10 +1,13 @@
|
|||
#version 450
|
||||
|
||||
layout (location = 0 ) in vec3 inColor;
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
|
||||
layout (location = 0) in vec3 inColor;
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outFragColor = vec4(1.0);
|
||||
outFragColor.rgb = inColor * 1.5;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue