Re: [Mesa-dev] [PATCH] radv/winsys: only workout color/depth levels if we have color/depth

2017-04-03 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Mon, Apr 3, 2017 at 7:17 AM, Dave Airlie wrote: > From: Dave Airlie > > This fixes an old bug that seems to get triggered by > dEQP-VK.memory.requirements.image.sparse_tiling_optimal > > We

[Mesa-dev] [PATCH] radv/winsys: only workout color/depth levels if we have color/depth

2017-04-02 Thread Dave Airlie
From: Dave Airlie This fixes an old bug that seems to get triggered by dEQP-VK.memory.requirements.image.sparse_tiling_optimal We return early when allocating S8_UINT due to there being no color or depth, and end up with image size of 0. Signed-off-by: Dave Airlie