• Home
  • Raw
  • Download

Lines Matching refs:blockNdx

239 		, blockNdx		(-1)  in UniformLayoutEntry()
250 int blockNdx; member
261 << ", blockNdx = " << entry.blockNdx in operator <<()
477 entry.blockNdx = curBlockNdx; in computeStd140Layout()
519 entry.blockNdx = curBlockNdx; in computeStd140Layout()
543 entry.blockNdx = curBlockNdx; in computeStd140Layout()
584 for (int blockNdx = 0; blockNdx < numUniformBlocks; blockNdx++) in computeStd140Layout() local
586 const UniformBlock& block = interface.getUniformBlock(blockNdx); in computeStd140Layout()
670 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() local
672 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues()
673 int numEntries = (int)layout.blocks[blockNdx].activeUniformIndices.size(); in generateValues()
677 …const UniformLayoutEntry& entry = layout.uniforms[layout.blocks[blockNdx].activeUniformIndices[ent… in generateValues()
1060 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateCompareSrc() local
1062 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateCompareSrc()
1109 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateVertexShader() local
1111 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateVertexShader()
1147 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateFragmentShader() local
1149 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateFragmentShader()
1182 for (int blockNdx = 0; blockNdx < numActiveBlocks; blockNdx++) in getGLUniformLayout() local
1184 BlockLayoutEntry& entry = layout.blocks[blockNdx]; in getGLUniformLayout()
1189 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_DATA_SIZE, &size); in getGLUniformLayout()
1190 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout()
1191 …gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &numBloc… in getGLUniformLayout()
1197 …gl.getActiveUniformBlockName(program, (deUint32)blockNdx, (glw::GLsizei)nameBuf.size(), DE_NULL, &… in getGLUniformLayout()
1204 …gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, &… in getGLUniformLayout()
1260 entry.blockNdx = blockIndices[uniformNdx]; in getGLUniformLayout()
1419 for (int blockNdx = 0; blockNdx < (int)refLayout.blocks.size(); blockNdx++) in iterate() local
1421 blockPointers[blockNdx] = &data[0] + curOffset; in iterate()
1422 curOffset += refLayout.blocks[blockNdx].size; in iterate()
1452 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1453 log << TestLog::Message << blockNdx << ": " << glLayout.blocks[blockNdx] << TestLog::EndMessage; in iterate()
1484 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1486 deUint32 binding = (deUint32)blockNdx; // \todo [2012-01-25 pyry] Randomize order? in iterate()
1487 gl.uniformBlockBinding(program.getProgram(), (deUint32)blockNdx, binding); in iterate()
1500 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1502 glData[blockNdx].resize(glLayout.blocks[blockNdx].size); in iterate()
1503 glBlockPointers[blockNdx] = &glData[blockNdx][0]; in iterate()
1508 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1511 deUint32 binding = (deUint32)blockNdx; in iterate()
1514 …gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData[blockNdx].size(), &glData[blockNdx][0], G… in iterate()
1535 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1539 glBlockOffsets[blockNdx] = curOffset; in iterate()
1540 curOffset += glLayout.blocks[blockNdx].size; in iterate()
1548 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1549 glBlockPointers[blockNdx] = &glData[glBlockOffsets[blockNdx]]; in iterate()
1563 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1565 deUint32 binding = (deUint32)blockNdx; in iterate()
1566 …R, binding, buffer, (glw::GLintptr)glBlockOffsets[blockNdx], (glw::GLsizeiptr)glLayout.blocks[bloc… in iterate()
1584 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareStd140Blocks() local
1586 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareStd140Blocks()
1663 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareSharedBlocks() local
1665 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareSharedBlocks()
1737 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareTypes() local
1739 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareTypes()
1800 if (uniform.blockNdx < 0 || !deInBounds32(uniform.blockNdx, 0, numBlocks)) in checkLayoutIndices()
1808 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in checkLayoutIndices() local
1810 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkLayoutIndices()
1835 if (uniform.blockNdx < 0) in checkLayoutBounds()
1838 const BlockLayoutEntry& block = layout.blocks[uniform.blockNdx]; in checkLayoutBounds()
1877 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in checkIndexQueries() local
1879 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkIndexQueries()
1882 if (queriedNdx != blockNdx) in checkIndexQueries()
1884 …ndex(" << block.name << ") returned " << queriedNdx << ", expected " << blockNdx << "!" << TestLog… in checkIndexQueries()