mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
GLSL-ES doesn't allow implicit int/uint conversions
This commit is contained in:
parent
11976526d1
commit
f23dd992dd
@ -1281,7 +1281,7 @@ static const std::map<TextureFormat, DecodingShaderInfo> s_decoding_shader_info{
|
||||
void main()
|
||||
{
|
||||
uvec2 uv = gl_GlobalInvocationID.xy;
|
||||
int buffer_pos = int(u_src_offset + (uv.y * u_src_row_stride) + (uv.x / 2));
|
||||
int buffer_pos = int(u_src_offset + (uv.y * u_src_row_stride) + (uv.x / 2u));
|
||||
vec4 yuyv = texelFetch(s_input_buffer, buffer_pos);
|
||||
|
||||
float y = mix(yuyv.r, yuyv.b, (uv.x & 1u) == 1u);
|
||||
|
Loading…
x
Reference in New Issue
Block a user