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

Function WebGPUDestroyShader

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

Source from the content-addressed store, hash-verified

2675}
2676
2677static void WebGPUDestroyShader(WebGPUShaderModule* shader)
2678{
2679 TRACE_CALL;
2680 wgpuShaderModuleRelease(shader->m_Module);
2681 shader->m_Module = NULL;
2682}
2683
2684#if defined(DM_GRAPHICS_WEBGPU2)
2685static inline WGPUShaderStage GetShaderStageFlags(uint8_t flag_bits)

Callers 1

WebGPUDestroyProgramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected