diff options
author | Timothy Arceri <[email protected]> | 2019-02-21 11:54:09 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-03-06 23:05:20 +0000 |
commit | 673f4f69a87708f490741bb6deeb217b1b2d25e1 (patch) | |
tree | abe497276f0a08fa1b088a1b15211068b241cfe6 /src/mesa | |
parent | 7e60d5a501f311fa5e7bca5335adc6013dc1aeb9 (diff) |
i965: stop calling nir_lower_returns()
We now call this for all drivers in glsl_to_nir() instead.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index e58ed7c8e48..4f9b7aa71d7 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -98,9 +98,7 @@ brw_create_nir(struct brw_context *brw, assert (nir); nir_remove_dead_variables(nir, nir_var_shader_in | nir_var_shader_out); - nir_lower_returns(nir); - nir_validate_shader(nir, "after glsl_to_nir or spirv_to_nir and " - "return lowering"); + nir_validate_shader(nir, "after glsl_to_nir or spirv_to_nir"); NIR_PASS_V(nir, nir_lower_io_to_temporaries, nir_shader_get_entrypoint(nir), true, false); } else { |