nir: add has_umul_16x16 option

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37869>
This commit is contained in:
Job Noorman
2025-10-28 07:38:37 +01:00
committed by Marge Bot
parent ba82d36dce
commit 0b348fb375
2 changed files with 4 additions and 0 deletions
@@ -565,6 +565,9 @@ typedef struct nir_shader_compiler_options {
*/
bool has_mul24_relaxed;
/** Backend supports umul_16x16. */
bool has_umul_16x16;
/** Backend supports 32-bit imad */
bool has_imad32;
+1
View File
@@ -105,6 +105,7 @@ static const nir_shader_compiler_options ir3_base_options = {
.lower_pack_64_4x16 = true,
.lower_to_scalar = true,
.has_imul24 = true,
.has_umul_16x16 = true,
.has_icsel_eqz32 = true,
.has_icsel_eqz16 = true,
.has_fsub = true,