Mesa (master): i965: Fix setup of immediate types for gen4 disasm.

Eric Anholt anholt at kemper.freedesktop.org
Sat Dec 26 11:18:58 PST 2009


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 22 17:05:10 2009 -0800

i965: Fix setup of immediate types for gen4 disasm.

Caught by clang.

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 9fef230..47629df 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -239,7 +239,7 @@ char *imm_encoding[8] = {
     [2] = "UW",
     [3] = "W",
     [5] = "VF",
-    [5] = "V",
+    [6] = "V",
     [7] = "F"
 };
 



More information about the mesa-commit mailing list