mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Tweak MTL type declarations in metal-cpp.h
Changes to make metal-cpp options work nicely with RenderDoc serialization _MTL_OPTIONS -> _NS_ENUM RenderDoc serialization works with fixed sized types
This commit is contained in:
committed by
Baldur Karlsson
parent
53e17c72d4
commit
0d852ae6f2
@@ -2376,7 +2376,7 @@ _NS_INLINE const char* NS::URL::fileSystemRepresentation() const
|
||||
|
||||
#define _MTL_CONST(type, name) _NS_CONST(type, name)
|
||||
#define _MTL_ENUM(type, name) _NS_ENUM(type, name)
|
||||
#define _MTL_OPTIONS(type, name) _NS_OPTIONS(type, name)
|
||||
#define _MTL_OPTIONS(type, name) _NS_ENUM(type, name)
|
||||
|
||||
#define _MTL_VALIDATE_SIZE(ns, name) _NS_VALIDATE_SIZE(ns, name)
|
||||
#define _MTL_VALIDATE_ENUM(ns, name) _NS_VALIDATE_ENUM(ns, name)
|
||||
|
||||
Reference in New Issue
Block a user