Lines Matching refs:buffer
226 // Create buffer data given an array of coordinates and an initial padding.
254 // Fill a section of the given buffer (from offset to offset+count) with repeating copies of the given data.
279 std::vector<deUint8> buffer;
280 buffer.resize(dataOffsetSz + coords.size() * sizeof(T) + trailingPaddingSz);
282 fillWithPattern(buffer.data(), 0u, dataOffsetSz, paddingPattern, patternSize);
287 new (&buffer[pos]) T(coord);
291 fillWithPattern(buffer.data(), pos, trailingPaddingSz, paddingPattern, patternSize);
293 return buffer;
335 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Block {");
471 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Block {");
769 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Block {");
951 declarations.push_back("layout(set=0, binding=1, std430) readonly buffer S0B1Block {");
954 declarations.push_back("layout(set=0, binding=3, std430) readonly buffer S0B3Block {");
957 declarations.push_back("layout(set=0, binding=4, std430) readonly buffer S0B5Block {");
1392 CMD_BUFFER_START = 0, // Set state at the start of the command buffer.
1882 // Offset and extra room after the vertex buffer data.
2602 // Returns true if the test needs an index buffer.
3570 << (fragAtomics ? "layout(set=" + fragSetIndex + ", binding=0, std430) buffer AtomicBlock { uint fragCounter; } counterBuffer;\n" : "")
3853 : buffer ()
3859 : buffer (other.buffer.release())
3864 BufferWithMemoryPtr buffer;
3877 void copyAndFlush(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::BufferWithMemory& buffer, size_t offset, const void* src, size_t size)
3879 auto& alloc = buffer.getAllocation();
4216 // Return true if the vertex buffer was bound.
4227 // When dynamically setting the vertex buffer stride, we cannot bind the vertex buffer in advance for some sequence
4248 buffers.push_back (vertBuffer.buffer->get());
4273 buffers.push_back (vertBuffer.buffer->get());
4301 // Create a full-size buffer but remember the data size and offset for it.
4305 bufferInfo.buffer = BufferWithMemoryPtr(new vk::BufferWithMemory(vkd, device, allocator, createInfo, vk::MemoryRequirement::HostVisible));
4310 // Copy the whole contents to the full buffer.
4311 copyAndFlush(vkd, device, *buffers.back().buffer, 0, bufferBytes.data(), de::dataSize(bufferBytes));
4656 // Vertex buffer.
4841 // Index buffer.
4852 // Fragment counter buffer.
4947 descBufferInfos.push_back(vk::makeDescriptorBufferInfo(vertBuffers[i].buffer->get(), vertBuffers[i].offset, vertBuffers[i].dataSize));
4952 descBufferInfosRev.push_back(vk::makeDescriptorBufferInfo(rvertBuffers[i].buffer->get(), rvertBuffers[i].offset, rvertBuffers[i].dataSize));
5932 // Command buffer.
5941 // Record command buffer.
5946 // Track in-advance vertex buffer binding.
6055 // Bind vertex buffer with static stride if needed and draw.
6185 // Generate reference color buffer.
6268 // Check storage buffer if used.
6458 // Dynamic state set after command buffer start
7431 // Dynamically enable writes to the depth buffer
7448 // Dynamically disable writes to the depth buffer
8348 // Clear depth buffer to 0.25f
8384 // Clear depth buffer to 0.25f
8464 config.clearDepthValue = 0.25f; // Clear depth buffer to 0.25.