Mesa (master): glsl_to_tgsi: fix typo in comment

Bryan Cain bryanc at kemper.freedesktop.org
Tue Dec 13 16:41:38 UTC 2011


Module: Mesa
Branch: master
Commit: 3b15f5046c36fb2d32a4c5f36e77b74efcb539b2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b15f5046c36fb2d32a4c5f36e77b74efcb539b2

Author: Bryan Cain <bryancain3 at gmail.com>
Date:   Tue Dec 13 10:33:44 2011 -0600

glsl_to_tgsi: fix typo in comment

---

 src/mesa/state_tracker/st_glsl_to_tgsi.cpp |    4 ++--
 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 9042cdb..9ef65c8 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++) {




More information about the mesa-commit mailing list