Home
last modified time | relevance | path

Searched refs:idPos (Results 1 – 2 of 2) sorted by relevance

/third_party/glslang/SPIRV/
DSPVRemapper.cpp135 const unsigned typeStart = idPos(id); in typeSizeInWords()
1298 unsigned spirvbin_t::idPos(spv::Id id) const in idPos() function in spv::spirvbin_t
1322 return 6 + hashType(idPos(spv[typeStart+2])) * (spv[typeStart+3] - 1); in hashType()
1324 return 30 + hashType(idPos(spv[typeStart+2])) * (spv[typeStart+3] - 1); in hashType()
1326 return 120 + hashType(idPos(spv[typeStart+2])) + in hashType()
1337 return 501 + hashType(idPos(spv[typeStart+2])) * spv[typeStart+3]; in hashType()
1339 return 5000 + hashType(idPos(spv[typeStart+2])); in hashType()
1344 hash += w * hashType(idPos(spv[typeStart+w])); in hashType()
1349 case spv::OpTypePointer: return 100000 + hashType(idPos(spv[typeStart+3])); in hashType()
1354 hash += w * hashType(idPos(spv[typeStart+w])); in hashType()
[all …]
DSPVRemapper.h196 unsigned idPos(spv::Id id) const;