mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user