Re: [Mesa-dev] [PATCH] draw: fix vsplit code when the (post-bias) index value is -1

2018-01-16 Thread Jose Fonseca
On 16/01/18 02:18, srol...@vmware.com wrote: From: Roland Scheidegger vsplit_add_cache uses the post-bias index for hashing, but the vsplit_add_cache_uint/ushort/ubyte ones used the pre-bias index, therefore the code for handling the special case (because -1 matches the initialization value of

Re: [Mesa-dev] [PATCH] draw: fix vsplit code when the (post-bias) index value is -1

2018-01-16 Thread Brian Paul
On 01/16/2018 09:46 AM, Roland Scheidegger wrote: Am 16.01.2018 um 16:49 schrieb Brian Paul: On 01/15/2018 07:18 PM, srol...@vmware.com wrote: From: Roland Scheidegger vsplit_add_cache uses the post-bias index for hashing, but the vsplit_add_cache_uint/ushort/ubyte ones used the pre-bias inde

Re: [Mesa-dev] [PATCH] draw: fix vsplit code when the (post-bias) index value is -1

2018-01-16 Thread Roland Scheidegger
Am 16.01.2018 um 16:49 schrieb Brian Paul: > On 01/15/2018 07:18 PM, srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> vsplit_add_cache uses the post-bias index for hashing, but the >> vsplit_add_cache_uint/ushort/ubyte ones used the pre-bias index, >> therefore >> the code for handling

Re: [Mesa-dev] [PATCH] draw: fix vsplit code when the (post-bias) index value is -1

2018-01-16 Thread Brian Paul
On 01/15/2018 07:18 PM, srol...@vmware.com wrote: From: Roland Scheidegger vsplit_add_cache uses the post-bias index for hashing, but the vsplit_add_cache_uint/ushort/ubyte ones used the pre-bias index, therefore the code for handling the special case (because -1 matches the initialization valu

[Mesa-dev] [PATCH] draw: fix vsplit code when the (post-bias) index value is -1

2018-01-15 Thread sroland
From: Roland Scheidegger vsplit_add_cache uses the post-bias index for hashing, but the vsplit_add_cache_uint/ushort/ubyte ones used the pre-bias index, therefore the code for handling the special case (because -1 matches the initialization value of the cache) wasn't actually working. Commit 78a9