You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some error is reported that seems should not exist;
ERROR: #version: ES shaders for SPIR-V require version 310 or higher
ERROR: 300samplerExternal.frag:12: 'sampler/image' : cannot construct this type
ERROR: 300samplerExternal.frag:12: 'constructor' : too many arguments
ERROR: 300samplerExternal.frag:13: 'sampler/image' : cannot construct this type
ERROR: 300samplerExternal.frag:13: 'constructor' : too many arguments
ERROR: 300samplerExternal.frag:14: 'sampler/image' : cannot construct this type
ERROR: 300samplerExternal.frag:14: 'constructor' : too many arguments
ERROR: 300samplerExternal.frag:15: 'texture2DProj' : no matching overloaded function found
ERROR: 300samplerExternal.frag:16: 'texture2DProj' : no matching overloaded function found
// ==== Those ERROR should not be reported! ====
ERROR: 300samplerExternal.frag:20: 'textureSize' : no matching overloaded function found
ERROR: 300samplerExternal.frag:21: 'texture' : no matching overloaded function found
ERROR: 300samplerExternal.frag:22: 'texture' : no matching overloaded function found
ERROR: 300samplerExternal.frag:23: 'textureProj' : no matching overloaded function found
ERROR: 300samplerExternal.frag:24: 'textureProj' : no matching overloaded function found
ERROR: 300samplerExternal.frag:25: 'textureProj' : no matching overloaded function found
ERROR: 300samplerExternal.frag:26: 'textureProj' : no matching overloaded function found
ERROR: 300samplerExternal.frag:27: 'texelFetch' : no matching overloaded function found
ERROR: 300samplerExternal.frag:29: 'sampler/image' : cannot construct this type
ERROR: 300samplerExternal.frag:29: 'constructor' : too many arguments
ERROR: 300samplerExternal.frag:30: 'texture2DProjLod' : no matching overloaded function found
ERROR: 300samplerExternal.frag:31: 'texture' : no matching overloaded function found
ERROR: 300samplerExternal.frag:32: 'textureProjLod' : no matching overloaded function found
ERROR: 300samplerExternal.frag:38: 'samplerExternalOES' : required extension not requested: GL_OES_EGL_image_external_essl3
ERROR: 300samplerExternal.frag:41: '' : syntax error, unexpected IDENTIFIER, expecting LEFT_BRACE or COMMA or SEMICOLON
ERROR: 24 compilation errors. No code generated.
The text was updated successfully, but these errors were encountered:
What kind of SPIR-V is this supposed to be generating? Is generation of SPIR-V with this extension even supported in the first place?
I don't understand the SPIRV format; I just have a project that needs to switch from OpenGL to Vulkan, and I've found that shaders relying on this extension can't be properly converted to SPIRV.
It seems that extension
GL_OES_EGL_image_external_essl3
has been supported with #1044But when I try to exec with file https://github.com/KhronosGroup/glslang/blob/main/Test/300samplerExternal.frag:
glslangValidator -C --auto-map-bindings --target-env vulkan1.1 300samplerExternal.frag
Some error is reported that seems should not exist;
The text was updated successfully, but these errors were encountered: