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

Vinson Lee vlee at kemper.freedesktop.org
Sun Jun 20 00:59:27 PDT 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Jun 20 00:57:55 2010 -0700

i965g: Fix setup of immediate types for gen4 disasm.

Caught by clang.

Follow-up to commit 070bbd4fcd5d2b669b880b91730a7ad9d130e416.

---

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

diff --git a/src/gallium/drivers/i965/brw_disasm.c b/src/gallium/drivers/i965/brw_disasm.c
index 4c85793..28c8351 100644
--- a/src/gallium/drivers/i965/brw_disasm.c
+++ b/src/gallium/drivers/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