Skip to content

Commit 3099a26

Browse files
committed
fix vertex shader producing an unused varying
1 parent bb7ab46 commit 3099a26

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

jme3-testdata/src/main/resources/Shaders/VulkanFragTest.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#version 450
22

3-
layout(location = 1) in vec2 texCoord;
3+
layout(location = 0) in vec2 texCoord;
44

55
layout(location = 0) out vec4 outColor;
66

jme3-testdata/src/main/resources/Shaders/VulkanVertTest.glsl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ layout (location = 0) in vec3 inPosition;
44
layout (location = 1) in vec2 inTexCoord;
55
layout (location = 2) in vec3 inNormal;
66

7-
layout (location = 0) out vec3 fragColor;
8-
layout (location = 1) out vec2 texCoord;
7+
layout (location = 0) out vec2 texCoord;
98

109
layout (set = 0, binding = 0) uniform CameraBuffer {
1110
mat4 worldViewProjectionMatrix;

0 commit comments

Comments
 (0)