Lines Matching refs:ANGLE_TRY
447 ANGLE_TRY(renderer->getDescriptorSetLayout(contextVk, descriptorSetDesc, in ensureResourcesInitialized()
463 ANGLE_TRY(renderer->getPipelineLayout(contextVk, pipelineLayoutDesc, in ensureResourcesInitialized()
469 ANGLE_TRY(mDescriptorPools[function].init(contextVk, setSizes, in ensureResourcesInitialized()
616 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::BlitResolve, setSizes, in ensureBlitResolveResourcesInitialized()
633 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::BlitResolveStencilNoExport, in ensureBlitResolveStencilNoExportResourcesInitialized()
667 ANGLE_TRY(ensureResourcesInitialized(contextVk, Function::OverlayDraw, setSizes, in ensureOverlayDrawResourcesInitialized()
742 ANGLE_TRY(program->getComputePipeline(contextVk, pipelineLayout.get(), &pipelineAndSerial)); in setupProgram()
758 ANGLE_TRY(renderer->getPipelineCache(&pipelineCache)); in setupProgram()
759 ANGLE_TRY(program->getGraphicsPipeline(contextVk, &contextVk->getRenderPassCache(), in setupProgram()
794 ANGLE_TRY(ensureBufferClearResourcesInitialized(contextVk)); in clearBuffer()
798 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dest)); in clearBuffer()
799 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in clearBuffer()
812 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::BufferClear, &descriptorPoolBinding, in clearBuffer()
827 ANGLE_TRY(contextVk->getShaderLibrary().getBufferUtils_comp(contextVk, flags, &shader)); in clearBuffer()
829 ANGLE_TRY(setupProgram(contextVk, Function::BufferClear, shader, nullptr, in clearBuffer()
845 ANGLE_TRY(ensureConvertIndexResourcesInitialized(contextVk)); in convertIndexBuffer()
848 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, src)); in convertIndexBuffer()
849 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dest)); in convertIndexBuffer()
850 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in convertIndexBuffer()
854 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ConvertIndexBuffer, &descriptorPoolBinding, in convertIndexBuffer()
882 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexBuffer()
884 ANGLE_TRY(setupProgram(contextVk, Function::ConvertIndexBuffer, shader, nullptr, in convertIndexBuffer()
907 ANGLE_TRY(ensureConvertIndexIndirectResourcesInitialized(contextVk)); in convertIndexIndirectBuffer()
910 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, srcIndirectBuf)); in convertIndexIndirectBuffer()
911 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, srcIndexBuf)); in convertIndexIndirectBuffer()
912 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dstIndirectBuf)); in convertIndexIndirectBuffer()
913 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dstIndexBuf)); in convertIndexIndirectBuffer()
914 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in convertIndexIndirectBuffer()
918 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ConvertIndexIndirectBuffer, in convertIndexIndirectBuffer()
949 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexIndirectBuffer()
951 ANGLE_TRY(setupProgram(contextVk, Function::ConvertIndexIndirectBuffer, shader, nullptr, in convertIndexIndirectBuffer()
975 ANGLE_TRY(ensureConvertIndexIndirectLineLoopResourcesInitialized(contextVk)); in convertLineLoopIndexIndirectBuffer()
978 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, srcIndirectBuffer)); in convertLineLoopIndexIndirectBuffer()
979 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, srcIndexBuffer)); in convertLineLoopIndexIndirectBuffer()
980 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dstIndirectBuffer)); in convertLineLoopIndexIndirectBuffer()
981 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dstIndexBuffer)); in convertLineLoopIndexIndirectBuffer()
982 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in convertLineLoopIndexIndirectBuffer()
986 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ConvertIndexIndirectLineLoopBuffer, in convertLineLoopIndexIndirectBuffer()
1013 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndexIndirectLineLoop_comp(contextVk, flags, in convertLineLoopIndexIndirectBuffer()
1016 ANGLE_TRY(setupProgram(contextVk, Function::ConvertIndexIndirectLineLoopBuffer, shader, nullptr, in convertLineLoopIndexIndirectBuffer()
1035 ANGLE_TRY(ensureConvertIndirectLineLoopResourcesInitialized(contextVk)); in convertLineLoopArrayIndirectBuffer()
1038 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, srcIndirectBuffer)); in convertLineLoopArrayIndirectBuffer()
1039 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, destIndirectBuffer)); in convertLineLoopArrayIndirectBuffer()
1040 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, destIndexBuffer)); in convertLineLoopArrayIndirectBuffer()
1041 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in convertLineLoopArrayIndirectBuffer()
1045 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ConvertIndirectLineLoopBuffer, in convertLineLoopArrayIndirectBuffer()
1071 ANGLE_TRY( in convertLineLoopArrayIndirectBuffer()
1074 ANGLE_TRY(setupProgram(contextVk, Function::ConvertIndirectLineLoopBuffer, shader, nullptr, in convertLineLoopArrayIndirectBuffer()
1091 ANGLE_TRY(ensureConvertVertexResourcesInitialized(contextVk)); in convertVertexBuffer()
1094 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, src)); in convertVertexBuffer()
1095 ANGLE_TRY(contextVk->onBufferWrite(VK_ACCESS_SHADER_WRITE_BIT, dest)); in convertVertexBuffer()
1096 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in convertVertexBuffer()
1123 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ConvertVertexBuffer, in convertVertexBuffer()
1144 ANGLE_TRY(contextVk->getShaderLibrary().getConvertVertex_comp(contextVk, flags, &shader)); in convertVertexBuffer()
1146 ANGLE_TRY(setupProgram(contextVk, Function::ConvertVertexBuffer, shader, nullptr, in convertVertexBuffer()
1165 ANGLE_TRY(contextVk->getCompatibleRenderPass(renderPassDesc, &compatibleRenderPass)); in startRenderPass()
1196 ANGLE_TRY(contextVk->flushAndBeginRenderPass(framebuffer, renderArea, renderPassDesc, in startRenderPass()
1209 ANGLE_TRY(ensureImageClearResourcesInitialized(contextVk)); in clearFramebuffer()
1214 ANGLE_TRY(framebuffer->startNewRenderPass(contextVk, scissoredRenderArea, &commandBuffer)); in clearFramebuffer()
1261 ANGLE_TRY(shaderLibrary.getFullScreenQuad_vert(contextVk, 0, &vertexShader)); in clearFramebuffer()
1265 ANGLE_TRY(shaderLibrary.getImageClear_frag(contextVk, flags, &fragmentShader)); in clearFramebuffer()
1269 ANGLE_TRY(setupProgram(contextVk, Function::ImageClear, fragmentShader, vertexShader, in clearFramebuffer()
1339 ANGLE_TRY(ensureBlitResolveResourcesInitialized(contextVk)); in blitResolveImpl()
1380 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::BlitResolve, &descriptorPoolBinding, in blitResolveImpl()
1430 ANGLE_TRY(contextVk->onImageRead(src->getAspectFlags(), vk::ImageLayout::FragmentShaderReadOnly, in blitResolveImpl()
1434 ANGLE_TRY(framebuffer->startNewRenderPass(contextVk, params.blitArea, &commandBuffer)); in blitResolveImpl()
1491 ANGLE_TRY(shaderLibrary.getFullScreenQuad_vert(contextVk, 0, &vertexShader)); in blitResolveImpl()
1492 ANGLE_TRY(shaderLibrary.getBlitResolve_frag(contextVk, flags, &fragmentShader)); in blitResolveImpl()
1494 ANGLE_TRY(setupProgram(contextVk, Function::BlitResolve, fragmentShader, vertexShader, in blitResolveImpl()
1512 ANGLE_TRY(ensureBlitResolveStencilNoExportResourcesInitialized(contextVk)); in stencilBlitResolveNoShaderExport()
1518 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::BlitResolveStencilNoExport, in stencilBlitResolveNoShaderExport()
1536 ANGLE_TRY( in stencilBlitResolveNoShaderExport()
1575 ANGLE_TRY( in stencilBlitResolveNoShaderExport()
1577 ANGLE_TRY(contextVk->onImageWrite(depthStencilImage->getAspectFlags(), in stencilBlitResolveNoShaderExport()
1579 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in stencilBlitResolveNoShaderExport()
1619 ANGLE_TRY(contextVk->getShaderLibrary().getBlitResolveStencilNoExport_comp(contextVk, flags, in stencilBlitResolveNoShaderExport()
1622 ANGLE_TRY(setupProgram(contextVk, Function::BlitResolveStencilNoExport, shader, nullptr, in stencilBlitResolveNoShaderExport()
1670 ANGLE_TRY(ensureImageCopyResourcesInitialized(contextVk)); in copyImage()
1709 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::ImageCopy, &descriptorPoolBinding, in copyImage()
1738 ANGLE_TRY(contextVk->onImageRead(VK_IMAGE_ASPECT_COLOR_BIT, in copyImage()
1740 ANGLE_TRY( in copyImage()
1744 ANGLE_TRY( in copyImage()
1764 ANGLE_TRY(shaderLibrary.getFullScreenQuad_vert(contextVk, 0, &vertexShader)); in copyImage()
1765 ANGLE_TRY(shaderLibrary.getImageCopy_frag(contextVk, flags, &fragmentShader)); in copyImage()
1767 ANGLE_TRY(setupProgram(contextVk, Function::ImageCopy, fragmentShader, vertexShader, in copyImage()
1782 ANGLE_TRY(ensureOverlayCullResourcesInitialized(contextVk)); in cullOverlayWidgets()
1803 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::OverlayCull, &descriptorPoolBinding, in cullOverlayWidgets()
1807 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, enabledWidgetsBuffer)); in cullOverlayWidgets()
1808 ANGLE_TRY(contextVk->onImageWrite(VK_IMAGE_ASPECT_COLOR_BIT, in cullOverlayWidgets()
1810 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in cullOverlayWidgets()
1839 ANGLE_TRY(contextVk->getShaderLibrary().getOverlayCull_comp(contextVk, flags, &shader)); in cullOverlayWidgets()
1841 ANGLE_TRY(setupProgram(contextVk, Function::OverlayCull, shader, nullptr, in cullOverlayWidgets()
1861 ANGLE_TRY(ensureOverlayDrawResourcesInitialized(contextVk)); in drawOverlay()
1874 ANGLE_TRY(allocateDescriptorSet(contextVk, Function::OverlayDraw, &descriptorPoolBinding, in drawOverlay()
1878 ANGLE_TRY(contextVk->onImageWrite(VK_IMAGE_ASPECT_COLOR_BIT, in drawOverlay()
1880 ANGLE_TRY(contextVk->onImageRead(VK_IMAGE_ASPECT_COLOR_BIT, in drawOverlay()
1882 ANGLE_TRY(contextVk->onImageRead(VK_IMAGE_ASPECT_COLOR_BIT, in drawOverlay()
1884 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, textWidgetsBuffer)); in drawOverlay()
1885 ANGLE_TRY(contextVk->onBufferRead(VK_ACCESS_SHADER_READ_BIT, graphWidgetsBuffer)); in drawOverlay()
1887 ANGLE_TRY(contextVk->endRenderPassAndGetCommandBuffer(&commandBuffer)); in drawOverlay()
1944 ANGLE_TRY(contextVk->getShaderLibrary().getOverlayDraw_comp(contextVk, flags, &shader)); in drawOverlay()
1946 ANGLE_TRY(setupProgram(contextVk, Function::OverlayDraw, shader, nullptr, in drawOverlay()
1964 ANGLE_TRY(mDescriptorPools[function].allocateSets( in allocateDescriptorSet()