GPU/HW: Fix force-round-coords with texture cache

This commit is contained in:
Stenzek 2024-10-05 13:06:29 +10:00
parent 0ae4461fc3
commit 52389f48a6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -5,4 +5,4 @@
#include "common/types.h"
static constexpr u32 SHADER_CACHE_VERSION = 18;
static constexpr u32 SHADER_CACHE_VERSION = 19;