mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aux/indices: don't use 'prim' value once it is known to be bad
Theoretical bugfix only - no known case where this might happen.
This commit is contained in:
parent
c25534f30d
commit
c9f8c400ab
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ int u_index_generator( unsigned hw_mask,
|
|||
|
||||
default:
|
||||
assert(0);
|
||||
*out_generate = generate[out_idx][in_pv][out_pv][prim];
|
||||
*out_generate = generate[out_idx][in_pv][out_pv][PIPE_PRIM_POINTS];
|
||||
*out_prim = PIPE_PRIM_POINTS;
|
||||
*out_nr = nr;
|
||||
return U_TRANSLATE_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue