diff options
author | Michal Krol <[email protected]> | 2006-09-26 16:06:35 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-09-26 16:06:35 +0000 |
commit | ea87987ddaa4d963b00dfe51af3387615dd90594 (patch) | |
tree | 44eec9301faeee2556ac96fd0752bc4a21a87472 /progs/slang | |
parent | 27f660c16407d08e06fd0cc97bb247b41ae76f3b (diff) |
Prepend #extension 'MESA_shader_debug: require' to each shader.
Diffstat (limited to 'progs/slang')
-rw-r--r-- | progs/slang/cltest.txt | 40 | ||||
-rw-r--r-- | progs/slang/vstest.txt | 2 |
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; |