iris: remove dead code that cannot get hit anymore

As of recent changes, MESA_SHADER_GEOMETRY is handled by the if ladder.

CID: 1643918
Fixes: c33ebf09f5 ("iris: fix handling of GL_*_VERTEX_CONVENTION")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33842>
(cherry picked from commit d0b8d7d46c)
This commit is contained in:
Tapani Pälli 2025-03-03 11:02:55 +02:00 committed by Eric Engestrom
parent 56d066e062
commit 915075bf66
2 changed files with 1 additions and 2 deletions

View file

@ -184,7 +184,7 @@
"description": "iris: remove dead code that cannot get hit anymore",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c33ebf09f5e6638481b28db3ec3bb3f73d1537ea",
"notes": null

View file

@ -7531,7 +7531,6 @@ iris_upload_dirty_render_state(struct iris_context *ice,
MERGE_SCRATCH_ADDR(3DSTATE_DS);
break;
}
case MESA_SHADER_GEOMETRY: MERGE_SCRATCH_ADDR(3DSTATE_GS); break;
}
} else {
iris_batch_emit(batch, shader->derived_data,