r600/sfn: Delete final lowered nir shader early
Since this is no longer needed we can as well free the memory right away instead of waiting until the parent shader is freed. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18983>
This commit is contained in:
@@ -913,5 +913,7 @@ int r600_shader_from_nir(struct r600_context *rctx,
|
||||
} else {
|
||||
r600::sfn_log << r600::SfnLog::shader_info << "This is not a Geometry shader\n";
|
||||
}
|
||||
ralloc_free(sh);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user