mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i965: Use ffs() on a 32-bit int value instad of ffsll().
This commit is contained in:
parent
7e02303497
commit
5ae1d19506
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ static void brw_prepare_vertices(struct brw_context *brw)
|
|||
/* Accumulate the list of enabled arrays. */
|
||||
brw->vb.nr_enabled = 0;
|
||||
while (vs_inputs) {
|
||||
GLuint i = _mesa_ffsll(vs_inputs) - 1;
|
||||
GLuint i = ffs(vs_inputs) - 1;
|
||||
struct brw_vertex_element *input = &brw->vb.inputs[i];
|
||||
|
||||
vs_inputs &= ~(1 << i);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue