Jump to content

Shadmar shader errors


Josh
 Share

Recommended Posts

From Intel graphics:

 

Loading shader "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/Shaders/PostEffects/00_shaders/_klepto_fog.shader"...

Loading shader "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/Shaders/PostEffects/00_shaders/_passthrough.shader"...

Loading component "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/shaders/posteffects/08_pp_bloom+godrays.lua..."

Executing file "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/shaders/posteffects/08_pp_bloom+godrays.lua"

Loading shader "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/Shaders/PostEffects/00_shaders/_bloom.shader"...

ERROR: 0:19: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:19: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:19: '=' : cannot convert from 'const float' to '4-component vector of float'

ERROR: 0:20: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:20: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:20: '=' : cannot convert from 'const float' to '4-component vector of float'

Failed to compile fragment shader.

Error: Failed to compile fragment shader.

 

Loading shader "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/Shaders/PostEffects/00_shaders/_hblur.shader"...

ERROR: 0:29: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:29: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:30: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:30: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:31: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:31: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:32: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:32: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:33: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:33: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:34: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:34: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:35: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:35: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:36: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:36: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:37: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:37: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:38: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:38: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:39: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:39: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:40: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:40: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:41: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:41: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:42: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:42: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:43: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:43: 'texture2D' : function is removed in Forward Compatibile context

Failed to compile fragment shader.

Error: Failed to compile fragment shader.

 

Loading shader "C:/Program Files (x86)/Steam/steamapps/common/Leadwerks Game Launcher/Shaders/PostEffects/00_shaders/_vblur.shader"...

ERROR: 0:29: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:29: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:30: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:30: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:31: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:31: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:32: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:32: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:33: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:33: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:34: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:34: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:35: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:35: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:36: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:36: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:37: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:37: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:38: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:38: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:39: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:39: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:40: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:40: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:41: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:41: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:42: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:42: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:43: 'texture2D' : function is removed in Forward Compatibile context

ERROR: 0:43: 'texture2D' : function is removed in Forward Compatibile context

Failed to compile fragment shader.

Error: Failed to compile fragment shader.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I'm adding the GLSlang library into the engine. When you hit "Debug" in the script editor, it will run the shader through the reference compiler first and so it will catch these kinds of errors, on any hardware. :)

 

It DOESN'T catch deprecated functionality, unfortunately, but it does catch other small errors:

Validating vertex shader...
Validating pixel shader...
Error validating pixel shader.
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:142: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:142: '=' :  cannot convert from 'temp double' to 'temp float'
ERROR: 0:147: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:147: '=' :  cannot convert from 'temp 4-component vector of double' to 'temp 4-component vector of float'
ERROR: 0:152: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:152: 'assign' :  cannot convert from 'temp 4-component vector of double' to 'temp 4-component vector of float'
ERROR: 0:153: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:153: 'assign' :  cannot convert from 'global double' to 'temp 4-component vector of float'
ERROR: 0:159: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:159: 'assign' :  cannot convert from 'temp 4-component vector of double' to 'out 4-component vector of float'
ERROR: 0:165: 'max' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:165: '=' :  cannot convert from 'temp double' to 'temp float'
ERROR: 0:183: 'clamp' : ambiguous function signature match: multiple signatures match under implicit type conversion
ERROR: 0:183: 'assign' :  cannot convert from 'temp 4-component vector of double' to 'out 4-component vector of float'
ERROR: 14 compilation errors.  No code generated.
0 errors, 0 warnings

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...