projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fb92f
)
i965: Fix the disasm output for da16 src widths.
author
Eric Anholt
<eric@anholt.net>
Thu, 22 Jul 2010 08:53:43 +0000
(
01:53
-0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 22 Jul 2010 17:06:55 +0000
(10:06 -0700)
This has confused me twice now. It's a fixed width of 4 (usually a
region description of <4,4,1>), not 1. If it was 1, we'd have been
skipping all over register space.
src/mesa/drivers/dri/i965/brw_disasm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_disasm.c
b/src/mesa/drivers/dri/i965/brw_disasm.c
index 52865c7028df8deea55e2ee3a2f20b3ca0c1fafa..d23071453619b6de13e3f2444d24e8d282eda859 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/
src/mesa/drivers/dri/i965/brw_disasm.c
@@
-598,7
+598,7
@@
static int src_da16 (FILE *file,
format (file, ".%d", _subreg_nr);
string (file, "<");
err |= control (file, "vert stride", vert_stride, _vert_stride, NULL);
- string (file, ",
1
,1>");
+ string (file, ",
4
,1>");
err |= control (file, "src da16 reg type", reg_encoding, _reg_type, NULL);
/*
* Three kinds of swizzle display: