Page 1 of 1
[1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Mon Oct 07, 2013 6:58 pm
by Doctornull
Code: Select all
[SHADER] Loading from /data/gfx/shaders/lightning.lua
New GL Shader program 35
GLSL ERROR: Compile error in shader inline
ERROR: 0:8: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion)
ERROR: 0:8: 'mix' : no matching overloaded function found
ERROR: 0:8: 'assign' : cannot convert from 'const float' to '3-component vector of float'
Code: Select all
[SHADER] Loading from /data/gfx/shaders/fireball.lua
New GL Shader program 37
GLSL ERROR: Compile error in shader inline
ERROR: 0:104: '=' : cannot convert from 'const int' to 'float'
ERROR: 0:150: '>' : wrong operand types no operation '>' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:226: 'GetFireBallColor' : no matching overloaded function found
ERROR: 0:226: 'assign' : cannot convert from 'const float' to '4-component vector of float'
Code: Select all
[SHADER] Loading from /data/gfx/shaders/fireboom.lua
New GL Shader program 39
GLSL ERROR: Compile error in shader inline
ERROR: 0:126: '=' : cannot convert from 'const int' to 'float'
ERROR: 0:172: '=' : cannot convert from 'const int' to 'float'
ERROR: 0:173: '=' : cannot convert from 'const int' to 'float'
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Mon Oct 07, 2013 7:02 pm
by Suslik
fixed
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Mon Oct 07, 2013 9:23 pm
by Doctornull
Code: Select all
[SHADER] Loading from /data/gfx/shaders/unique_glow.lua
New GL Shader program 56
GLSL ERROR: Compile error in shader inline
ERROR: 0:33: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
Code: Select all
[SHADER] Loading from /data/gfx/shaders/distort.lua
New GL Shader program 54
GLSL ERROR: Compile error in shader inline
ERROR: 0:12: '+' : wrong operand types no operation '+' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:14: 'f' : syntax error syntax error
ERROR: Parser found no code to compile in source strings.
Code: Select all
dumb ai uses T_RUNE:_INVISIBILITY_1
[LOG] Maulotaur casts Rune: Invisibility.
[LOG] Maulotaur vanishes from sight.
[SHADER] Loading from /data/gfx/shaders/invis_edge.lua
New GL Shader program 51
GLSL ERROR: Compile error in shader inline
ERROR: 0:16: 'textureSize' : no matching overloaded function found
WARNING: 0:16: Divide by zero error during constant folding
ERROR: 0:17: 'textureSize' : no matching overloaded function found
WARNING: 0:17: Divide by zero error during constant folding
ERROR: 0:43: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'uniform float' and a right operand of type 'const int' (or there is no acceptable conversion)
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Mon Oct 07, 2013 9:37 pm
by Doctornull
This one is AFTER the fixpack you posted on IRC:
Code: Select all
red crystal 4061 dumb ai talents can use Flame T_FLAME
dumb ai uses T_FLAME
[SPELL CRIT %] 1
[SHADER] Loading from /data/gfx/shaders/fireball.lua
New GL Shader program 22
GLSL ERROR: Compile error in shader inline
ERROR: 0:150: '>' : wrong operand types no operation '>' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
[SHADER] created fragment shader from /data/gfx/shaders/fireball.frag
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Tue Oct 08, 2013 2:50 am
by Suslik
thanks a bunch, null. fixed all these except for invis_edge.frag(that's not my shader i have no idea how it's supposed to compile). fixpack:
https://dl.dropboxusercontent.com/u/256 ... %20fix.zip
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Tue Oct 08, 2013 4:06 pm
by Doctornull
I finally caught some bad firebolt graphics.
The latest shader-pack fixes this issue, so this post is purely for purpose of posterity.
Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)
Posted: Tue Oct 08, 2013 4:26 pm
by Doctornull
... this is what they look like now: