diff options
Diffstat (limited to 'source/validate_bitwise.cpp')
-rw-r--r-- | source/validate_bitwise.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/validate_bitwise.cpp b/source/validate_bitwise.cpp index 63e7d0d7..cd00cd69 100644 --- a/source/validate_bitwise.cpp +++ b/source/validate_bitwise.cpp @@ -22,6 +22,7 @@ #include "val/validation_state.h" namespace spvtools { +namespace val { namespace { // Returns operand word for given instruction and operand index. @@ -41,6 +42,7 @@ inline uint32_t GetOperandTypeId(ValidationState_t& _, size_t operand_index) { return _.GetTypeId(GetOperandWord(inst, operand_index)); } + } // namespace // Validates correctness of bitwise instructions. @@ -235,4 +237,5 @@ spv_result_t BitwisePass(ValidationState_t& _, return SPV_SUCCESS; } +} // namespace val } // namespace spvtools |