mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 11:48:05 +02:00
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> |
||
|---|---|---|
| .. | ||
| clc_compiler.c | ||
| clc_compiler.h | ||
| clc_compiler_test.cpp | ||
| clc_nir.c | ||
| clc_nir.h | ||
| clon12compiler.def | ||
| compute_test.cpp | ||
| compute_test.h | ||
| meson.build | ||