Lines Matching defs:buffer
166 // We use this mask to get small color values in the vertex buffer and
853 void runSwapchain(Context& context, VkBuffer buffer, VkImage image);
855 void run(Context& context, VkBuffer buffer);
862 void downloadCopy(Context& context, VkBuffer buffer);
863 void downloadTexture(Context& context, VkBuffer buffer);
864 void downloadLoad(Context& context, VkBuffer buffer);
867 VkBuffer buffer,
970 void UploadDownloadExecutor::runSwapchain(Context& context, VkBuffer buffer, VkImage image)
1002 downloadCopy(context, buffer);
1005 downloadLoad(context, buffer);
1008 downloadTexture(context, buffer);
1019 void UploadDownloadExecutor::run(Context& context, VkBuffer buffer)
1069 downloadCopy(context, buffer);
1072 downloadLoad(context, buffer);
1075 downloadTexture(context, buffer);
1183 // Create a host-mappable buffer with the color data to upload
1191 // Fill color buffer
1212 // Prepare buffer and image for copy
1221 *m_uCopy.colorBuffer, // VkBuffer buffer;
1243 // Copy buffer to image
1287 // Create vertex buffer
1327 // Create command buffer
1357 void UploadDownloadExecutor::downloadCopy(Context& context, VkBuffer buffer)
1361 copyImageToBuffer(m_image, buffer, m_caseDef.size, m_imageUploadAccessMask, m_imageLayoutAfterUpload, m_caseDef.numLayers);
1364 void UploadDownloadExecutor::downloadTexture(Context& context, VkBuffer buffer)
1442 // Copy output image to color buffer
1443 copyImageToBuffer(*m_dTex.outImage, buffer, m_caseDef.size, VK_ACCESS_SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL, m_caseDef.numLayers);
1446 void UploadDownloadExecutor::downloadLoad(Context& context, VkBuffer buffer)
1523 // Copy output image to color buffer
1524 copyImageToBuffer(*m_dLoad.outImage, buffer, m_caseDef.size, VK_ACCESS_SHADER_WRITE_BIT, requiredImageLayout, m_caseDef.numLayers);
1528 VkBuffer buffer,
1534 // Copy result to host visible buffer for inspection
1570 m_vk.cmdCopyImageToBuffer(*m_cmdBuffer, sourceImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ®ion);
1580 buffer, // VkBuffer buffer;
1595 // Create a color buffer for host-inspection of results
1597 // download methods, pixel data will be copied to this buffer from the download
2137 // Create a color buffer for host-inspection of results
2139 // download methods, pixel data will be copied to this buffer from the download