mesa/src/microsoft/compiler
Jason Ekstrand b34f6c1559 dxil: Use nir_const_value_for_uint in dxil_nir_lower_int_samplers
This change should avoid any accidental rounding issues because of
border colors getting stored in a float in dxil_wrap_sampler_state.  It
also switches us to using the correct helpers for nir_const_value so we
can avoid any weird uninitialized data failures that can be caused by
filling out the fields in the struct directly.

Fixes: b9c61379ab ("microsoft/compiler: translate nir to dxil")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19689>
(cherry picked from commit cd5c66e165)
2022-12-14 20:47:00 +00:00
..
dxcapi.h
dxil_buffer.c
dxil_buffer.h
dxil_buffer_test.c
dxil_container.c
dxil_container.h
dxil_dump.c
dxil_dump.h
dxil_dump_decls.h
dxil_enums.c
dxil_enums.h
dxil_function.c nir2dxil: Use native helper lane intrinsic on SM >= 6.6 2022-10-19 22:25:51 +00:00
dxil_function.h
dxil_internal.h
dxil_module.c
dxil_module.h
dxil_nir.c
dxil_nir.h
dxil_nir_algebraic.py
dxil_nir_lower_int_cubemaps.c nir: adjust nir_src_copy signature to take a nir_instr * 2022-08-30 18:21:44 +00:00
dxil_nir_lower_int_cubemaps.h
dxil_nir_lower_int_samplers.c dxil: Use nir_const_value_for_uint in dxil_nir_lower_int_samplers 2022-12-14 20:47:00 +00:00
dxil_nir_lower_int_samplers.h
dxil_nir_lower_vs_vertex_conversion.c
dxil_nir_tess.c
dxil_signature.c
dxil_signature.h
dxil_validator.cpp meson/mesa/wide: define WIN32_LEAN_AND_MEAN with pre_args 2022-10-20 03:04:56 +00:00
dxil_validator.h microsoft/spirv2dxil: Refactor to make SM and validator versions public 2022-10-24 16:15:31 +00:00
dxil_versions.h microsoft/spirv2dxil: Refactor to make SM and validator versions public 2022-10-24 16:15:31 +00:00
meson.build meson: add dep_valgrind dependency for 'dxil_compiler' 2022-10-20 01:32:47 +00:00
nir_to_dxil.c microsoft/spirv2dxil: Support pack_32_2x16 and pack_32_4x8 2022-10-24 17:39:59 +00:00
nir_to_dxil.h microsoft/spirv2dxil: Refactor to make SM and validator versions public 2022-10-24 16:15:31 +00:00