Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.0
-
None
Description
Using GLSL ES 100 shaders with GL_EXT_shader_texture_lod is not working on e.g. Adreno 615. We should rather use GLSL ES 300 where textureLod with a samplerCube would probably work. (as it's not an extension then but part of the core spec)
This is not a problem if the application follows the guidelines and sets a default surface format in main() as instructed. But if it doesn't we end up using GLSL ES 100 shaders which is not good here.
10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: Failed to compile shader: ERROR: 0:2: '' : GLSL error: extension 'GL_EXT_shader_texture_lod' is not supported 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: ERROR: 0:166: 'textureCubeLodEXT' : no matching overloaded function found 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: ERROR: 0:166: 'xyz' : field selection requires structure, vector, or matrix on left hand side 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: ERROR: 0:166: 'return' : function return is not matching type: 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: ERROR: 4 compilation errors. No code generated. 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: Source was: 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: #version 100 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: #extension GL_EXT_shader_texture_lod : require 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: precision highp float; 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: precision highp int; 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: struct LightSource 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: { 10-13 17:45:05.948 28959 29525 W libRoboticControlCenter_armeabi-v7a.so: vec4 position; ...