Re: [Mesa-dev] [PATCH] vbo: fix offset in minmax cache key

2017-08-31 Thread Brian Paul
Reviewed-by: Brian Paul On 08/30/2017 11:20 PM, Charmaine Lee wrote: Instead of saving primitive offset in the minmax cache key, save the actual buffer offset which is used in the cache lookup. Fixes rendering artifact seen with GoogleEarth when run with VMware driver. v2: Per Brian's comme

[Mesa-dev] [PATCH] vbo: fix offset in minmax cache key

2017-08-30 Thread Charmaine Lee
Instead of saving primitive offset in the minmax cache key, save the actual buffer offset which is used in the cache lookup. Fixes rendering artifact seen with GoogleEarth when run with VMware driver. v2: Per Brian's comment, initialize offset to avoid compiler warning. Cc: mesa-sta...@lists.fre

Re: [Mesa-dev] [PATCH] vbo: fix offset in minmax cache key

2017-08-30 Thread Brian Paul
On 08/30/2017 03:49 PM, Charmaine Lee wrote: Instead of saving primitive offset in the minmax cache key, save the actual buffer offset which is used in the cache lookup. Fixes rendering artifact seen with GoogleEarth when run with VMware driver. Wow, nice working finding that! Looks good to m

[Mesa-dev] [PATCH] vbo: fix offset in minmax cache key

2017-08-30 Thread Charmaine Lee
Instead of saving primitive offset in the minmax cache key, save the actual buffer offset which is used in the cache lookup. Fixes rendering artifact seen with GoogleEarth when run with VMware driver. --- src/mesa/vbo/vbo_minmax_index.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-