mesa/src/microsoft/clc
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
..
clc_compiler.c nir: fsub -> fadd_imm 2023-05-25 06:59:25 +00:00
clc_compiler.h microsoft/clc: Add shader model / validator to compiler API 2023-03-31 00:37:19 +00:00
clc_compiler_test.cpp microsoft/clc: Add a test for nested function-temp arrays 2022-12-02 09:53:09 -08:00
clc_nir.c microsoft/compiler: Pass an alignment to constant buffer load lowering 2023-02-11 06:12:23 +00:00
clc_nir.h nir: extract the clc inline sampler dedup pass from clc 2022-08-04 23:53:50 +00:00
clon12compiler.def Move a bunch of the CLC stuff from src/microsoft to common code 2021-09-30 07:09:08 +00:00
compute_test.cpp microsoft/clc: Remove #if D3D12_SDK_VERSION blocks now that 610 is required 2023-04-14 23:59:33 +00:00
compute_test.h microsoft/clc: fixup indentation 2022-04-29 07:08:57 +00:00
meson.build meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00