ac/nir/ngg: update bit_sizes_int

This is used for RADV's bit size lowering.

fossil-db (navi21):
Totals from 4520 (5.69% of 79377) affected shaders:
(no stat changes)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29242>
This commit is contained in:
Rhys Perry 2025-02-03 16:33:16 +00:00 committed by Marge Bot
parent cfa217ee04
commit 1fca72ddc8

View file

@ -1281,6 +1281,8 @@ add_deferred_attribute_culling(nir_builder *b, nir_cf_list *original_extracted_c
}
/* primitive is culled if any plane's clipdist of all vertices are negative */
accepted_by_clipdist = nir_ieq_imm(b, clipdist_neg_mask, 0);
b->shader->info.bit_sizes_int |= 8;
} else {
accepted_by_clipdist = nir_imm_true(b);
}