mesa/src/microsoft
Erik Faye-Lund 0c5d772b71 microsoft/spirv_to_dxil: use dxil_validator
This has one negative side-effect; we're no longer able to print
validation errors without dxcompiler.dll. I doubt that's a real problem,
but if it is, we should add this ability to dxil_validator instead of
having a second implementation here.

The reasons I didn't try adding this in the first place is:

1. This code seems a bit janky; it doesn't consult the "known"-variable
   to figure out if the encoding is OK, and it's lacking a fallback path
   in that case.
2. It seems unlikely that the compiler varies the encoding of the output
   in the first place; one of the two code-paths in here is probably
   untested.
3. Since dxil_validator leaves reporting to the call-site, we'd need to
   either add and output-encoding to the API (yuck), or re-encode the
   string to UTF-8 using WinAPI.

Right now, it seems questionable if fixing all of the above is worth it.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15751>
2022-04-07 00:00:45 +00:00
..
ci Revert "ci: Disable windows-vs2019" 2022-03-24 09:11:13 +00:00
clc d3d12: Support dynamic UBO/SSBO indexing 2022-01-21 23:08:26 +00:00
compiler microsoft/compiler: add common dxil-validator API 2022-04-07 00:00:44 +00:00
resource_state_manager d3d12: Add UAV barriers for UAVs that are being used by compute transforms 2022-01-31 13:13:33 -08:00
spirv_to_dxil microsoft/spirv_to_dxil: use dxil_validator 2022-04-07 00:00:45 +00:00
vulkan dozen: require c++20 for designated initializers 2022-04-05 16:58:56 +00:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00