| 1599 | static void WebGPUEndRenderPass(WebGPUContext* context); |
| 1600 | |
| 1601 | static void WebGPUEndComputePass(WebGPUContext* context) |
| 1602 | { |
| 1603 | TRACE_CALL; |
| 1604 | if (context->m_CurrentComputePass.m_Encoder) |
| 1605 | { |
| 1606 | wgpuComputePassEncoderEnd(context->m_CurrentComputePass.m_Encoder); |
| 1607 | wgpuComputePassEncoderRelease(context->m_CurrentComputePass.m_Encoder); |
| 1608 | memset(&context->m_CurrentComputePass, 0, sizeof(context->m_CurrentComputePass)); |
| 1609 | } |
| 1610 | } |
| 1611 | |
| 1612 | static void WebGPUSubmitCommandEncoder(WebGPUContext* context) |
| 1613 | { |
no outgoing calls
no test coverage detected