mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
rsx/glsl: Fixup
This commit is contained in:
parent
43b267ea51
commit
49c84f099a
@ -954,7 +954,7 @@ namespace glsl
|
||||
" else if (actual_step.x < uv_step.x)\n"
|
||||
" {\n"
|
||||
" // Upscale in X\n"
|
||||
" factor = frac(normalized_coords.x * image_size.x);\n"
|
||||
" factor = fract(normalized_coords.x * image_size.x);\n"
|
||||
" a = mix(sample0, sample1, factor);\n"
|
||||
" b = mix(sample2, sample3, factor);\n"
|
||||
" }\n"
|
||||
@ -974,7 +974,7 @@ namespace glsl
|
||||
" else if (actual_step.y < uv_step.y)\n"
|
||||
" {\n"
|
||||
" // Upscale in Y\n"
|
||||
" factor = frac(normalized_coords.y * image_size.y);\n"
|
||||
" factor = fract(normalized_coords.y * image_size.y);\n"
|
||||
" return mix(a, b, factor);\n"
|
||||
" }\n"
|
||||
" else\n"
|
||||
|
Loading…
Reference in New Issue
Block a user