microsoft/compiler: Support DXIL validator version 1.5
authorJesse Natalie <jenatali@microsoft.com>
Sun, 17 Jul 2022 12:13:44 +0000 (05:13 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 23 Jul 2022 14:48:17 +0000 (14:48 +0000)
commitc26b28f7119f078928d9036e5501c12c886afd70
treed25474ea90903da139be62e17f3c726fd9d1c539
parent170d428887d05500f5783dc30de05934e2edc29d
microsoft/compiler: Support DXIL validator version 1.5

This version of the validator starts adding usage masks into
the DXIL, which then are expected to match the PSV and signature
data. The usage masks are "correct" meaning that the never-writes
mask no longer includes bits outside of components 0-3.

A future change will actually compute useful masks.

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17603>
src/microsoft/compiler/dxil_signature.c
src/microsoft/compiler/nir_to_dxil.c