mesa/src/microsoft/spirv_to_dxil
Boris Brezillon e6ad3c0fd7 microsoft/spirv_to_dxil: Fix the push_constant UBO size calculation
Right now, we just consider the size of the accessed portion of the
push constant array, but it doesn't necessarily reflect the size
of the UBO we should declare.

Fixes: de1e941c59 ("microsoft/spirv_to_dxil: Lower push constant loads to UBO loads")
Reviewed-by: Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16703>
(cherry picked from commit 2feef505c1)
2022-06-07 13:17:38 -07:00
..
dxil_validation.cpp microsoft/spirv_to_dxil: use dxil_validator 2022-04-07 00:00:45 +00:00
dxil_validation.h microsoft/compiler: normalize line endings 2022-01-19 15:17:17 +00:00
meson.build microsoft/spirv_to_dxil: Define idep_libspirv_to_dxil 2022-01-31 20:21:25 +00:00
spirv2dxil.c microsoft/spirv_to_dxil: Allow dumping NIR 2022-01-31 20:21:25 +00:00
spirv_to_dxil.c microsoft/spirv_to_dxil: Fix the push_constant UBO size calculation 2022-06-07 13:17:38 -07:00
spirv_to_dxil.def spirv_to_dxil: expose version number 2021-08-05 13:30:42 -07:00
spirv_to_dxil.h microsoft/spirv_to_dxil: Allow passing a vulkan -> d3d12 binding mapping table 2022-01-31 20:21:25 +00:00