nicebyte / nicegraf

An abstraction layer for graphics APIs.
198 stars 13 forks source link

samples don't run on M1 macbook #145

Closed nicebyte closed 1 year ago

nicebyte commented 1 year ago

reported error message:

-[MTLTextureDescriptorInternal validateWithDevice:]:1344: failed assertion `Texture Descriptor Validation
MTLTextureDescriptor sampleCount (8) is not supported by device.

M1 gpus support only 4x MSAA. Drop down to 4x in samples on Apple platforms.

bennywwg commented 1 year ago

Addressed in pull request https://github.com/nicebyte/nicegraf/pull/146