| 1653 | } |
| 1654 | |
| 1655 | static void WebGPUEndRenderPass(WebGPUContext* context) |
| 1656 | { |
| 1657 | if (context->m_CurrentRenderPass.m_Encoder) |
| 1658 | { |
| 1659 | TRACE_CALL; |
| 1660 | assert(context->m_CurrentRenderPass.m_Target); |
| 1661 | RenderPassEnd(context); |
| 1662 | memset(&context->m_CurrentRenderPass, 0, sizeof(context->m_CurrentRenderPass)); |
| 1663 | } |
| 1664 | } |
| 1665 | |
| 1666 | static WGPURenderPassEncoder RenderPassBegin(WebGPUContext* context, const float* clear_color, const float* clear_depth, const uint32_t* clear_stencil) |
| 1667 | { |
no test coverage detected