glsl_to_tgsi: fix typo in comment

This commit is contained in:
Bryan Cain 2011-12-13 10:33:44 -06:00
parent d24b44c37d
commit 3b15f5046c

View file

@ -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++) {