mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +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"
|
" else if (actual_step.x < uv_step.x)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" // Upscale in X\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"
|
" a = mix(sample0, sample1, factor);\n"
|
||||||
" b = mix(sample2, sample3, factor);\n"
|
" b = mix(sample2, sample3, factor);\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
@ -974,7 +974,7 @@ namespace glsl
|
|||||||
" else if (actual_step.y < uv_step.y)\n"
|
" else if (actual_step.y < uv_step.y)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" // Upscale in Y\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"
|
" return mix(a, b, factor);\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
" else\n"
|
" else\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user