GS-metal: Fix initialization shader warnings.

This commit is contained in:
lightningterror 2023-07-15 02:57:35 +02:00
parent 9b3d31cd47
commit 7791809224
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ fragment float4 ps_yuv(ConvertShaderData data [[stage_in]], ConvertPSRes res,
constant GSMTLConvertPSUniform& uniform [[buffer(GSMTLBufferIndexUniforms)]])
{
float4 i = res.sample(data.t);
float4 o;
float4 o = float4(0);
// Value from GS manual
const float3x3 rgb2yuv =