mirror of https://github.com/PCSX2/pcsx2.git
GS/D3D: Fix X3206 CAS shader warning.
Warning X3206: implicit truncation of vector type warning fix.
This commit is contained in:
parent
0fd5db9f78
commit
96831b0970
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue