mesa/src/microsoft/compiler
Erik Faye-Lund c4d2ebd285 nir: fsub -> fadd_imm
When doing nir_fsub(b, x, imm), we can negate the immediate value, and
replace the fsub with nir_fadd_imm() and get the same result. This makes
the code a bit shorter and easier to read.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23179>
2023-05-25 06:59:25 +00:00
..
dxcapi.h dxil: Fixes compiling dxcapi.h with mingw. 2022-06-15 11:38:24 +00:00
dxil_buffer.c
dxil_buffer.h d3d12: Fix GCC warnings for missing function prototypes 2020-12-01 17:10:47 +00:00
dxil_buffer_test.c
dxil_container.c microsoft/compiler: Allocate space for I/O and viewID dependency tables before instruction processing 2023-05-10 21:42:34 +00:00
dxil_container.h microsoft/compiler: Support DXIL validator 1.7 2022-07-23 14:48:17 +00:00
dxil_dump.c microsoft/compiler: Handle struct consts in DXIL module dumper 2023-02-11 06:12:23 +00:00
dxil_dump.h
dxil_dump_decls.h microsoft/compiler: Misc fixes caught by GCC 2020-12-01 17:10:47 +00:00
dxil_enums.c microsoft/compiler: Refactor type -> resource kind helper 2023-03-23 21:48:43 +00:00
dxil_enums.h microsoft/compiler: Refactor type -> resource kind helper 2023-03-23 21:48:43 +00:00
dxil_function.c microsoft/compiler: Enable packed dot product intrinsics for SM6.4+ 2023-05-11 21:56:31 +00:00
dxil_function.h microsoft/compiler: Implement more wave/quad ops 2023-01-24 11:00:05 -08:00
dxil_internal.h microsoft/compiler: Support float controls 2023-01-26 03:16:50 +00:00
dxil_module.c dxil: Use unified atomics 2023-05-12 16:01:40 -07:00
dxil_module.h microsoft/compiler: Allocate space for I/O and viewID dependency tables before instruction processing 2023-05-10 21:42:34 +00:00
dxil_nir.c microsoft/compiler: Better and simpler bitcast reduction 2023-05-19 22:19:38 +00:00
dxil_nir.h microsoft/compiler: Better and simpler bitcast reduction 2023-05-19 22:19:38 +00:00
dxil_nir_algebraic.py microsoft/compiler: Enable packed dot product intrinsics for SM6.4+ 2023-05-11 21:56:31 +00:00
dxil_nir_lower_int_cubemaps.c nir: use more nir_fadd_imm 2023-05-25 06:59:24 +00:00
dxil_nir_lower_int_cubemaps.h microsoft/compiler: make sampler-lowering optional 2022-06-10 22:14:14 +00:00
dxil_nir_lower_int_samplers.c nir: fsub -> fadd_imm 2023-05-25 06:59:25 +00:00
dxil_nir_lower_int_samplers.h d3d12: Don't clear d3d12_shader_key 2023-02-13 22:57:03 +00:00
dxil_nir_lower_vs_vertex_conversion.c microsoft/compiler: Add support for more scaled formats 2022-06-14 17:42:51 +00:00
dxil_nir_tess.c dxil: Rely on scoped_barrier 2023-05-23 23:07:42 +00:00
dxil_signature.c microsoft/compiler: Allocate space for I/O and viewID dependency tables before instruction processing 2023-05-10 21:42:34 +00:00
dxil_signature.h microsoft/compiler: DXIL validator 1.6 uses a new PSV struct version 2022-07-23 14:48:17 +00:00
dxil_validator.cpp Add checks for NULL dxil_validator 2023-05-17 15:33:17 +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 dxil: Rely on scoped_barrier 2023-05-23 23:07:42 +00:00
nir_to_dxil.h microsoft/compiler: Take inputs from callers before providing nir options 2023-05-11 21:56:31 +00:00