mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
anv: remove unused code
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19050>
This commit is contained in:
parent
cea113c977
commit
f8136ea5b6
1 changed files with 0 additions and 9 deletions
|
|
@ -2920,16 +2920,7 @@ cmd_buffer_emit_push_constant_all(struct anv_cmd_buffer *cmd_buffer,
|
|||
const struct anv_cmd_graphics_state *gfx_state = &cmd_buffer->state.gfx;
|
||||
const struct anv_graphics_pipeline *pipeline = gfx_state->pipeline;
|
||||
|
||||
static const UNUSED uint32_t push_constant_opcodes[] = {
|
||||
[MESA_SHADER_VERTEX] = 21,
|
||||
[MESA_SHADER_TESS_CTRL] = 25, /* HS */
|
||||
[MESA_SHADER_TESS_EVAL] = 26, /* DS */
|
||||
[MESA_SHADER_GEOMETRY] = 22,
|
||||
[MESA_SHADER_FRAGMENT] = 23,
|
||||
};
|
||||
|
||||
gl_shader_stage stage = vk_to_mesa_shader_stage(shader_mask);
|
||||
assert(stage < ARRAY_SIZE(push_constant_opcodes));
|
||||
|
||||
const struct anv_pipeline_bind_map *bind_map =
|
||||
&pipeline->shaders[stage]->bind_map;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue