dga does't work correctly
tom fogal
tfogal at alumni.unh.edu
Fri Jan 9 20:33:36 PST 2009
Steven Newbury <steve at snewbury.org.uk> writes:
[snip]
> (including using GLSL shaders for overlay effects, though sadly the shader
> fails to compile with the intel driver for some reason [1])
[snip]
> [1]
> src/osd/sdl/gl_shader_tool.c:375: GL Error: object 0x3 compilation failed
> src/osd/sdl/gl_shader_tool.c:375 glInfoLog: Error:
> Error: failed to preprocess the source.
>
> failed to process shader: <
> #pragma optimize (on)
> #pragma debug (off)
Try removing the pragma; doesn't look like it's supported yet in Mesa.
tf at tomasu dev grep -i pragma mesa/src/mesa/shader/slang/*.c
mesa/src/mesa/shader/slang/slang_preprocess.c:#define TOKEN_PRAGMA 8
vs. `if', which seems to have an implementation:
tf at tomasu dev grep -i token_if mesa/src/mesa/shader/slang/*.c
mesa/src/mesa/shader/slang/slang_preprocess.c:#define TOKEN_IF 3
mesa/src/mesa/shader/slang/slang_preprocess.c: case TOKEN_IF:
Just a guess.
-tom
More information about the xorg
mailing list