summaryrefslogtreecommitdiffstats
path: root/progs/slang
diff options
context:
space:
mode:
Diffstat (limited to 'progs/slang')
-rw-r--r--progs/slang/cltest.txt40
-rw-r--r--progs/slang/vstest.txt2
2 files changed, 41 insertions, 1 deletions
diff --git a/progs/slang/cltest.txt b/progs/slang/cltest.txt
index e7d47c2cb62..97cc177c9f3 100644
--- a/progs/slang/cltest.txt
+++ b/progs/slang/cltest.txt
@@ -31,6 +31,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
void main () {
gl_Position = gl_ModelViewMatrix * gl_Vertex;
gl_FrontColor = vec4 (1.0);
@@ -156,6 +160,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _Zero;
attribute float _One;
attribute float _Two;
@@ -248,6 +256,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute vec4 _One;
attribute vec4 _Two;
@@ -464,6 +476,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _Two;
attribute float _Two2;
attribute float _MinusThree;
@@ -722,6 +738,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _False;
attribute float _True;
attribute float _False2;
@@ -917,6 +937,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _Zero;
attribute float _One;
attribute float _Two;
@@ -985,6 +1009,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _Zero;
attribute float _One;
attribute vec4 _Two4;
@@ -1141,6 +1169,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _Zero;
attribute float _One;
attribute vec4 _Two4;
@@ -1349,6 +1381,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute vec4 _Zero;
attribute vec4 _One;
attribute vec4 _Two;
@@ -1424,6 +1460,10 @@ $vertex
$code
+#version 110
+
+#extension MESA_shader_debug: require
+
attribute float _One;
attribute vec4 _Two4;
attribute vec4 _Three4;
diff --git a/progs/slang/vstest.txt b/progs/slang/vstest.txt
index b049f4206f5..7f51d0bc810 100644
--- a/progs/slang/vstest.txt
+++ b/progs/slang/vstest.txt
@@ -10,7 +10,7 @@
#version 110
-//#extension MESA_shader_debug: require
+#extension MESA_shader_debug: require
attribute vec4 Attribute1;
attribute vec4 Attribute2;