From f10263fff7b2920d108d4d7ef4fc4cab4960311a Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 21 Jun 2020 22:32:41 +0900 Subject: [PATCH] shader: Bug fix: Test failures --- internal/shader/testdata/vertex.expected.vs | 2 +- internal/shader/testdata/vertex_fragment.expected.vs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/shader/testdata/vertex.expected.vs b/internal/shader/testdata/vertex.expected.vs index 0dd7ddbd9..da841bca3 100644 --- a/internal/shader/testdata/vertex.expected.vs +++ b/internal/shader/testdata/vertex.expected.vs @@ -7,7 +7,7 @@ varying vec4 V1; void main(void) { mat4 l0 = mat4(0); - l0 = mat4((2.0) / ((U0).x), 0.0, 0.0, 0.0, 0.0, (2.0) / ((U0).y), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -(1.0), -(1.0), 0.0, 1.0); + l0 = mat4((2.0) / ((U0).x), 0.0, 0.0, 0.0, 0.0, (2.0) / ((U0).y), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -1.0, -1.0, 0.0, 1.0); gl_Position = (l0) * (vec4(A0, 0.0, 1.0)); V0 = A1; V1 = A2; diff --git a/internal/shader/testdata/vertex_fragment.expected.vs b/internal/shader/testdata/vertex_fragment.expected.vs index 0dd7ddbd9..da841bca3 100644 --- a/internal/shader/testdata/vertex_fragment.expected.vs +++ b/internal/shader/testdata/vertex_fragment.expected.vs @@ -7,7 +7,7 @@ varying vec4 V1; void main(void) { mat4 l0 = mat4(0); - l0 = mat4((2.0) / ((U0).x), 0.0, 0.0, 0.0, 0.0, (2.0) / ((U0).y), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -(1.0), -(1.0), 0.0, 1.0); + l0 = mat4((2.0) / ((U0).x), 0.0, 0.0, 0.0, 0.0, (2.0) / ((U0).y), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -1.0, -1.0, 0.0, 1.0); gl_Position = (l0) * (vec4(A0, 0.0, 1.0)); V0 = A1; V1 = A2;