Mesa (master): tgsi: Fix number operands for LOOP/ENDLOOP.

Michał Król michal at kemper.freedesktop.org
Thu Jul 30 09:52:38 UTC 2009


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

Author: Michal Krol <michal at vmware.com>
Date:   Thu Jul 30 10:33:18 2009 +0200

tgsi: Fix number operands for LOOP/ENDLOOP.

---

 src/gallium/auxiliary/tgsi/tgsi_info.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c
index fedda7b..3a47e9b 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_info.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_info.c
@@ -106,11 +106,11 @@ static const struct tgsi_opcode_info opcode_info[TGSI_OPCODE_LAST] =
    { 1, 2, 1, 0, "TXL", TGSI_OPCODE_TXL },
    { 0, 0, 0, 0, "BRK", TGSI_OPCODE_BRK },
    { 0, 1, 0, 1, "IF", TGSI_OPCODE_IF },
-   { 0, 0, 0, 0, "LOOP", TGSI_OPCODE_LOOP },
+   { 1, 1, 0, 0, "LOOP", TGSI_OPCODE_LOOP },
    { 0, 1, 0, 0, "REP", TGSI_OPCODE_REP },
    { 0, 0, 0, 1, "ELSE", TGSI_OPCODE_ELSE },
    { 0, 0, 0, 0, "ENDIF", TGSI_OPCODE_ENDIF },
-   { 0, 0, 0, 0, "ENDLOOP", TGSI_OPCODE_ENDLOOP },
+   { 1, 0, 0, 0, "ENDLOOP", TGSI_OPCODE_ENDLOOP },
    { 0, 0, 0, 0, "ENDREP", TGSI_OPCODE_ENDREP },
    { 0, 1, 0, 0, "PUSHA", TGSI_OPCODE_PUSHA },
    { 1, 0, 0, 0, "POPA", TGSI_OPCODE_POPA },




More information about the mesa-commit mailing list