radv/winsys: fix missing initializations of shader info in the null device
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Feb 2020 17:15:39 +0000 (18:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 07:43:31 +0000 (07:43 +0000)
commitba29c050a3b370ff75d229317a6c2107d736c583
tree35ba32003899787e532703163b2fe578c99e0035
parent9d07d598423e4015bbc7beb7a2fdc4c657d5e0cf
radv/winsys: fix missing initializations of shader info in the null device

To avoid divide by zero when computing shader stats.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3999>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3999>
src/amd/vulkan/winsys/null/radv_null_winsys.c