microsoft/compiler: Fix PSV struct when numthreads is 0
authorJesse Natalie <jenatali@microsoft.com>
Thu, 11 Aug 2022 22:55:19 +0000 (15:55 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 18 Aug 2022 14:20:08 +0000 (14:20 +0000)
commit04e4de6faeb110a0a799e096a1a36775ac82fb3f
treefcf61ba4856c3d3de674cf7afe8e7f30d9cfea50
parentf44ca247d4f2fcea43a7f6ac5201649e289816b3
microsoft/compiler: Fix PSV struct when numthreads is 0

Fixes: d9e575d4 ("microsoft/compiler: DXIL validator 1.6 uses a new PSV struct version")
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18023>
src/microsoft/compiler/nir_to_dxil.c