intel/fs: use uint type for per_slot_offset at GS
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Tue, 12 Jun 2018 12:52:14 +0000 (14:52 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Mon, 9 Jul 2018 13:28:48 +0000 (15:28 +0200)
commit6706b421f042c9cc0d8c7d20e974791674acab2b
treeb1c804c7f1ab86b2441614e704ba48d6c7541be8
parente8f82b33fbb572dea1c5b645ea3520915061cddc
intel/fs: use uint type for per_slot_offset at GS

This helps us to compact original instruction:

mul(8)  g3<1>D  g6<8,8,1>UD  0x00000006UD { align1 1Q };

So now we emit:

mul(8)  g3<1>UD g6<8,8,1>UD  0x00000006UD { align1 1Q compacted };

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/compiler/brw_fs_visitor.cpp