metal: fix integer pixel formats not claiming support for sampling.

This commit is contained in:
Sasha Szpakowski
2024-04-13 16:48:22 -03:00
parent e1cad5500f
commit 4a0e24c415
+1 -1
View File
@@ -2027,7 +2027,7 @@ bool Graphics::isPixelFormatSupported(PixelFormat format, uint32 usage)
case PIXELFORMAT_RGBA32_INT:
case PIXELFORMAT_RGBA32_UINT:
// If MSAA support for int formats is added this should be split up.
flags |= rt | computewrite;
flags |= sample | rt | computewrite;
break;
case PIXELFORMAT_RGBA4_UNORM: