summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaulo Zanoni <[email protected]>2019-08-30 17:16:28 -0700
committerJason Ekstrand <[email protected]>2019-09-19 02:48:27 +0000
commitc99df5287393cdb88e7ff2d9196be1eda67cd5ef (patch)
treee2b27b65940bed3514532d129d68defc72fd918a /scripts
parentcebf447d167b89f017382810d4ac1f43bca3c4d6 (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