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:
Keith Whitwell 2009-06-26 13:44:20 +01:00
parent c25534f30d
commit c9f8c400ab

View file

@ -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;