summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f0997e2)
This fixes a defect detected by Coverity Scan.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
brw->vb.nr_enabled = 0;
while (vs_inputs) {
GLuint first = ffsll(vs_inputs) - 1;
brw->vb.nr_enabled = 0;
while (vs_inputs) {
GLuint first = ffsll(vs_inputs) - 1;
GLuint index =
first - DIV_ROUND_UP(_mesa_bitcount_64(vs_prog_data->double_inputs_read &
BITFIELD64_MASK(first)), 2);
GLuint index =
first - DIV_ROUND_UP(_mesa_bitcount_64(vs_prog_data->double_inputs_read &
BITFIELD64_MASK(first)), 2);