Shift this down and maintain the exact same behaviour as the
current code.

Signed-off-by: Edward O'Callaghan <funfunc...@folklore1984.net>
---
 src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c 
b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
index 7319a98..3f41778 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
@@ -242,10 +242,11 @@ static unsigned radv_eg_tile_split_rev(unsigned 
eg_tile_split)
        case 128:   return 1;
        case 256:   return 2;
        case 512:   return 3;
-       default:
        case 1024:  return 4;
        case 2048:  return 5;
        case 4096:  return 6;
+       default:
+               return 4;
        }
 }
 
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to