• Home
  • Raw
  • Download

Lines Matching refs:blockNdx

238 		, blockNdx		(-1)  in UniformLayoutEntry()
249 int blockNdx; member
260 << ", blockNdx = " << entry.blockNdx in operator <<()
482 entry.blockNdx = curBlockNdx; in computeStd140Layout()
523 entry.blockNdx = curBlockNdx; in computeStd140Layout()
547 entry.blockNdx = curBlockNdx; in computeStd140Layout()
583 for (int blockNdx = 0; blockNdx < numUniformBlocks; blockNdx++) in computeStd140Layout() local
585 const UniformBlock& block = interface.getUniformBlock(blockNdx); in computeStd140Layout()
669 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() local
671 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues()
672 int numEntries = (int)layout.blocks[blockNdx].activeUniformIndices.size(); in generateValues()
676 …const UniformLayoutEntry& entry = layout.uniforms[layout.blocks[blockNdx].activeUniformIndices[ent… in generateValues()
1057 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateCompareSrc() local
1059 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateCompareSrc()
1106 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateVertexShader() local
1108 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateVertexShader()
1144 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateFragmentShader() local
1146 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateFragmentShader()
1179 for (int blockNdx = 0; blockNdx < numActiveBlocks; blockNdx++) in getGLUniformLayout() local
1181 BlockLayoutEntry& entry = layout.blocks[blockNdx]; in getGLUniformLayout()
1186 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_DATA_SIZE, &size); in getGLUniformLayout()
1187 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout()
1188 …gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &numBloc… in getGLUniformLayout()
1194 …gl.getActiveUniformBlockName(program, (deUint32)blockNdx, (glw::GLsizei)nameBuf.size(), DE_NULL, &… in getGLUniformLayout()
1201 …gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, &… in getGLUniformLayout()
1257 entry.blockNdx = blockIndices[uniformNdx]; in getGLUniformLayout()
1416 for (int blockNdx = 0; blockNdx < (int)refLayout.blocks.size(); blockNdx++) in iterate() local
1418 blockPointers[blockNdx] = &data[0] + curOffset; in iterate()
1419 curOffset += refLayout.blocks[blockNdx].size; in iterate()
1449 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1450 log << TestLog::Message << blockNdx << ": " << glLayout.blocks[blockNdx] << TestLog::EndMessage; in iterate()
1481 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1483 deUint32 binding = (deUint32)blockNdx; // \todo [2012-01-25 pyry] Randomize order? in iterate()
1484 gl.uniformBlockBinding(program.getProgram(), (deUint32)blockNdx, binding); in iterate()
1497 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1499 glData[blockNdx].resize(glLayout.blocks[blockNdx].size); in iterate()
1500 glBlockPointers[blockNdx] = &glData[blockNdx][0]; in iterate()
1505 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1508 deUint32 binding = (deUint32)blockNdx; in iterate()
1511 …gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData[blockNdx].size(), &glData[blockNdx][0], G… in iterate()
1532 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1536 glBlockOffsets[blockNdx] = curOffset; in iterate()
1537 curOffset += glLayout.blocks[blockNdx].size; in iterate()
1545 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1546 glBlockPointers[blockNdx] = &glData[glBlockOffsets[blockNdx]]; in iterate()
1560 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1562 deUint32 binding = (deUint32)blockNdx; in iterate()
1563 …R, binding, buffer, (glw::GLintptr)glBlockOffsets[blockNdx], (glw::GLsizeiptr)glLayout.blocks[bloc… in iterate()
1581 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareStd140Blocks() local
1583 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareStd140Blocks()
1660 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareSharedBlocks() local
1662 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareSharedBlocks()
1734 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareTypes() local
1736 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareTypes()
1797 if (uniform.blockNdx < 0 || !deInBounds32(uniform.blockNdx, 0, numBlocks)) in checkLayoutIndices()
1805 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in checkLayoutIndices() local
1807 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkLayoutIndices()
1832 if (uniform.blockNdx < 0) in checkLayoutBounds()
1835 const BlockLayoutEntry& block = layout.blocks[uniform.blockNdx]; in checkLayoutBounds()
1874 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in checkIndexQueries() local
1876 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkIndexQueries()
1879 if (queriedNdx != blockNdx) in checkIndexQueries()
1881 …ndex(" << block.name << ") returned " << queriedNdx << ", expected " << blockNdx << "!" << TestLog… in checkIndexQueries()