Add *.bc to .gitignore to ignore Xcode 9 intermediate compiled shader files.
spirv_msl.hpp use numeric_limits instead of UINT32_MAX.
This commit is contained in:
parent
bd021395f0
commit
44347caff1
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,5 +13,6 @@
|
|||||||
*.opensdf
|
*.opensdf
|
||||||
*.shader
|
*.shader
|
||||||
*.a
|
*.a
|
||||||
|
*.bc
|
||||||
|
|
||||||
!CMakeLists.txt
|
!CMakeLists.txt
|
||||||
|
@ -63,7 +63,7 @@ using MSLStructMemberKey = uint64_t;
|
|||||||
|
|
||||||
// Special constant used in a MSLResourceBinding desc_set
|
// Special constant used in a MSLResourceBinding desc_set
|
||||||
// element to indicate the bindings for the push constants.
|
// element to indicate the bindings for the push constants.
|
||||||
static const uint32_t kPushConstDescSet = UINT32_MAX;
|
static const uint32_t kPushConstDescSet = std::numeric_limits<uint32_t>::max();
|
||||||
|
|
||||||
// Special constant used in a MSLResourceBinding binding
|
// Special constant used in a MSLResourceBinding binding
|
||||||
// element to indicate the bindings for the push constants.
|
// element to indicate the bindings for the push constants.
|
||||||
|
Loading…
Reference in New Issue
Block a user