diff options
Diffstat (limited to 'src/intel/compiler/brw_eu_validate.c')
-rw-r--r-- | src/intel/compiler/brw_eu_validate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_eu_validate.c b/src/intel/compiler/brw_eu_validate.c index 9e9033910b1..5953c82bc70 100644 --- a/src/intel/compiler/brw_eu_validate.c +++ b/src/intel/compiler/brw_eu_validate.c @@ -980,7 +980,7 @@ general_restrictions_on_region_parameters(const struct gen_device_info *devinfo, unsigned offset = rowbase; for (int x = 0; x < width; x++) { - access_mask |= mask << offset; + access_mask |= mask << (offset % 64); offset += hstride * element_size; } @@ -1250,7 +1250,7 @@ align1_access_mask(uint64_t access_mask[static 32], unsigned offset = rowbase; for (int x = 0; x < width; x++) { - access_mask[element++] = mask << offset; + access_mask[element++] = mask << (offset % 64); offset += hstride * element_size; } |