mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-06 19:45:33 +00:00
GPU/HW: Fix force-round-coords with texture cache
This commit is contained in:
parent
0ae4461fc3
commit
52389f48a6
@ -882,7 +882,7 @@ float4 SampleFromVRAM(TEXPAGE_VALUE texpage, float2 coords)
|
||||
float4 SampleFromPageTexture(float2 coords)
|
||||
{
|
||||
// Cached textures.
|
||||
#if UPSCALED == 0 || FORCE_ROUND_TEXCOORDS != 0
|
||||
#if UPSCALED == 0
|
||||
float2 fpart = coords - roundEven(coords);
|
||||
#else
|
||||
float2 fpart = frac(coords);
|
||||
|
@ -5,4 +5,4 @@
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
static constexpr u32 SHADER_CACHE_VERSION = 18;
|
||||
static constexpr u32 SHADER_CACHE_VERSION = 19;
|
||||
|
Loading…
x
Reference in New Issue
Block a user