OSDN Git Service

radv: set the maximum number of IBs per submit to 192
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 12 Mar 2019 20:49:42 +0000 (21:49 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 12 Mar 2019 21:15:45 +0000 (22:15 +0100)
commitae77f1236862e73c1ac250898924c648d481bda4
tree954c067e78410bbdafa762a25b5affdd71cb0bd6
parent9c80be956fff4d4786a9b77c6b9d3fec67ff2377
radv: set the maximum number of IBs per submit to 192

This fixes random SteamVR corruption, see
https://github.com/ValveSoftware/SteamVR-for-Linux/issues/181

Fixes: 4d30f2c6f42 ("radv/winsys: remove the max IBs per submit limit for the fallback path")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys_public.h