diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h b/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h index 7b41ae27b25..acc64cd2d16 100644 --- a/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h +++ b/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/constants.h @@ -642,6 +642,9 @@ class ConstantManager { // Returns the id of a 32-bit signed integer constant with value |val|. uint32_t GetSIntConst(int32_t val); + // Returns the id of a 32-bit unsigned integer constant with value |val|. + uint32_t GetUIntConst(uint32_t val); + private: // Creates a Constant instance with the given type and a vector of constant // defining words. Returns a unique pointer to the created Constant instance |