Lines Matching refs:argumentInfo
2331 ArgumentInfo argumentInfo(BlockMemberInfo::getDefaultBlockInfo(), type, -1, -1); in getArgumentInfo() local
2334 argumentInfo.bufferIndex = 0; in getArgumentInfo()
2338 argumentInfo.bufferIndex += blockArraySize > 0 ? blockArraySize : 1; in getArgumentInfo()
2346 argumentInfo.clampedIndex = index; in getArgumentInfo()
2351 int bufferOffset = argumentInfo.clampedIndex / blockRegisters; in getArgumentInfo()
2352 argumentInfo.bufferIndex += bufferOffset; in getArgumentInfo()
2353 argumentInfo.clampedIndex -= bufferOffset * blockRegisters; in getArgumentInfo()
2357 for(int i = regIndex + argumentInfo.clampedIndex; i >= regIndex; --i) in getArgumentInfo()
2362 argumentInfo.clampedIndex -= (i - regIndex); in getArgumentInfo()
2368 argumentInfo.typedMemberInfo = it->second; in getArgumentInfo()
2370 int registerCount = argumentInfo.typedMemberInfo.type.totalRegisterCount(); in getArgumentInfo()
2371 …argumentInfo.clampedIndex = (argumentInfo.clampedIndex >= registerCount) ? registerCount - 1 : arg… in getArgumentInfo()
2375 …argumentInfo.clampedIndex = (index >= arg->totalRegisterCount()) ? arg->totalRegisterCount() - 1 :… in getArgumentInfo()
2378 return argumentInfo; in getArgumentInfo()
2392 const ArgumentInfo argumentInfo = getArgumentInfo(arg, index); in source() local
2393 const TType &memberType = argumentInfo.typedMemberInfo.type; in source()
2397 …ASSERT(argumentInfo.clampedIndex < (memberType.isArray() ? memberType.getArraySize() : 1)); // ind… in source()
2404 instruction->src[0].bufferIndex = argumentInfo.bufferIndex; in source()
2405 …instruction->src[0].index = argumentInfo.typedMemberInfo.offset + argumentInfo.clampedIndex * argu… in source()
2417 …ASSERT(argumentInfo.clampedIndex < (numCols * (memberType.isArray() ? memberType.getArraySize() : … in source()
2420 unsigned int srcSwizzle = (argumentInfo.clampedIndex % numCols) * 0x55; in source()
2421 int arrayIndex = argumentInfo.clampedIndex / numCols; in source()
2422 …int matrixStartOffset = argumentInfo.typedMemberInfo.offset + arrayIndex * argumentInfo.typedMembe… in source()
2432 instruction->src[0].bufferIndex = argumentInfo.bufferIndex; in source()
2433 instruction->src[0].index = matrixStartOffset + j * argumentInfo.typedMemberInfo.matrixStride; in source()
2444 const ArgumentInfo argumentInfo = getArgumentInfo(arg, index); in source() local
2445 const TType &type = argumentInfo.typedMemberInfo.type; in source()
2447 int size = registerSize(type, argumentInfo.clampedIndex); in source()
2450 parameter.bufferIndex = argumentInfo.bufferIndex; in source()
2454 int component = componentCount(type, argumentInfo.clampedIndex); in source()
2475 parameter.index = registerIndex(arg) + argumentInfo.clampedIndex; in source()
2479 …int stride = (argumentInfo.typedMemberInfo.matrixStride > 0) ? argumentInfo.typedMemberInfo.matrix… in source()
2480 parameter.index = argumentInfo.typedMemberInfo.offset + argumentInfo.clampedIndex * stride; in source()