assembler: ExecSize can be as big as 32 channels
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 25 Jan 2013 15:12:12 +0000 (15:12 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:39 +0000 (15:54 +0000)
See the IVB PRM, vol4 part3 5.2.3.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
assembler/brw_eu_emit.c

index ea4baeb..ed24e48 100644 (file)
@@ -163,7 +163,7 @@ validate_reg(struct brw_instruction *insn, struct brw_reg reg)
    int hstride_for_reg[] = {0, 1, 2, 4};
    int vstride_for_reg[] = {0, 1, 2, 4, 8, 16, 32, 64, 128, 256};
    int width_for_reg[] = {1, 2, 4, 8, 16};
-   int execsize_for_reg[] = {1, 2, 4, 8, 16};
+   int execsize_for_reg[] = {1, 2, 4, 8, 16, 32};
    int width, hstride, vstride, execsize;
 
    if (reg.file == BRW_IMMEDIATE_VALUE) {