summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBryan Cain <[email protected]>2011-12-13 10:33:44 -0600
committerBryan Cain <[email protected]>2011-12-13 10:39:52 -0600
commit3b15f5046c36fb2d32a4c5f36e77b74efcb539b2 (patch)
treeedfcfe049766181f0cff7930f4b938be55ad3495 /src/mesa/state_tracker
parentd24b44c37d51051ff153b4f04e529f2bea6630db (diff)
glsl_to_tgsi: fix typo in comment
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 9042cdb2f98..9ef65c8fdb1 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -3515,8 +3515,8 @@ glsl_to_tgsi_visitor::eliminate_dead_code_advanced(void)
case TGSI_OPCODE_ENDIF:
case TGSI_OPCODE_ELSE:
- /* Promote the recorded level all channels written inside the preceding
- * if or else block to the level above the if/else block.
+ /* Promote the recorded level of all channels written inside the
+ * preceding if or else block to the level above the if/else block.
*/
for (int r = 0; r < this->next_temp; r++) {
for (int c = 0; c < 4; c++) {