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

Method IsUnsigned64BitHandle

source/val/validation_state.cpp:1544–1548  ·  view source on GitHub ↗

Either a 32 bit 2-component uint vector or a 64 bit uint scalar

Source from the content-addressed store, hash-verified

1542
1543// Either a 32 bit 2-component uint vector or a 64 bit uint scalar
1544bool ValidationState_t::IsUnsigned64BitHandle(uint32_t id) const {
1545 return ((IsUnsignedIntScalarType(id) && GetBitWidth(id) == 64) ||
1546 (IsUnsignedIntVectorType(id) && GetDimension(id) == 2 &&
1547 GetBitWidth(id) == 32));
1548}
1549
1550bool ValidationState_t::IsCooperativeVectorNVType(uint32_t id) const {
1551 const Instruction* inst = FindDef(id);

Callers 2

ValidateShaderClockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected