mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
i965: remove unused variable
Fixes: 2c873060d3 "i965: Delete unused
brw_vs_prog_data::nr_attributes field."
Cc: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
This commit is contained in:
parent
c5ec155685
commit
ceaad79f85
1 changed files with 0 additions and 3 deletions
|
|
@ -2815,9 +2815,6 @@ brw_compile_vs(const struct brw_compiler *compiler, void *log_data,
|
|||
nr_attribute_slots++;
|
||||
}
|
||||
|
||||
unsigned nr_attributes = nr_attribute_slots -
|
||||
DIV_ROUND_UP(_mesa_bitcount_64(shader->info.double_inputs_read), 2);
|
||||
|
||||
/* The 3DSTATE_VS documentation lists the lower bound on "Vertex URB Entry
|
||||
* Read Length" as 1 in vec4 mode, and 0 in SIMD8 mode. Empirically, in
|
||||
* vec4 mode, the hardware appears to wedge unless we read something.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue