mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 21:00:40 +02:00
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:
parent
cfa217ee04
commit
1fca72ddc8
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue