From ffe2ec7aba69cf5ca376a8366872a894d3303a48 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 27 May 2019 13:23:41 +0100 Subject: [PATCH] Workaround Intel driver not reflecting array if [0] isn't accessed --- util/test/demos/gl/gl_cbuffer_zoo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/demos/gl/gl_cbuffer_zoo.cpp b/util/test/demos/gl/gl_cbuffer_zoo.cpp index a77bf8538..9285f6e9e 100644 --- a/util/test/demos/gl/gl_cbuffer_zoo.cpp +++ b/util/test/demos/gl/gl_cbuffer_zoo.cpp @@ -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);