Re: [Mesa-dev] [PATCH 1/2] radv: precalculate some vertex info in the binding. (v2)

2018-01-18 Thread Bas Nieuwenhuizen
On Thu, Jan 18, 2018 at 3:04 AM, Dave Airlie wrote: > From: Dave Airlie > > This just moves some calcs from the emission to the binding. > > Probably won't affect much, just reduced some time spent in binding > > v2: Precalculate size as well, to avoid

[Mesa-dev] [PATCH 1/2] radv: precalculate some vertex info in the binding. (v2)

2018-01-18 Thread Dave Airlie
From: Dave Airlie This just moves some calcs from the emission to the binding. Probably won't affect much, just reduced some time spent in binding v2: Precalculate size as well, to avoid accessing ->buffer at all in the hw writes. (Bas) --- src/amd/vulkan/radv_cmd_buffer.c

[Mesa-dev] [PATCH 1/2] radv: precalculate some vertex info in the binding.

2018-01-10 Thread Dave Airlie
From: Dave Airlie This just moves some calcs from the emission to the binding. Probably won't affect much, just reduced some time spent in binding --- src/amd/vulkan/radv_cmd_buffer.c | 11 ++- src/amd/vulkan/radv_private.h| 1 + 2 files changed, 7