[Intel-gfx] [PATCH 53/90] assembler: ExecSize can be as big as 32 channels

Damien Lespiau damien.lespiau at intel.com
Mon Feb 4 16:27:48 CET 2013


See the IVB PRM, vol4 part3 5.2.3.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 assembler/brw_eu_emit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/assembler/brw_eu_emit.c b/assembler/brw_eu_emit.c
index ea4baeb..ed24e48 100644
--- a/assembler/brw_eu_emit.c
+++ b/assembler/brw_eu_emit.c
@@ -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) {
-- 
1.7.7.5




More information about the Intel-gfx mailing list