mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix a issue in the texture conversion shaders that was multiplying an integer with a float.
This commit is contained in:
parent
fec641d14a
commit
6194234a54
@ -246,7 +246,7 @@ void WriteSampleColor(char*& p, const char* colorComp, const char* dest, API_TYP
|
||||
else
|
||||
texSampleIncrementUnit = I_COLORS"[0].x";
|
||||
|
||||
WRITE(p, " %s = %s(samp0, sampleUv + float2(%d * (%s), 0)).%s;\n",
|
||||
WRITE(p, " %s = %s(samp0, sampleUv + float2(%d.0f * (%s), 0)).%s;\n",
|
||||
dest, texSampleOpName, s_incrementSampleXCount, texSampleIncrementUnit, colorComp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user