summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-04-10 16:39:30 -0400
committerRob Clark <[email protected]>2015-04-11 10:43:16 -0400
commitf59613561694cc4a4b81db8a73f8afe893dbacac (patch)
tree6fb62515559c3a8f3b9aafd771e9b0dbd359816d
parent58add76791459e023f82eab973719c71779dae9d (diff)
nir: fix bit of cargo-culting in lower_idiv
I guess I was looking too much at how lower_system_values worked when writing lower_idiv. Since ttn wasn't emitting load_var for sysvals and the only drivers using lower_idiv were using ttn, I think nothing was broken as a result. But might as well fix this before it becomes a problem. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/glsl/nir/nir_lower_idiv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_lower_idiv.c b/src/glsl/nir/nir_lower_idiv.c
index c2f08dff375..7b680320783 100644
--- a/src/glsl/nir/nir_lower_idiv.c
+++ b/src/glsl/nir/nir_lower_idiv.c
@@ -152,6 +152,4 @@ nir_lower_idiv(nir_shader *shader)
if (overload->impl)
convert_impl(overload->impl);
}
-
- exec_list_make_empty(&shader->system_values);
}