C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
When I use “imageLoad” or “imageSize” to access a image uniform, opengles report this error:
(2208) PVR:(Error): IsTextureConsistent: Texture and sampler are not consistent [ :4797 ]
Repro steps
Here are my glsl and c code:
Environment
SDK version:opengl es 3.2
Operating System/Device: Linux - ARM - PowerVR Rogue 8XE GE8430
It is because I forgot to set the filtering mode with “glTexParameteri”.
If the filtering mode was not set, the program can still work on x86_64, but not on ARM64.
Description
When I use “imageLoad” or “imageSize” to access a image uniform, opengles report this error: (2208) PVR:(Error): IsTextureConsistent: Texture and sampler are not consistent [ :4797 ]
Repro steps
Here are my glsl and c code:![image](https://user-images.githubusercontent.com/23288579/132094654-47a5dea2-1d56-4bd4-b750-a95def571ca8.png)
Environment
Additional Info
Anyone knows why this error happened?