Merge pull request #12420 from OatmealDome/mtl-oob

MTLStateTracker: Increase fragment buffer array size to 3
This commit is contained in:
OatmealDome 2023-12-15 17:12:31 -05:00 committed by GitHub
commit c159e4fb7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ private:
NSString* label;
id<MTLRenderPipelineState> pipeline;
std::array<id<MTLBuffer>, 2> vertex_buffers;
std::array<id<MTLBuffer>, 2> fragment_buffers;
std::array<id<MTLBuffer>, 3> fragment_buffers;
u32 width;
u32 height;
MathUtil::Rectangle<int> scissor_rect;