diff options
author | Paulo Zanoni <[email protected]> | 2019-08-30 17:16:28 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-09-19 02:48:27 +0000 |
commit | c99df5287393cdb88e7ff2d9196be1eda67cd5ef (patch) | |
tree | e2b27b65940bed3514532d129d68defc72fd918a /scripts | |
parent | cebf447d167b89f017382810d4ac1f43bca3c4d6 (diff) |
intel/fs: the maximum supported stride width is 16
There are cases where we try to generate registers with a stride of
32, while the hardware maximum is just 16. This happens, for example,
when using 8 bit integers on SIMD32. This results in a crash because
the variable 'width' has a value of 32:
../../src/intel/compiler/brw_reg.h:550: brw_reg brw_vecn_reg(unsigned
int, brw_reg_file, unsigned int, unsigned int): Assertion `!"Invalid
register width"' failed.
This change prevents the crash and makes the tests pass.
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions