intel/fs: Fix a typo in need_matching_subreg_offset

This fixes a bunch of Vulkan subgroup tests on little core platforms.

Fixes: 4150920b95 "intel/fs: Add a helper for emitting scan operations"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand 2018-10-01 20:17:24 -05:00
parent ea66bfda88
commit 7e7959fcb7
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ namespace brw {
!gen_device_info_is_9lp(shader->devinfo))
return false;
if (type_sz(type > 4))
if (type_sz(type) > 4)
return true;
if (opcode == BRW_OPCODE_MUL &&