summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-14 12:41:15 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:24 -0800
commit55b5058e69859ba28c2f32de6edf5f0df3c6c28c (patch)
tree39ed8fba9383e1a5702943e05d8064e58182c932 /src/mesa/drivers/dri/i965
parent4aa6162f6ecf96c7400c17c310eba0cfd0f5e083 (diff)
nir: Rename lower_variables to lower_vars_to_ssa
The original name wasn't particularly descriptive. This one indicates that it actually gives you SSA values as opposed to the old pass which lowered variables to registers. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index 4c91a6edc44..218cd5ce172 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -43,7 +43,7 @@ fs_visitor::emit_nir_code()
bool progress;
do {
progress = false;
- nir_lower_variables(nir);
+ nir_lower_vars_to_ssa(nir);
nir_validate_shader(nir);
progress |= nir_copy_prop(nir);
nir_validate_shader(nir);