summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs_builder.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-01 20:17:24 -0500
committerJason Ekstrand <[email protected]>2018-10-02 07:44:25 -0500
commit7e7959fcb76da59e1cec8b704069210a1092e1dd (patch)
treec0552a07c5832ca8389c3fccfaa0eb4adc7a4d98 /src/intel/compiler/brw_fs_builder.h
parentea66bfda8801a0f5139c8e4655373117cdd7a1c0 (diff)
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 <[email protected]> Tested-by: Mark Janes <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs_builder.h')
-rw-r--r--src/intel/compiler/brw_fs_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs_builder.h b/src/intel/compiler/brw_fs_builder.h
index 7bee2aa0b9b..0cafaf50e56 100644
--- a/src/intel/compiler/brw_fs_builder.h
+++ b/src/intel/compiler/brw_fs_builder.h
@@ -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 &&