mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
rsx/vk: Fix unnormalized converted textures
This commit is contained in:
parent
8733505d0a
commit
86fa379c78
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace vk
|
||||||
case FUNCTION::FUNCTION_VERTEX_TEXTURE_FETCH2D:
|
case FUNCTION::FUNCTION_VERTEX_TEXTURE_FETCH2D:
|
||||||
return "textureLod($t, $0.xy, 0)";
|
return "textureLod($t, $0.xy, 0)";
|
||||||
case FUNCTION::FUNCTION_TEXTURE_SAMPLE2D_DEPTH_RGBA:
|
case FUNCTION::FUNCTION_TEXTURE_SAMPLE2D_DEPTH_RGBA:
|
||||||
return "texture2DReconstruct($t, $0.xy)";
|
return "texture2DReconstruct($t, $0.xy * texture_parameters[$_i].xy)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue