Skip to content
Snippets Groups Projects
Commit f35fc4ac authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Eric Engestrom
Browse files

zink: destroy shaderdb pipelines

cc: mesa-stable

Part-of: <mesa/mesa!28815>
(cherry picked from commit fd6468a5)
parent 266238b8
No related branches found
No related tags found
No related merge requests found
......@@ -1044,7 +1044,7 @@
"description": "zink: destroy shaderdb pipelines",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null
......@@ -2203,6 +2203,7 @@ zink_link_gfx_shader(struct pipe_context *pctx, void **shaders)
ctx->gfx_pipeline_state.element_state->binding_map,
shaders[MESA_SHADER_TESS_EVAL] ? VK_PRIMITIVE_TOPOLOGY_PATCH_LIST : VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, true, NULL);
print_pipeline_stats(screen, pipeline);
VKSCR(DestroyPipeline)(screen->dev, pipeline, NULL);
} else {
if (zink_screen(pctx->screen)->info.have_EXT_shader_object)
prog->base.uses_shobj = !BITSET_TEST(zshaders[MESA_SHADER_FRAGMENT]->info.system_values_read, SYSTEM_VALUE_SAMPLE_MASK_IN);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment