From 835dbe5bd030b7eac11f65cc57990b9616a4b13a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 20 Sep 2014 09:10:01 +0200 Subject: [PATCH] - removed the 'layout' qualifier from the uniform buffer declaration. It's not really needed because the layout of a single vec4 array cannot possibly change, and Intel drivers are complaining for unknown reasons. --- wadsrc/static/shaders/glsl/main.fp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/shaders/glsl/main.fp b/wadsrc/static/shaders/glsl/main.fp index c77a058c2..6fa304f92 100644 --- a/wadsrc/static/shaders/glsl/main.fp +++ b/wadsrc/static/shaders/glsl/main.fp @@ -12,7 +12,7 @@ out vec4 FragColor; vec4 lights[]; }; #else - layout(std140) uniform LightBufferUBO + /*layout(std140)*/ uniform LightBufferUBO { vec4 lights[NUM_UBO_LIGHTS]; };