MCPcopy Create free account
hub / github.com/defold/defold / WebGPUEndComputePass

Function WebGPUEndComputePass

engine/graphics/src/webgpu/graphics_webgpu.cpp:1601–1610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1599static void WebGPUEndRenderPass(WebGPUContext* context);
1600
1601static 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
1612static void WebGPUSubmitCommandEncoder(WebGPUContext* context)
1613{

Callers 2

WebGPUBeginRenderPassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected