Skip to content

Commit 96aaf62

Browse files
committed
fix: shader variant compute cleanup
1 parent dd2caba commit 96aaf62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/pl_shader_variant_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ pl_shader_tool_unload_manifest(const char* pcPath)
871871
pl_sb_free(ptVariant->sbtVariantHandles);
872872
pl_hm64_free(&ptVariant->tVariantHashmap);
873873

874-
pl_hm32_remove(&gptShaderVariantCtx->tParentHashmap, tParentHandle.uData);
874+
pl_hm32_remove(&gptShaderVariantCtx->tComputeParentHashmap, tParentHandle.uData);
875875

876876
gptShaderVariantCtx->dComputeVariantsCount -= uVariantCount;
877877
gptShaderVariantCtx->dParentComputeShaderCount--;

0 commit comments

Comments
 (0)