View Revisions: Issue #1813

Summary 0001813: Use of deprecated texture2D() in OpenGL 3.1+ shaders
Revision 2020-10-17 10:37 by Ext3h
Steps To Reproduce Try to use your your 3.0.6 GLRenderDevice with an OpenGL 4.3 CORE context.
Depending on the driver (known to be broken on Intels Windows drivers), shader compilation will now fail:

[OpenGL] Error high : SHADER_ID_COMPILE error has been generated. GLSL compile failed for shader 24, "": ERROR: 2:442: 'function' : is removed in Forward Compatible context texture2D
ERROR: 2:442: 'texture2D' : no matching overloaded function found (using implicit conversion)
ERROR: 2:442: 'texture2D' : function is not known
ERROR: 2:441: '=' : cannot convert from 'const highp float' to '4-component vector of highp float'


2020.10.15 17:03:41:785 [NOESIS] Shader compilation failed: ERROR: 2:442: 'function' : is removed in Forward Compatible context texture2D
ERROR: 2:442: 'texture2D' : no matching overloaded function found (using implicit conversion)
ERROR: 2:442: 'texture2D' : function is not known
ERROR: 2:441: '=' : cannot convert from 'const highp float' to '4-component vector of highp float'
Revision 2020-10-17 10:28 by Ext3h
Steps To Reproduce Try to use your your 3.0.6 GLRenderDevice with an OpenGL 4.3 CORE context.
Depending on the driver, shader compilation will now fail:

[OpenGL] Error high : SHADER_ID_COMPILE error has been generated. GLSL compile failed for shader 24, "": ERROR: 2:442: 'function' : is removed in Forward Compatible context texture2D
ERROR: 2:442: 'texture2D' : no matching overloaded function found (using implicit conversion)
ERROR: 2:442: 'texture2D' : function is not known
ERROR: 2:441: '=' : cannot convert from 'const highp float' to '4-component vector of highp float'


2020.10.15 17:03:41:785 [NOESIS] Shader compilation failed: ERROR: 2:442: 'function' : is removed in Forward Compatible context texture2D
ERROR: 2:442: 'texture2D' : no matching overloaded function found (using implicit conversion)
ERROR: 2:442: 'texture2D' : function is not known
ERROR: 2:441: '=' : cannot convert from 'const highp float' to '4-component vector of highp float'