mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radv: Remove unused VS input usage mask.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28172>
This commit is contained in:
parent
0ddecb3f0e
commit
9fd67c84da
2 changed files with 0 additions and 5 deletions
|
|
@ -324,7 +324,6 @@ struct radv_shader_info {
|
|||
bool merged_shader_compiled_separately; /* GFX9+ */
|
||||
|
||||
struct {
|
||||
uint8_t input_usage_mask[RADV_VERT_ATTRIB_MAX];
|
||||
uint8_t output_usage_mask[VARYING_SLOT_VAR31 + 1];
|
||||
bool needs_draw_id;
|
||||
bool needs_instance_id;
|
||||
|
|
|
|||
|
|
@ -59,10 +59,6 @@ gather_load_vs_input_info(const nir_shader *nir, const nir_intrinsic_instr *intr
|
|||
const unsigned component = nir_intrinsic_component(intrin);
|
||||
unsigned mask = nir_def_components_read(&intrin->def);
|
||||
mask = (intrin->def.bit_size == 64 ? util_widen_mask(mask, 2) : mask) << component;
|
||||
|
||||
info->vs.input_usage_mask[location] |= mask & 0xf;
|
||||
if (mask >> 4)
|
||||
info->vs.input_usage_mask[location + 1] |= mask >> 4;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue