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

Function GetSizeTBitWidth

source/val/validate_extensions.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55uint32_t GetSizeTBitWidth(const ValidationState_t& _) {
56 if (_.addressing_model() == spv::AddressingModel::Physical32) return 32;
57
58 if (_.addressing_model() == spv::AddressingModel::Physical64) return 64;
59
60 return 0;
61}
62
63bool IsIntScalar(ValidationState_t& _, uint32_t id, bool must_len32,
64 bool must_unsigned) {

Callers 1

ValidateExtInstOpenClStdFunction · 0.85

Calls 1

addressing_modelMethod · 0.80

Tested by

no test coverage detected