summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-07-08 01:57:00 -0700
committerKenneth Graunke <[email protected]>2015-07-08 11:28:08 -0700
commitefb36271a92b44ee0e35c4f833610dbea776badd (patch)
treee707a2af87d19f61ac01deeac1dfd298ecb980f2 /src/glsl
parente27ea996444743b8cbdca096a4aab47dd405ebf9 (diff)
nir: Fix comment above nir_convert_from_ssa() prototype.
Connor renamed the parameter, inverting the sense. Update the comment accordingly. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 4cb7d2f1eac..9e2a2819199 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1659,9 +1659,9 @@ bool nir_ssa_defs_interfere(nir_ssa_def *a, nir_ssa_def *b);
void nir_convert_to_ssa_impl(nir_function_impl *impl);
void nir_convert_to_ssa(nir_shader *shader);
-/* If convert_everything is true, convert all values (even those not involved
- * in a phi node) to registers. If false, only convert SSA values involved in
- * phi nodes to registers.
+/* If phi_webs_only is true, only convert SSA values involved in phi nodes to
+ * registers. If false, convert all values (even those not involved in a phi
+ * node) to registers.
*/
void nir_convert_from_ssa(nir_shader *shader, bool phi_webs_only);