Lines Matching refs:blockNdx
212 …: type(glu::TYPE_LAST), size(0), blockNdx(-1), offset(-1), arrayStride(-1), matrixStride(-1), isRo… in UniformLayoutEntry()
219 int blockNdx; member
229 << ", blockNdx = " << entry.blockNdx << ", offset = " << entry.offset in operator <<()
450 entry.blockNdx = curBlockNdx; in computeStd140Layout()
491 entry.blockNdx = curBlockNdx; in computeStd140Layout()
515 entry.blockNdx = curBlockNdx; in computeStd140Layout()
554 for (int blockNdx = 0; blockNdx < numUniformBlocks; blockNdx++) in computeStd140Layout() local
556 const UniformBlock& block = interface.getUniformBlock(blockNdx); in computeStd140Layout()
651 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() local
653 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues()
654 int numEntries = (int)layout.blocks[blockNdx].activeUniformIndices.size(); in generateValues()
658 …const UniformLayoutEntry& entry = layout.uniforms[layout.blocks[blockNdx].activeUniformIndices[ent… in generateValues()
986 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateCompareSrc() local
988 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateCompareSrc()
1040 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateVertexShader() local
1042 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateVertexShader()
1080 for (int blockNdx = 0; blockNdx < interface.getNumUniformBlocks(); blockNdx++) in generateFragmentShader() local
1082 const UniformBlock& block = interface.getUniformBlock(blockNdx); in generateFragmentShader()
1114 for (int blockNdx = 0; blockNdx < numActiveBlocks; blockNdx++) in getGLUniformLayout() local
1116 BlockLayoutEntry& entry = layout.blocks[blockNdx]; in getGLUniformLayout()
1121 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_DATA_SIZE, &size); in getGLUniformLayout()
1122 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout()
1123 …gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &numBloc… in getGLUniformLayout()
1129 …gl.getActiveUniformBlockName(program, (deUint32)blockNdx, (glw::GLsizei)nameBuf.size(), DE_NULL, &… in getGLUniformLayout()
1136 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, in getGLUniformLayout()
1202 entry.blockNdx = blockIndices[uniformNdx]; in getGLUniformLayout()
1365 for (int blockNdx = 0; blockNdx < (int)refLayout.blocks.size(); blockNdx++) in iterate() local
1367 blockPointers[blockNdx] = &data[0] + curOffset; in iterate()
1368 curOffset += refLayout.blocks[blockNdx].size; in iterate()
1399 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1400 log << TestLog::Message << blockNdx << ": " << glLayout.blocks[blockNdx] << TestLog::EndMessage; in iterate()
1431 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++) in iterate() local
1433 deUint32 binding = (deUint32)blockNdx; // \todo [2012-01-25 pyry] Randomize order? in iterate()
1434 gl.uniformBlockBinding(program.getProgram(), (deUint32)blockNdx, binding); in iterate()
1447 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1449 glData[blockNdx].resize(glLayout.blocks[blockNdx].size); in iterate()
1450 glBlockPointers[blockNdx] = &glData[blockNdx][0]; in iterate()
1455 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1458 deUint32 binding = (deUint32)blockNdx; in iterate()
1461 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData[blockNdx].size(), &glData[blockNdx][0], in iterate()
1481 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1485 glBlockOffsets[blockNdx] = curOffset; in iterate()
1486 curOffset += glLayout.blocks[blockNdx].size; in iterate()
1494 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1495 glBlockPointers[blockNdx] = &glData[glBlockOffsets[blockNdx]]; in iterate()
1510 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() local
1512 deUint32 binding = (deUint32)blockNdx; in iterate()
1513 gl.bindBufferRange(GL_UNIFORM_BUFFER, binding, buffer, (glw::GLintptr)glBlockOffsets[blockNdx], in iterate()
1514 (glw::GLsizeiptr)glLayout.blocks[blockNdx].size); in iterate()
1516 curOffset += glLayout.blocks[blockNdx].size; in iterate()
1533 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareStd140Blocks() local
1535 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareStd140Blocks()
1615 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareSharedBlocks() local
1617 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareSharedBlocks()
1690 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in compareTypes() local
1692 const UniformBlock& block = m_interface.getUniformBlock(blockNdx); in compareTypes()
1754 if (uniform.blockNdx < 0 || !deInBounds32(uniform.blockNdx, 0, numBlocks)) in checkLayoutIndices()
1763 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in checkLayoutIndices() local
1765 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkLayoutIndices()
1792 if (uniform.blockNdx < 0) in checkLayoutBounds()
1795 const BlockLayoutEntry& block = layout.blocks[uniform.blockNdx]; in checkLayoutBounds()
1840 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++) in checkIndexQueries() local
1842 const BlockLayoutEntry& block = layout.blocks[blockNdx]; in checkIndexQueries()
1845 if (queriedNdx != blockNdx) in checkIndexQueries()
1848 << ", expected " << blockNdx << "!" << TestLog::EndMessage; in checkIndexQueries()