From ac689e9d6e85b0e2d3980e25513af06dff5844cc Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 6 Mar 2021 01:04:58 +0200 Subject: [PATCH] Fix a type error in a test case --- tests/glsl/expression_inline_iteration.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/glsl/expression_inline_iteration.glsl b/tests/glsl/expression_inline_iteration.glsl index 20136ca4..3ad81bc8 100644 --- a/tests/glsl/expression_inline_iteration.glsl +++ b/tests/glsl/expression_inline_iteration.glsl @@ -3,7 +3,7 @@ layout(location=0) in vec4 position; layout(location=1) in vec3 direction; void main() { - vec4 p = position.xyz; + vec3 p = position.xyz; int step = -1; for(int i=0; i<10; ++i) { @@ -21,7 +21,7 @@ layout(location=0) in vec4 position; layout(location=1) in vec3 direction; void main() { - vec4 p = position.xyz; + vec3 p = position.xyz; int step = -1; for(int i=0; i<10; ++i) { -- 2.45.2