[Mesa-dev] [PATCH 2/2] i965/disasm: remove printing hstride and width in align16 DF source regions

Samuel Iglesias Gonsálvez siglesias at igalia.com
Tue Jan 3 12:27:15 UTC 2017


Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
 src/mesa/drivers/dri/i965/brw_disasm.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 6de52b3..167067a 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -942,10 +942,7 @@ src_da16(FILE *file,
       format(file, ".%d", 16 / reg_type_size[_reg_type]);
    string(file, "<");
    err |= control(file, "vert stride", vert_stride, _vert_stride, NULL);
-   if (reg_type_size[_reg_type] == 8)
-      string(file, ",2,1>");
-   else
-      string(file, ",4,1>");
+   string(file, ">");
    err |= src_swizzle(file, BRW_SWIZZLE4(swz_x, swz_y, swz_z, swz_w));
    err |= control(file, "src da16 reg type", reg_encoding, _reg_type, NULL);
    return err;
-- 
2.7.4



More information about the mesa-dev mailing list