diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-26 23:09:42 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:40 +0000 |
commit | d70e9f824f6f837614bbc2714c5ccc5f77d2c539 (patch) | |
tree | 5e9563c8fa58b63e64a1d6d19ba7c437b45dc0bd /assembler/gen4asm.h | |
parent | e9172aa22538216cd434c700d78915ec06142238 (diff) |
assembler: Add a check for when width is 1 and hstride is not 0
The list of region restrictions in bspec do say that we can't have:
width == 1 && hstrize != 0
We do have plenty of assembly code that don't respect that behaviour. So
let's hide the warning under a -W flag (for now) while we fix things.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/gen4asm.h')
-rw-r--r-- | assembler/gen4asm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h index 8db7bce2..1e67c1cd 100644 --- a/assembler/gen4asm.h +++ b/assembler/gen4asm.h @@ -43,6 +43,10 @@ typedef float GLfloat; extern long int gen_level; +#define WARN_ALWAYS (1 << 0) +#define WARN_ALL (1 << 31) +extern unsigned int warning_flags; + extern struct brw_context genasm_context; extern struct brw_compile genasm_compile; |