diff --git a/.pick_status.json b/.pick_status.json index d9c65277993..7d188fb316d 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1574,7 +1574,7 @@ "description": "panfrost: remove panfrost_create_shader_state() related dead code", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "40372bd720fe16186e9abc832bb452a3143d0e00", "notes": null diff --git a/src/gallium/drivers/panfrost/pan_shader.c b/src/gallium/drivers/panfrost/pan_shader.c index 27716bd64c1..fc6e6d546dd 100644 --- a/src/gallium/drivers/panfrost/pan_shader.c +++ b/src/gallium/drivers/panfrost/pan_shader.c @@ -383,10 +383,6 @@ panfrost_create_shader_state(struct pipe_context *pctx, struct panfrost_context *ctx = pan_context(pctx); if (so->nir->xfb_info) { - nir_shader *xfb = nir_shader_clone(NULL, so->nir); - xfb->info.name = ralloc_asprintf(xfb, "%s@xfb", xfb->info.name); - xfb->info.internal = true; - so->xfb = calloc(1, sizeof(struct panfrost_compiled_shader)); so->xfb->key.vs_is_xfb = true;