Lines Matching refs:argumentInfo
2335 ArgumentInfo argumentInfo(BlockMemberInfo::getDefaultBlockInfo(), type, -1, -1); in getArgumentInfo() local
2338 argumentInfo.bufferIndex = 0; in getArgumentInfo()
2342 argumentInfo.bufferIndex += blockArraySize > 0 ? blockArraySize : 1; in getArgumentInfo()
2350 argumentInfo.clampedIndex = index; in getArgumentInfo()
2355 int bufferOffset = argumentInfo.clampedIndex / blockRegisters; in getArgumentInfo()
2356 argumentInfo.bufferIndex += bufferOffset; 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()
2372 argumentInfo.typedMemberInfo = it->second; in getArgumentInfo()
2374 int registerCount = argumentInfo.typedMemberInfo.type.totalRegisterCount(); in getArgumentInfo()
2375 …argumentInfo.clampedIndex = (argumentInfo.clampedIndex >= registerCount) ? registerCount - 1 : arg… in getArgumentInfo()
2379 …argumentInfo.clampedIndex = (index >= arg->totalRegisterCount()) ? arg->totalRegisterCount() - 1 :… in getArgumentInfo()
2382 return argumentInfo; in getArgumentInfo()
2396 const ArgumentInfo argumentInfo = getArgumentInfo(arg, index); in source() local
2397 const TType &memberType = argumentInfo.typedMemberInfo.type; in source()
2401 …ASSERT(argumentInfo.clampedIndex < (memberType.isArray() ? memberType.getArraySize() : 1)); // ind… in source()
2408 instruction->src[0].bufferIndex = argumentInfo.bufferIndex; 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()
2424 unsigned int srcSwizzle = (argumentInfo.clampedIndex % numCols) * 0x55; in source()
2425 int arrayIndex = argumentInfo.clampedIndex / numCols; in source()
2426 …int matrixStartOffset = argumentInfo.typedMemberInfo.offset + arrayIndex * argumentInfo.typedMembe… in source()
2436 instruction->src[0].bufferIndex = argumentInfo.bufferIndex; in source()
2437 instruction->src[0].index = matrixStartOffset + j * argumentInfo.typedMemberInfo.matrixStride; in source()
2448 const ArgumentInfo argumentInfo = getArgumentInfo(arg, index); in source() local
2449 const TType &type = argumentInfo.typedMemberInfo.type; in source()
2451 int size = registerSize(type, argumentInfo.clampedIndex); in source()
2454 parameter.bufferIndex = argumentInfo.bufferIndex; in source()
2458 int component = componentCount(type, argumentInfo.clampedIndex); in source()
2479 parameter.index = registerIndex(arg) + argumentInfo.clampedIndex; in source()
2483 …int stride = (argumentInfo.typedMemberInfo.matrixStride > 0) ? argumentInfo.typedMemberInfo.matrix… in source()
2484 parameter.index = argumentInfo.typedMemberInfo.offset + argumentInfo.clampedIndex * stride; in source()