Skip to content

anv: Return correct binding table entry count

Sagar Ghuge requested to merge sagarghuge/mesa:review/fix_bte_count into master

surface_count is already in units, so we can use it as it is. INTERFACE_DESCRIPTOR_DATA has 5-bit field for BindingTableEntryCount, which means the maximum number of prefetched binding table entries is limited to 31. So let's take the minimum of these two.

@jekstrand @kwg

Edited by Sagar Ghuge

Merge request reports