Workaround Intel driver not reflecting array if [0] isn't accessed

This commit is contained in:
baldurk
2019-05-27 13:23:41 +01:00
parent 877802bef2
commit ffe2ec7aba
+1 -1
View File
@@ -303,7 +303,7 @@ void main()
blah += n[0] + o[0] + p.x;
blah += q[0].x + r[0].x + s[0].x + t[0].x + u[0].x + v[0].x + w[0].x + x[0].x + y[0].x + z;
blah += multiarray[0][0].x + ac[0][0] + ad[0][0] + ae[0][0][0] + af[0][0][0];
blah += A.z + B.x + C.y + D[0][1] + E[2] + F[1][0][1].y;
blah += A.z + B.x + C.y + D[0][1] + E[2] + F[1][0][0].y + F[1][0][1].y;
blah += G[0].a.b + G[1].a.b + G[1].b[3].w + G[1].c[3].a.y;
blah *= vertIn.uv.z;
Color = blah + test + vec4(0.1f, 0.0f, 0.0f, 0.0f);