mirror of https://github.com/PCSX2/pcsx2.git
GS-metal: Fix initialization shader warnings.
This commit is contained in:
parent
9b3d31cd47
commit
7791809224
|
@ -321,7 +321,7 @@ fragment float4 ps_yuv(ConvertShaderData data [[stage_in]], ConvertPSRes res,
|
||||||
constant GSMTLConvertPSUniform& uniform [[buffer(GSMTLBufferIndexUniforms)]])
|
constant GSMTLConvertPSUniform& uniform [[buffer(GSMTLBufferIndexUniforms)]])
|
||||||
{
|
{
|
||||||
float4 i = res.sample(data.t);
|
float4 i = res.sample(data.t);
|
||||||
float4 o;
|
float4 o = float4(0);
|
||||||
|
|
||||||
// Value from GS manual
|
// Value from GS manual
|
||||||
const float3x3 rgb2yuv =
|
const float3x3 rgb2yuv =
|
||||||
|
|
Loading…
Reference in New Issue