diff --git a/bin/resources/shaders/opengl/convert.glsl b/bin/resources/shaders/opengl/convert.glsl index 826766392f..1382324857 100644 --- a/bin/resources/shaders/opengl/convert.glsl +++ b/bin/resources/shaders/opengl/convert.glsl @@ -233,7 +233,7 @@ void ps_convert_rgba_8i() if (floor(PS_SCALE_FACTOR) != PS_SCALE_FACTOR) coord = uvec2(vec2(coord) * PS_SCALE_FACTOR); else - coord *= PS_SCALE_FACTOR; + coord *= uvec2(PS_SCALE_FACTOR); vec4 pixel = texelFetch(TextureSampler, ivec2(coord), 0); vec2 sel0 = (pos.y & 2u) == 0u ? pixel.rb : pixel.ga; diff --git a/bin/resources/shaders/vulkan/convert.glsl b/bin/resources/shaders/vulkan/convert.glsl index 2f78ee9674..8dc471c6ca 100644 --- a/bin/resources/shaders/vulkan/convert.glsl +++ b/bin/resources/shaders/vulkan/convert.glsl @@ -268,7 +268,7 @@ void ps_convert_rgba_8i() if (floor(PS_SCALE_FACTOR) != PS_SCALE_FACTOR) coord = uvec2(vec2(coord) * PS_SCALE_FACTOR); else - coord *= PS_SCALE_FACTOR; + coord *= uvec2(PS_SCALE_FACTOR); vec4 pixel = texelFetch(samp0, ivec2(coord), 0); vec2 sel0 = (pos.y & 2u) == 0u ? pixel.rb : pixel.ga; diff --git a/bin/resources/shaders/vulkan/present.glsl b/bin/resources/shaders/vulkan/present.glsl index 33cd93d690..74df27d7ad 100644 --- a/bin/resources/shaders/vulkan/present.glsl +++ b/bin/resources/shaders/vulkan/present.glsl @@ -1,7 +1,3 @@ -#ifndef PS_SCALE_FACTOR -#define PS_SCALE_FACTOR 1 -#endif - #ifdef VERTEX_SHADER layout(location = 0) in vec4 a_pos;