[1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

[1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#1 Post 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'
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Suslik
Spiderkin
Posts: 481
Joined: Wed Aug 22, 2012 4:41 pm

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#2 Post by Suslik »

fixed

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#3 Post 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)
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#4 Post 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
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Suslik
Spiderkin
Posts: 481
Joined: Wed Aug 22, 2012 4:41 pm

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#5 Post 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

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#6 Post 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.
Attachments
Pesky Red Crystals.
Pesky Red Crystals.
Screen shot 2013-10-08 at 1.50.26 AM.png (112.56 KiB) Viewed 1720 times
Slow Flame Projectile
Slow Flame Projectile
Screen shot 2013-10-08 at 1.42.56 AM.jpg (135.54 KiB) Viewed 1720 times
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: [1.0.5d] OS/X Shader Errors (10.6.8 / 32-bit)

#7 Post by Doctornull »

... this is what they look like now:
Attachments
Screen shot 2013-10-08 at 12.25.44 PM.png
Screen shot 2013-10-08 at 12.25.44 PM.png (77.2 KiB) Viewed 1718 times
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Post Reply