mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 12:05:20 +00:00
Unified GLSL version across shaders in all tutorials.
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Tutorial03/Data03/shader.frag
|
Tutorial03/Data03/shader.frag
|
||||||
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
@@ -14,7 +14,7 @@ Linked fragment stage:
|
|||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9
|
EntryPoint Fragment 4 "main" 9
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 400
|
Source GLSL 450
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "out_Color"
|
Name 9 "out_Color"
|
||||||
Decorate 9(out_Color) Location 0
|
Decorate 9(out_Color) Location 0
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||||
// nor any responsibility to update it.
|
// nor any responsibility to update it.
|
||||||
|
|
||||||
#version 400
|
#version 450
|
||||||
|
|
||||||
layout(location = 0) out vec4 out_Color;
|
layout(location = 0) out vec4 out_Color;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Tutorial04/Data04/shader.frag
|
Tutorial04/Data04/shader.frag
|
||||||
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
@@ -14,7 +14,7 @@ Linked fragment stage:
|
|||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9 11
|
EntryPoint Fragment 4 "main" 9 11
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 430
|
Source GLSL 450
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "o_Color"
|
Name 9 "o_Color"
|
||||||
Name 11 "v_Color"
|
Name 11 "v_Color"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||||
// nor any responsibility to update it.
|
// nor any responsibility to update it.
|
||||||
|
|
||||||
#version 430
|
#version 450
|
||||||
|
|
||||||
layout(location = 0) in vec4 v_Color;
|
layout(location = 0) in vec4 v_Color;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Tutorial05/Data05/shader.frag
|
Tutorial05/Data05/shader.frag
|
||||||
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
@@ -14,7 +14,7 @@ Linked fragment stage:
|
|||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9 11
|
EntryPoint Fragment 4 "main" 9 11
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 430
|
Source GLSL 450
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "o_Color"
|
Name 9 "o_Color"
|
||||||
Name 11 "v_Color"
|
Name 11 "v_Color"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||||
// nor any responsibility to update it.
|
// nor any responsibility to update it.
|
||||||
|
|
||||||
#version 430
|
#version 450
|
||||||
|
|
||||||
layout(location = 0) in vec4 v_Color;
|
layout(location = 0) in vec4 v_Color;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Tutorial06/Data06/shader.frag
|
Tutorial06/Data06/shader.frag
|
||||||
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
@@ -14,7 +14,7 @@ Linked fragment stage:
|
|||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9 17
|
EntryPoint Fragment 4 "main" 9 17
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 430
|
Source GLSL 450
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "o_Color"
|
Name 9 "o_Color"
|
||||||
Name 13 "u_Texture"
|
Name 13 "u_Texture"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||||
// nor any responsibility to update it.
|
// nor any responsibility to update it.
|
||||||
|
|
||||||
#version 430
|
#version 450
|
||||||
|
|
||||||
layout(set=0, binding=0) uniform sampler2D u_Texture;
|
layout(set=0, binding=0) uniform sampler2D u_Texture;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
Tutorial07/Data07/shader.frag
|
Tutorial07/Data07/shader.frag
|
||||||
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
@@ -14,7 +14,7 @@ Linked fragment stage:
|
|||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9 17
|
EntryPoint Fragment 4 "main" 9 17
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 430
|
Source GLSL 450
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "o_Color"
|
Name 9 "o_Color"
|
||||||
Name 13 "u_Texture"
|
Name 13 "u_Texture"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Intel does not assume any responsibility for any errors which may appear in this software
|
// Intel does not assume any responsibility for any errors which may appear in this software
|
||||||
// nor any responsibility to update it.
|
// nor any responsibility to update it.
|
||||||
|
|
||||||
#version 430
|
#version 450
|
||||||
|
|
||||||
layout(set=0, binding=0) uniform sampler2D u_Texture;
|
layout(set=0, binding=0) uniform sampler2D u_Texture;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user