[Mesa-dev] [PATCH v3 5/6] i965: Upload binding tables in hw-generated binding table format.

Abdiel Janulgue abdiel.janulgue at linux.intel.com
Thu Jul 16 23:22:26 PDT 2015



On 07/17/2015 05:41 AM, Kenneth Graunke wrote:

>>  
>> +static uint32_t
>> +reserve_hw_bt_space(struct brw_context *brw, unsigned bytes)
>> +{
>> +   if (brw->hw_bt_pool.next_offset + bytes >= brw->hw_bt_pool.bo->size - 128) {
> 
> Why -128?  I don't see why we should have to subtract anything...
> 

This is the WaStateBindingTableOverfetch workaround you mentioned that
we should include?

-Abdiel


More information about the mesa-dev mailing list