On 21 August 2017 at 17:44, Bas Nieuwenhuizen wrote:
> The old code would just do a * blocksize / blocksize , which is the
> identity (as long as we don't overflow). Did this cause any issues?
Nope, just seemed like unnecessary cpu usage.
Dave.
___
me
The old code would just do a * blocksize / blocksize , which is the
identity (as long as we don't overflow). Did this cause any issues?
On Mon, Aug 21, 2017, at 09:34, Dave Airlie wrote:
> From: Dave Airlie
>
> If the image view has the same format, we don't need to rescale
> the w/h.
>
> Sign
From: Dave Airlie
If the image view has the same format, we don't need to rescale
the w/h.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_image.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index 5