Skip to content

Commit

Permalink
GS:MTL: Fix a dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
TellowKrinkle committed Jan 8, 2022
1 parent d6b44f0 commit ffcc084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ static void setFnConstantI(MTLFunctionConstantValues* fc, unsigned int value, GS
pdesc.colorAttachments[0].pixelFormat = MTLPixelFormatR16Uint;
m_convert_pipeline_f2i[0] = MakePipeline(pdesc, vs_convert, ps_f2i, @"f2i_u16");
pdesc.colorAttachments[0].pixelFormat = MTLPixelFormatR32Uint;
m_convert_pipeline_f2i[0] = MakePipeline(pdesc, vs_convert, ps_f2i, @"f2i_u32");
m_convert_pipeline_f2i[1] = MakePipeline(pdesc, vs_convert, ps_f2i, @"f2i_u32");

pdesc.colorAttachments[0].pixelFormat = MTLPixelFormatRGBA8Unorm;
for (size_t i = 0; i < std::size(m_convert_pipeline_copy_mask); i++)
Expand Down

0 comments on commit ffcc084

Please sign in to comment.