Lines Matching refs:buffer

303 	Move<VkBuffer>					buffer;
309 // Create destination buffer
323 buffer = createBuffer(m_vkd, m_device, &bufferParams);
324 bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRequirement::HostVisible);
325 VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset()));
328 // Copy image to buffer
330 copyImageToBuffer(m_vkd, m_primaryCommandBuffers[0].get(), *m_colorImage, *buffer, tcu::IVec2(DEFAULT_IMAGE_SIZE.width, DEFAULT_IMAGE_SIZE.height));
335 // Read buffer data
479 // check if buffer has been executed
557 // Command buffer
598 // Command buffer
635 // Command buffer
676 // Command buffer
714 // Command buffer
725 // create event that will be used to check if secondary command buffer has been executed
731 // record primary command buffer
744 // check if buffer has been executed
774 // Command buffer
789 // record primary command buffer
802 // check if the buffer was executed correctly - all events had their status
842 // Command buffer
855 // Put the command buffer in recording state.
865 // Check if the buffer was executed
874 // Reset the command buffer by putting it in recording state again. This
875 // should empty the command buffer.
879 // Submit the command buffer after resetting. It should have no commands
1103 // Command buffer
1114 // create event that will be used to check if secondary command buffer has been executed
1117 // record primary command buffer
1125 return tcu::TestStatus::pass("Primary buffer recorded successfully.");
1144 // Command buffer
1155 // create event that will be used to check if secondary command buffer has been executed
1161 // record primary command buffer
1206 // Command buffer
1236 // create event that will be used to check if secondary command buffer has been executed
1239 // record primary command buffer
1247 return tcu::TestStatus::pass("Secondary buffer recorded successfully.");
1266 // Command buffer
1306 // create event that will be used to check if secondary command buffer has been executed
1312 // record primary command buffer
1315 // record secondary command buffer
1341 // execute secondary buffer
1367 // Command buffer
1378 // create event that will be used to check if secondary command buffer has been executed
1384 // record primary command buffer
1397 // check if buffer has been executed
1407 // check if buffer has been executed
1438 // Command buffer
1451 // Secondary Command buffer
1481 // create event that will be used to check if secondary command buffer has been executed
1487 // record first primary command buffer
1490 // record secondary command buffer
1503 // execute secondary buffer
1510 // check if secondary buffer has been executed
1515 // reset first primary buffer
1521 // record second primary command buffer
1524 // execute secondary buffer
1532 // check if secondary buffer has been executed
1561 // Command buffer
1572 // create event that will be used to check if secondary command buffer has been executed
1578 // record primary command buffer
1591 // check if buffer has been executed
1596 // record primary command buffer again - implicit reset because of VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT
1609 // check if buffer has been executed
1640 // Command buffer
1653 // Secondary Command buffer
1683 // create event that will be used to check if secondary command buffer has been executed
1689 // record first primary command buffer
1692 // record secondary command buffer
1705 // execute secondary buffer
1712 // check if secondary buffer has been executed
1717 // reset first primary buffer
1723 // record secondary command buffer again
1735 // record second primary command buffer
1738 // execute secondary buffer
1746 // check if secondary buffer has been executed
1827 // Command buffer
1838 // Secondary Command buffer params
1872 const Unique<VkBuffer> buffer(createDataBuffer(context, offset, addressableSize, 0x00, dataSize, 0x5A, &bufferMem));
1873 // Secondary command buffer will have a compute shader that does an atomic increment to make sure that all instances of secondary buffers execute
1876 const Unique<VkDescriptorSet> descriptorSet(createDescriptorSet(context, *descriptorPool, *descriptorSetLayout, *buffer, offset, result.getBuffer()));
1924 *buffer, // buffer
1931 // record secondary command buffer
1942 // end recording of secondary buffer
1945 // record primary command buffer
1948 // execute secondary buffer twice in same primary
1958 // check if secondary buffer has been executed
1983 // Command pool and command buffer.
1993 // The uniform buffer will not be used by the shader but is needed by auxiliar functions here.
1995 const Unique<VkBuffer> buffer(createDataBuffer(context, offset, addressableSize, 0x00, dataSize, 0x5A, &bufferMem));
1999 const Unique<VkDescriptorSet> descriptorSet (createDescriptorSet(context, *descriptorPool, *descriptorSetLayout, *buffer, offset, result.getBuffer()));
2042 *buffer, // buffer
2047 // Record command buffer and submit it.
2139 // Make sure the command buffer was run.
2143 msg << "Invalid value found in results buffer (expected value 1u but found " << resultCount << ")";
2168 // Command buffer
2177 // Two separate primary cmd buffers that will be executed with the same secondary cmd buffer
2185 // Secondary Command buffer params
2227 const Unique<VkBuffer> buffer(createDataBuffer(context, offset, addressableSize, 0x00, dataSize, 0x5A, &bufferMem));
2228 // Secondary command buffer will have a compute shader that does an atomic increment to make sure that all instances of secondary buffers execute
2231 const Unique<VkDescriptorSet> descriptorSet(createDescriptorSet(context, *descriptorPool, *descriptorSetLayout, *buffer, offset, result.getBuffer()));
2273 // record secondary command buffer
2280 // end recording of secondary buffer
2284 // Insert one instance of same secondary command buffer into two separate primary command buffers
2321 // check if secondary buffer has been executed
2346 // Command buffer
2357 // Secondary Command buffer params
2420 return tcu::TestStatus::pass("Successfully recorded a secondary command buffer allowing a precise occlusion query.");
2441 // Command buffer
2452 // Secondary Command buffer params
2515 return tcu::TestStatus::pass("Successfully recorded an imprecise query with a secondary command buffer allowing a precise occlusion query.");
2536 // Command buffer
2547 // Secondary Command buffer params
2610 return tcu::TestStatus::pass("Successfully recorded an imprecise query with a secondary command buffer not allowing a precise occlusion query.");
2632 // Command buffer
2687 // Submit the alpha command buffer to the queue
2728 // Command buffer
2809 // Check if the first buffer was executed
2836 // Command buffer
2866 // record first command buffer
2877 // record second command buffer
2894 // create submit info for first buffer - signalling semaphore
2908 // Submit the command buffer to the queue
2914 // check if buffer has been executed
2921 // create submit info for second buffer - waiting for semaphore
2938 // Submit the second command buffer to the queue
2944 // check if second buffer has been executed
2974 // Command buffer
2984 // Create command buffer
3001 // record command buffer
3027 // create submit info for buffer - signal semaphores
3040 // Submit the command buffer to the queue
3046 // check if buffer has been executed
3064 // create submit info for buffer - waiting for semaphore
3078 // Submit the second command buffer to the queue
3084 // check if second buffer has been executed
3118 // Command buffer
3184 // fence Hoping submitting the other buffer will give the first one time to
3260 // First command buffer
3275 // Second command buffer
3322 // Command buffer
3333 // Secondary Command buffer
3371 // create event that will be used to check if secondary command buffer has been executed
3377 // record secondary command buffer
3385 // end recording of the secondary buffer
3388 // record primary command buffer
3391 // execute secondary buffer
3398 // check if secondary buffer has been executed
3423 // Command buffer
3474 // create event that will be used to check if secondary command buffer has been executed
3484 // record secondary command buffer
3495 // record primary command buffer one
3498 // execute one secondary buffer
3503 // record primary command buffer two
3506 // execute one secondary buffer with all buffers
3692 *bufferA, // buffer
3703 *bufferB, // buffer
3778 // submit second primary buffer, the secondary should be executed too
3799 << "Result buffer was not written to."
3801 return tcu::TestStatus::fail("Result buffer was not written to");
3854 // command buffer is still in recording state
3862 // command buffer is still in executable state
3899 // command buffer is still in recording state
3901 // renderpass and framebuffer are destroyed; command buffer should be now in invalid state
3905 // create event that will be used to check if command buffer has been executed
3912 // command buffer is in executable state
3914 // localEvent is destroyed; command buffer should be now in invalid state
3921 // command buffer should now be back in initial state
3929 // check if buffer has been executed
3951 << "layout(set = 0, binding = 0, std140) writeonly buffer OutBuf\n"
3978 << "layout(set = 0, binding = 0, std140) writeonly buffer OutBuf\n"
4004 << "layout(set = 0, binding = 0, std140) buffer InOutBuf\n"
4336 void copyAndFlush (const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<ManyDrawsVertex>& vertices)
4338 auto& alloc = buffer.getAllocation();
4472 // Stencil state: this is key for checking and obtaining the right results. The stencil buffer will be cleared to 0. The first
4477 // At the end of the test, if every draw command was executed correctly in the expected order, the color buffer will have the
4478 // colors of the front set, and the stencil buffer will be full of 2s.
4613 // Check buffer contents.
4756 /* Verify untested transitions between command buffer states */