metal: implement texture swizzling

This commit is contained in:
Samuliak
2025-03-11 08:35:35 +01:00
parent 2111c94f1e
commit 1a460d73be
4 changed files with 43 additions and 214 deletions

View File

@@ -29,6 +29,7 @@ namespace Metal {
Interval<u32> range;
PICA::PixelFormatInfo formatInfo;
MTL::Texture* base = nullptr;
MTL::Texture* texture = nullptr;
MTL::SamplerState* sampler = nullptr;