summaryrefslogtreecommitdiff
path: root/shaders
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2014-02-12 04:17:04 +0100
committerEric Anholt <eric@anholt.net>2014-02-14 15:14:28 -0800
commit0a123b619258bcf8983276ae57410a71cdfab15d (patch)
tree77780ab314136211a9a5aa745653031229b0514c /shaders
parentab970c1daee4cfa61ebd6a96259129dbcd5bc106 (diff)
Add layout in dolphin fragment shader to use GL_ARB_blend_func_extended.
Diffstat (limited to 'shaders')
-rw-r--r--shaders/dolphin/smg.1.shader_test5
1 files changed, 3 insertions, 2 deletions
diff --git a/shaders/dolphin/smg.1.shader_test b/shaders/dolphin/smg.1.shader_test
index 16004bc..a425530 100644
--- a/shaders/dolphin/smg.1.shader_test
+++ b/shaders/dolphin/smg.1.shader_test
@@ -1,3 +1,4 @@
+// added layout for both ocol0 + ocol1 to force use of GL_ARB_blend_func_extended
[require]
GLSL >= 1.30
@@ -49,8 +50,8 @@ float4 cfog[3] ;
float4 cPLights[40] ;
float4 cPmtrl[4] ;
};
-out vec4 ocol0;
-out vec4 ocol1;
+layout(location = 0, index = 0) out vec4 ocol0;
+layout(location = 0, index = 1) out vec4 ocol1;
VARYIN float4 colors_02;
VARYIN float4 colors_12;
VARYIN float3 uv0_2;