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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user