Lines Matching refs:mDeferredClears
531 ASSERT(!mDeferredClears.any()); in clearImpl()
552 if (mDeferredClears.any()) in clearImpl()
602 ASSERT(mDeferredClears.empty()); in clearImpl()
1537 ASSERT(mDeferredClears.empty() || !isSubInvalidate); in invalidateImpl()
1542 mDeferredClears.reset(vk::kUnpackedDepthIndex); in invalidateImpl()
1546 mDeferredClears.reset(vk::kUnpackedStencilIndex); in invalidateImpl()
1552 mDeferredClears.reset(colorIndexGL); in invalidateImpl()
1748 return renderTarget->flushStagedUpdates(contextVk, &mDeferredClears, colorIndexGL, in flushColorAttachmentUpdates()
1769 return depthStencilRT->flushStagedUpdates(contextVk, &mDeferredClears, in flushDepthStencilAttachmentUpdates()
1889 vk::ClearValuesArray previousDeferredClears = mDeferredClears; in syncState()
2155 mDeferredClears.store(static_cast<uint32_t>(colorIndexGL), VK_IMAGE_ASPECT_COLOR_BIT, in mergeClearsWithDeferredClears()
2174 mDeferredClears.store(vk::kUnpackedDepthIndex, dsAspectFlags, dsClearValue); in mergeClearsWithDeferredClears()
2189 ASSERT(mDeferredClears.empty()); in clearWithDraw()
2281 dsClearValue.depthStencil.depth = mDeferredClears.getDepthValue(); in redeferClears()
2282 dsClearValue.depthStencil.stencil = mDeferredClears.getStencilValue(); in redeferClears()
2284 if (mDeferredClears.testDepth()) in redeferClears()
2287 mDeferredClears.reset(vk::kUnpackedDepthIndex); in redeferClears()
2290 if (mDeferredClears.testStencil()) in redeferClears()
2293 mDeferredClears.reset(vk::kUnpackedStencilIndex); in redeferClears()
2297 for (size_t colorIndexGL : mDeferredClears.getColorMask()) in redeferClears()
2305 mDeferredClears[colorIndexGL]); in redeferClears()
2306 mDeferredClears.reset(colorIndexGL); in redeferClears()
2332 for (size_t colorIndexGL : mDeferredClears.getColorMask()) in clearWithCommand()
2339 mDeferredClears[colorIndexGL]}); in clearWithCommand()
2340 mDeferredClears.reset(colorIndexGL); in clearWithCommand()
2346 dsClearValue.depthStencil.depth = mDeferredClears.getDepthValue(); in clearWithCommand()
2347 dsClearValue.depthStencil.stencil = mDeferredClears.getStencilValue(); in clearWithCommand()
2348 if (mDeferredClears.testDepth()) in clearWithCommand()
2353 mDeferredClears.reset(vk::kUnpackedDepthIndex); in clearWithCommand()
2356 if (mDeferredClears.testStencil()) in clearWithCommand()
2361 mDeferredClears.reset(vk::kUnpackedStencilIndex); in clearWithCommand()
2404 const bool hasDeferredClears = mDeferredClears.any(); in startNewRenderPass()
2427 if (mDeferredClears.test(colorIndexGL)) in startNewRenderPass()
2431 mDeferredClears[colorIndexGL]); in startNewRenderPass()
2432 mDeferredClears.reset(colorIndexGL); in startNewRenderPass()
2536 if (mDeferredClears.testDepth() || mDeferredClears.testStencil()) in startNewRenderPass()
2540 if (mDeferredClears.testDepth()) in startNewRenderPass()
2543 clearValue.depthStencil.depth = mDeferredClears.getDepthValue(); in startNewRenderPass()
2544 mDeferredClears.reset(vk::kUnpackedDepthIndex); in startNewRenderPass()
2547 if (mDeferredClears.testStencil()) in startNewRenderPass()
2550 clearValue.depthStencil.stencil = mDeferredClears.getStencilValue(); in startNewRenderPass()
2551 mDeferredClears.reset(vk::kUnpackedStencilIndex); in startNewRenderPass()
2801 if (mDeferredClears.empty()) in flushDeferredClears()