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:
Bill Hollings 2017-10-02 18:13:08 -04:00
parent bd021395f0
commit 44347caff1
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -13,5 +13,6 @@
*.opensdf *.opensdf
*.shader *.shader
*.a *.a
*.bc
!CMakeLists.txt !CMakeLists.txt

View File

@ -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.