Lines Matching refs:blockNdx
161 , blockNdx (-1) in BufferVarLayoutEntry()
174 int blockNdx; member
193 << ", blockNdx = " << entry.blockNdx in operator <<()
487 entry.blockNdx = curBlockNdx; in computeReferenceLayout()
525 entry.blockNdx = curBlockNdx; in computeReferenceLayout()
549 entry.blockNdx = curBlockNdx; in computeReferenceLayout()
613 entry.blockNdx = curBlockNdx; in computeReferenceLayout()
641 entry.blockNdx = curBlockNdx; in computeReferenceLayout()
685 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() local
687 const BufferBlock& block = interface.getBlock(blockNdx); in computeReferenceLayout()
783 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() local
785 const BlockLayoutEntry& blockLayout = layout.blocks[blockNdx]; in generateValues()
786 const BlockDataPtr& blockPtr = blockPointers[blockNdx]; in generateValues()
787 const int numEntries = (int)layout.blocks[blockNdx].activeVarIndices.size(); in generateValues()
1181 const int blockNdx = layout.getBlockIndex(instanceName); in generateCompareSrc() local
1182 const BlockDataPtr& blockPtr = blockPointers[blockNdx]; in generateCompareSrc()
1264 const int blockNdx = layout.getBlockIndex(instanceName); in generateWriteSrc() local
1265 const BlockDataPtr& blockPtr = blockPointers[blockNdx]; in generateWriteSrc()
1303 for (int blockNdx = 0; blockNdx < interface.getNumBlocks(); blockNdx++) in generateComputeShader() local
1305 const BufferBlock& block = interface.getBlock(blockNdx); in generateComputeShader()
1360 for (int blockNdx = 0; blockNdx < numActiveBlocks; blockNdx++) in getGLBufferLayout() local
1362 BlockLayoutEntry& entry = layout.blocks[blockNdx]; in getGLBufferLayout()
1370 …gl.getProgramResourceiv(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, DE_LENGTH_OF_ARRAY(q… in getGLBufferLayout()
1387 …gl.getProgramResourceiv(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, 1, &queryArg, numBlo… in getGLBufferLayout()
1401 …gl.getProgramResourceName(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, (glw::GLsizei)name… in getGLBufferLayout()
1446 entry.blockNdx = returnValues[0]; in getGLBufferLayout()
1625 const int blockNdx = layout.getBlockIndex(instanceName); in copyNonWrittenData() local
1626 const BlockDataPtr& srcBlockPtr = srcPtrs[blockNdx]; in copyNonWrittenData()
1627 const BlockDataPtr& dstBlockPtr = dstPtrs[blockNdx]; in copyNonWrittenData()
1875 const int blockNdx = layout.getBlockIndex(apiName); in computeBufferSizes() local
1877 if (blockNdx >= 0) in computeBufferSizes()
1879 const BlockLayoutEntry& blockLayout = layout.blocks[blockNdx]; in computeBufferSizes()
1885 sizes[blockNdx] = baseSize + lastArraySize*stride; in computeBufferSizes()
1958 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in initRefDataStorage() local
1960 const BlockLayoutEntry& blockLayout = layout.blocks[blockNdx]; in initRefDataStorage()
1961 const int bufferSize = bufferSizes[blockNdx]; in initRefDataStorage()
1963 …storage.pointers[blockNdx] = getBlockDataPtr(layout, blockLayout, basePtr + curOffset, bufferSize); in initRefDataStorage()
1976 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in blockLocationsToPtrs() local
1978 const BlockLayoutEntry& blockLayout = layout.blocks[blockNdx]; in blockLocationsToPtrs()
1979 const BlockLocation& location = blockLocations[blockNdx]; in blockLocationsToPtrs()
1981 …blockPtrs[blockNdx] = getBlockDataPtr(layout, blockLayout, (deUint8*)bufPtrs[location.index] + loc… in blockLocationsToPtrs()
2137 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
2138 log << TestLog::Message << blockNdx << ": " << glLayout.blocks[blockNdx] << TestLog::EndMessage; in iterate()
2178 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
2180 const int bufferSize = bufferSizes[blockNdx]; in iterate()
2182 buffers[blockNdx].size = bufferSize; in iterate()
2183 blockLocations[blockNdx] = BlockLocation(blockNdx, 0, bufferSize); in iterate()
2198 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
2200 const int bufferSize = bufferSizes[blockNdx]; in iterate()
2205 blockLocations[blockNdx] = BlockLocation(0, curOffset, bufferSize); in iterate()
2293 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareStdBlocks() local
2295 const BufferBlock& block = m_interface.getBlock(blockNdx); in compareStdBlocks()
2369 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareSharedBlocks() local
2371 const BufferBlock& block = m_interface.getBlock(blockNdx); in compareSharedBlocks()
2439 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareTypes() local
2441 const BufferBlock& block = m_interface.getBlock(blockNdx); in compareTypes()
2513 if (bufVar.blockNdx < 0 || !deInBounds32(bufVar.blockNdx, 0, numBlocks)) in checkLayoutIndices()
2521 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in checkLayoutIndices() local
2523 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkLayoutIndices()
2548 if (var.blockNdx < 0 || isUnsizedArray(var)) in checkLayoutBounds()
2551 const BlockLayoutEntry& block = layout.blocks[var.blockNdx]; in checkLayoutBounds()
2594 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in checkIndexQueries() local
2596 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkIndexQueries()
2599 if (queriedNdx != blockNdx) in checkIndexQueries()
2601 …ndex(" << block.name << ") returned " << queriedNdx << ", expected " << blockNdx << "!" << TestLog… in checkIndexQueries()