mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GLES: Specify unsigned shift for Adreno bug.
Adreno 320 devices, and at least 1 Intel device, are complaining that right shift can't be used within uint/int. Possibly related to: https://github.com/KhronosGroup/glslang/issues/1296
This commit is contained in:
parent
b13c5fbe5d
commit
0b245699bb
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void GenerateDepalShader300(char *buffer, GEBufferFormat pixelFormat, ShaderLang
|
|||
texturePixels = 512;
|
||||
|
||||
if (shift) {
|
||||
WRITE(p, " index = (int(uint(index) >> %i) & 0x%02x)", shift, mask);
|
||||
WRITE(p, " index = (int(uint(index) >> uint(%i)) & 0x%02x)", shift, mask);
|
||||
} else {
|
||||
WRITE(p, " index = (index & 0x%02x)", mask);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue