diff options
author | Samuel Pitoiset <[email protected]> | 2019-12-02 16:33:06 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-12-04 08:04:05 +0100 |
commit | 3b51259f06b0df97cc79d5255e6696631d378239 (patch) | |
tree | fd7fcbe69a7614a99736e16bf77353fb9e3c2e61 /src/amd/vulkan/radv_shader.c | |
parent | 0604768ae40695de97eadcca9cf2e37e0865bdeb (diff) |
radv: remove dead shader input/output variables
No pipeline-db changes.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index ee09a0fa62b..6466bad5cae 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -249,7 +249,7 @@ radv_optimize_nir(struct nir_shader *shader, bool optimize_conservatively, NIR_PASS(progress, shader, nir_opt_copy_prop_vars); NIR_PASS(progress, shader, nir_opt_dead_write_vars); NIR_PASS(progress, shader, nir_remove_dead_variables, - nir_var_function_temp); + nir_var_function_temp | nir_var_shader_in | nir_var_shader_out); NIR_PASS_V(shader, nir_lower_alu_to_scalar, NULL, NULL); NIR_PASS_V(shader, nir_lower_phis_to_scalar); |