shader: Bug fix: Test failures

This commit is contained in:
Hajime Hoshi 2020-06-21 22:32:41 +09:00
parent c36d2165e6
commit f10263fff7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;