mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 12:05:20 +00:00
Updated GLSL and SPIR-V shaders (added gl_PerVertex redeclaration to vertex shaders).
This commit is contained in:
@@ -8,11 +8,16 @@
|
||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||
// nor any responsibility to update it.
|
||||
|
||||
#version 430
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec4 i_Position;
|
||||
layout(location = 1) in vec4 i_Color;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
layout(location = 0) out vec4 v_Color;
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in New Issue
Block a user