Searched refs:clampedIndex (Results 1 – 2 of 2) sorted by relevance
359 ArgumentInfo(const BlockMemberInfo& b, const TType& t, int clampedIndex, int bufferIndex) : in ArgumentInfo()360 typedMemberInfo(b, t), clampedIndex(clampedIndex), bufferIndex(bufferIndex) {} in ArgumentInfo()362 int clampedIndex; member
2350 argumentInfo.clampedIndex = index; in getArgumentInfo()2355 int bufferOffset = argumentInfo.clampedIndex / blockRegisters; in getArgumentInfo()2357 argumentInfo.clampedIndex -= bufferOffset * blockRegisters; in getArgumentInfo()2361 for(int i = regIndex + argumentInfo.clampedIndex; i >= regIndex; --i) in getArgumentInfo()2366 argumentInfo.clampedIndex -= (i - regIndex); in getArgumentInfo()2375 …argumentInfo.clampedIndex = (argumentInfo.clampedIndex >= registerCount) ? registerCount - 1 : arg… in getArgumentInfo()2379 …argumentInfo.clampedIndex = (index >= arg->totalRegisterCount()) ? arg->totalRegisterCount() - 1 :… in getArgumentInfo()2401 …ASSERT(argumentInfo.clampedIndex < (memberType.isArray() ? memberType.getArraySize() : 1)); // ind… in source()2409 …instruction->src[0].index = argumentInfo.typedMemberInfo.offset + argumentInfo.clampedIndex * argu… in source()2421 …ASSERT(argumentInfo.clampedIndex < (numCols * (memberType.isArray() ? memberType.getArraySize() : … in source()[all …]