- August 18, 2015 at 2:08 pm #49983
I have written a shader (for OpenGL ES 2.0) which uses texture2dLod API, but during compilation a error is popped up stating that “texture2DLod support is deprecated.” AFIK texture2dLod support should be available for shaders running on OpenGL ES 2.0 app. For somereason the dll do not have this functionality.
Can i get libraries with “texture2DLod” support or any other alternates ?
Platform : Windows
Version : 2.6August 18, 2015 at 2:25 pm #49984
Sorry, the message says “texture2DLod support is removed”August 18, 2015 at 3:04 pm #49985
Platform : Windows
Version : 2.6
Are you referring to PVRVFrame, our OpenGL ES emulator?August 18, 2015 at 3:14 pm #49986
Not the emulator, i am using the Builds from the SDK folder for my application . Basically i m using the simulator on Windows (sry forgot to mention this)August 24, 2015 at 10:04 am #50003
Not the emulator, i am using the Builds from the SDK folder for my application .
The libraries in the Build folder are the PVRVFrame libraries. We copy them there as part of our build.
We only recommend using the libraries in the Build directory to build against. Most of the libraries in this directory are shims and cannot be used to execute applications.
Can you share the PVRVFrame version number with us? This can be found through the Help–>Feedback dialog of the PVRVFrame GUI tool.
Can you also share a shader that exhibits the issue?August 24, 2015 at 4:45 pm #50004
PFB the shader
#extension GL_EXT_shader_texture_lod : require
attribute vec2 myUV;
uniform sampler2D sampler;
void main (void)
float lod = 0.0;
gl_FragColor = texture2DLodEXT (sampler, myUV, lod);
I ll share the version number laterSeptember 4, 2015 at 10:43 am #50147
I’ve discussed this issue with the PVRVFrame lead. It is a known bug that was fixed for our current SDK release (3.5). You can download the latest version of the PVRVFrame emulator through our SDK installer: https://community.imgtec.com/developers/powervr/installers/