Lines Matching refs:size

131 		: size(0)
136 int size;
143 << ", size = " << entry.size
219 for (int ndx = 0; ndx < (int)bufferVars.size(); ndx++)
229 for (int ndx = 0; ndx < (int)blocks.size(); ndx++)
254 m_structs.reserve(m_structs.size()+1);
288 m_bufferBlocks.reserve(m_bufferBlocks.size()+1);
298 int size; //!< Redundant, for debugging purposes.
303 , size (size_)
310 , size (0)
321 for (int ndx = 0; ndx < (int)layout.blocks.size(); ndx++)
663 const int firstChildNdx = (int)layout.bufferVars.size();
666 for (int childNdx = firstChildNdx; childNdx < (int)layout.bufferVars.size(); childNdx++)
691 int activeBlockNdx = (int)layout.blocks.size();
692 int firstVarNdx = (int)layout.bufferVars.size();
700 int varIndicesEnd = (int)layout.bufferVars.size();
712 blockEntry.size = blockSize;
779 const int numBlocks = (int)layout.blocks.size();
781 DE_ASSERT(numBlocks == (int)blockPointers.size());
787 const int numEntries = (int)layout.blocks[blockNdx].activeVarIndices.size();
1108 const int topLevelNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.front().index : 0;
1377 entry.size = returnValues[0];
1401 gl.getProgramResourceName(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, (glw::GLsizei)name.size(), &retLen, &name[0]);
1464 gl.getProgramResourceName(program, GL_BUFFER_VARIABLE, (deUint32)bufVarNdx, (glw::GLsizei)name.size(), &retLen, &name[0]);
1527 DE_ASSERT((deIntptr)(srcCompPtr + compSize) - (deIntptr)srcBlockPtr.ptr <= (deIntptr)srcBlockPtr.size);
1528 DE_ASSERT((deIntptr)(dstCompPtr + compSize) - (deIntptr)dstBlockPtr.ptr <= (deIntptr)dstBlockPtr.size);
1535 DE_ASSERT((deIntptr)(srcElemPtr + scalarSize*compSize) - (deIntptr)srcBlockPtr.ptr <= (deIntptr)srcBlockPtr.size);
1536 DE_ASSERT((deIntptr)(dstElemPtr + scalarSize*compSize) - (deIntptr)dstBlockPtr.ptr <= (deIntptr)dstBlockPtr.size);
1546 int numBlocks = (int)srcLayout.blocks.size();
1556 DE_ASSERT(de::inBounds(dstBlockNdx, 0, (int)dstBlockPointers.size()));
1738 DE_ASSERT((deIntptr)(refCompPtr + compSize) - (deIntptr)refBlockPtr.ptr <= (deIntptr)refBlockPtr.size);
1739 DE_ASSERT((deIntptr)(resCompPtr + compSize) - (deIntptr)resBlockPtr.ptr <= (deIntptr)resBlockPtr.size);
1762 DE_ASSERT((deIntptr)(refElemPtr + scalarSize*compSize) - (deIntptr)refBlockPtr.ptr <= (deIntptr)refBlockPtr.size);
1763 DE_ASSERT((deIntptr)(resElemPtr + scalarSize*compSize) - (deIntptr)resBlockPtr.ptr <= (deIntptr)resBlockPtr.size);
1793 const int numBlocks = (int)refLayout.blocks.size();
1804 DE_ASSERT(de::inBounds(resBlockNdx, 0, (int)resBlockPointers.size()));
1832 // For checking whether size has to be adjusted by some top-level array actual size,
1864 vector<int> sizes(layout.blocks.size());
1880 const int baseSize = blockLayout.size;
1896 const int baseSize = blockLayout.size;
1920 int size;
1922 Buffer (deUint32 buffer_, int size_) : buffer(buffer_), size(size_) {}
1923 Buffer (void) : buffer(0), size(0) {}
1930 int size;
1932 BlockLocation (int index_, int offset_, int size_) : index(index_), offset(offset_), size(size_) {}
1933 BlockLocation (void) : index(0), offset(0), size(0) {}
1953 DE_ASSERT(bufferSizes.size() == layout.blocks.size());
1956 storage.pointers.resize(layout.blocks.size());
1958 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++)
1972 vector<BlockDataPtr> blockPtrs(blockLocations.size());
1974 DE_ASSERT(layout.blocks.size() == blockLocations.size());
1976 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++)
1981 blockPtrs[blockNdx] = getBlockDataPtr(layout, blockLayout, (deUint8*)bufPtrs[location.index] + location.offset, location.size);
1989 vector<void*> mapPtrs(buffers.size(), DE_NULL);
1993 for (int ndx = 0; ndx < (int)buffers.size(); ndx++)
1995 if (buffers[ndx].size > 0)
1998 mapPtrs[ndx] = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, buffers[ndx].size, access);
2010 for (int ndx = 0; ndx < (int)buffers.size(); ndx++)
2025 for (int ndx = 0; ndx < (int)buffers.size(); ndx++)
2027 if (buffers[ndx].size > 0)
2063 m_renderCtx.getFunctions().deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]);
2070 m_buffers.reserve(m_buffers.size()+1);
2137 for (int blockNdx = 0; blockNdx < (int)glLayout.blocks.size(); blockNdx++)
2143 for (int varNdx = 0; varNdx < (int)glLayout.bufferVars.size(); varNdx++)
2167 const int numBlocks = (int)glLayout.blocks.size();
2170 DE_ASSERT(bufferSizes.size() == glLayout.blocks.size());
2182 buffers[blockNdx].size = bufferSize;
2197 DE_ASSERT(bufferSizes.size() == glLayout.blocks.size());
2212 buffers[0].size = totalSize;
2215 for (int bufNdx = 0; bufNdx < (int)buffers.size(); bufNdx++)
2217 const int bufferSize = buffers[bufNdx].size;
2254 if (blockLoc.size > 0)
2255 gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, bindingPoint, buffers[blockLoc.index].buffer, blockLoc.offset, blockLoc.size);
2319 if (refBlockLayout.activeVarIndices.size() != cmpBlockLayout.activeVarIndices.size())
2322 << "' (expected " << refBlockLayout.activeVarIndices.size()
2323 << ", got " << cmpBlockLayout.activeVarIndices.size()
2393 if (refBlockLayout.activeVarIndices.size() != cmpBlockLayout.activeVarIndices.size())
2396 << "' (expected " << refBlockLayout.activeVarIndices.size()
2397 << ", got " << cmpBlockLayout.activeVarIndices.size()
2421 log << TestLog::Message << "Error: Type / array size mismatch in '" << refEntry.name << "':\n"
2485 log << TestLog::Message << "Error: Invalid array size in '" << refEntry.name << "': expected <= " << refEntry.arraySize << TestLog::EndMessage;
2491 log << TestLog::Message << "Error: Invalid top-level array size in '" << refEntry.name << "': expected <= " << refEntry.topLevelArraySize << TestLog::EndMessage;
2504 int numVars = (int)layout.bufferVars.size();
2505 int numBlocks = (int)layout.blocks.size();
2541 const int numVars = (int)layout.bufferVars.size();
2576 if (var.offset+minOffset < 0 || var.offset+maxOffset > block.size)
2594 for (int blockNdx = 0; blockNdx < (int)layout.blocks.size(); blockNdx++)
2629 throw tcu::TestError("ac_numPassed buffer size = 0");
2636 gl.bufferData(GL_ATOMIC_COUNTER_BUFFER, (glw::GLsizeiptr)emptyData.size(), &emptyData[0], GL_STATIC_READ);