This will replace PIPE_SHADER_CAP_SCALAR_ISA.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
.lower_mul_high = true,
.lower_wpos_pntc = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
};
/**
* for IO purposes and would prefer loads/stores be vectorized.
*/
bool vectorize_io;
+ bool lower_to_scalar;
/**
* Should nir_lower_io() create load_interpolated_input intrinsics?
.lower_bitfield_extract_to_shifts = true,
.use_interpolated_input_intrinsics = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
};
/* we don't want to lower vertex_id to _zero_based on newer gpus: */
.use_interpolated_input_intrinsics = true,
.lower_rotate = true,
.vectorize_io = true,
+ .lower_to_scalar = true,
};
const nir_shader_compiler_options *
.lower_all_io_to_temps = false,
.lower_cs_local_index_from_id = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
.use_interpolated_input_intrinsics = true,
.max_unroll_iterations = 32,
};
.max_unroll_iterations = 32,
.lower_int64_options = nir_lower_divmod64, // TODO
.lower_doubles_options = nir_lower_dmod, // TODO
+ .lower_to_scalar = true,
};
static const void *
.lower_extract_byte = true,
.lower_extract_word = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
.optimize_sample_mask_in = true,
.max_unroll_iterations = 32,
.use_interpolated_input_intrinsics = true,
.lower_ldexp = true,
.lower_negate = true,
.lower_rotate = true,
+ .lower_to_scalar = true,
.max_unroll_iterations = 32,
};
.lower_base_vertex = true
#define COMMON_SCALAR_OPTIONS \
+ .lower_to_scalar = true, \
.lower_pack_half_2x16 = true, \
.lower_pack_snorm_2x16 = true, \
.lower_pack_snorm_4x8 = true, \