GS/D3D: Fix X3206 CAS shader warning.

Warning X3206: implicit truncation of vector type warning fix.
This commit is contained in:
lightningterror 2023-12-15 13:29:05 +01:00
parent 0fd5db9f78
commit 96831b0970
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ void main(uint3 LocalThreadId : SV_GroupThreadID, uint3 WorkGroupId : SV_GroupID
#endif
// Filter.
AF3 c = (float4)0.0f;
AF3 c = (float3)0.0f;
CasFilter(c.r, c.g, c.b, gxy, const0, const1, sharpenOnly);
OutputTexture[ASU2(gxy)] = AF4(c, 1);

View File

@ -15,4 +15,4 @@
/// Version number for GS and other shaders. Increment whenever any of the contents of the
/// shaders change, to invalidate the cache.
static constexpr u32 SHADER_CACHE_VERSION = 36;
static constexpr u32 SHADER_CACHE_VERSION = 37;