mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shader: Bug fix: Test failures
This commit is contained in:
parent
c36d2165e6
commit
f10263fff7
2
internal/shader/testdata/vertex.expected.vs
vendored
2
internal/shader/testdata/vertex.expected.vs
vendored
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user