MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / ValidateBitReverse

Function ValidateBitReverse

source/val/validate_bitwise.cpp:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196spv_result_t ValidateBitReverse(ValidationState_t& _, const Instruction* inst) {
197 const uint32_t base_type = _.GetOperandTypeId(inst, 2);
198 if (spv_result_t error = ValidateBaseType(_, inst, base_type)) {
199 return error;
200 }
201 return SPV_SUCCESS;
202}
203
204spv_result_t ValidateBitCount(ValidationState_t& _, const Instruction* inst) {
205 const spv::Op opcode = inst->opcode();

Callers 1

BitwisePassFunction · 0.85

Calls 2

ValidateBaseTypeFunction · 0.85
GetOperandTypeIdMethod · 0.80

Tested by

no test coverage detected