diff options
author | Jason Ekstrand <[email protected]> | 2019-03-04 16:01:23 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-03-06 17:24:57 +0000 |
commit | 8993e0973f7d0cfb211e0c39de82ef2497584df3 (patch) | |
tree | a01fb227afe2ec01f4da78b2ffdd784125d80242 /src | |
parent | fa4824c1db949bfd5a4f21436c81089892c6110c (diff) |
intel/nir: Drop an unneeded lower_constant_initializers call
Even though this is technically a step in the function inlining process
as laid out in nir_inline_functions.c, it's not really needed. We
already have constant initializers lowered here and no new ones are
added by appending the softfp64 functions.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 07e9ccc8388..58b89a1bd3c 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -700,8 +700,6 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir) } assert(exec_list_length(&nir->functions) == 1); - OPT(nir_lower_constant_initializers, ~nir_var_function_temp); - if (nir->info.stage == MESA_SHADER_GEOMETRY) OPT(nir_lower_gs_intrinsics); |