mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 01:08:05 +02:00
Idiomatic DXIL has constants contained within global variables rather than a big blob of data. Doing this allows us to have 16-bit and 64-bit data as well, where normally bitcasts would be disallowed on variable GEP chains. Unfortunately, DXIL validation requires SOA to be turned into AOS, which means we need to split structs. We want to be able to run this on nir_var_mem_constant variables which have constant initializers, so add a bit of logic to handle that case, and relax the mode validation. There's nothing special about the modes it was set up to handle. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23173> |
||
|---|---|---|
| .. | ||
| algebraic_parser_test.py | ||
| algebraic_tests.cpp | ||
| builder_tests.cpp | ||
| comparison_pre_tests.cpp | ||
| control_flow_tests.cpp | ||
| core_tests.cpp | ||
| dce_tests.cpp | ||
| load_store_vectorizer_tests.cpp | ||
| loop_analyze_tests.cpp | ||
| loop_unroll_tests.cpp | ||
| lower_alu_width_tests.cpp | ||
| mod_analysis_tests.cpp | ||
| negative_equal_tests.cpp | ||
| opt_if_tests.cpp | ||
| opt_shrink_vectors_tests.cpp | ||
| serialize_tests.cpp | ||
| ssa_def_bits_used_tests.cpp | ||
| vars_tests.cpp | ||