diff options
author | Marek Olšák <[email protected]> | 2019-10-07 22:46:00 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-10-10 15:49:18 -0400 |
commit | cebc38ff602c662851b601bc7a48a7fad2700aff (patch) | |
tree | 3cb57aee8911f8187b7c5190002cda5087eedf3f /src/freedreno/ir3 | |
parent | 7fc59197937cceb5670b36f5304d942c26be3f18 (diff) |
nir: add nir_shader_compiler_options::lower_to_scalar
This will replace PIPE_SHADER_CAP_SCALAR_ISA.
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r-- | src/freedreno/ir3/ir3_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 9342c9d299b..b729692bdff 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -56,6 +56,7 @@ static const nir_shader_compiler_options options = { .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: */ @@ -82,6 +83,7 @@ static const nir_shader_compiler_options options_a6xx = { .use_interpolated_input_intrinsics = true, .lower_rotate = true, .vectorize_io = true, + .lower_to_scalar = true, }; const nir_shader_compiler_options * |