intel/fs: Use shuffle_from_32bit_read to read 16-bit SSBO
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Sat, 9 Jun 2018 09:45:47 +0000 (11:45 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Sat, 16 Jun 2018 20:39:08 +0000 (22:39 +0200)
commit20e4732f7de89ebec9dfe50902cb12d508d69f78
tree79c8298c643c1d7eb239d21aaf76e0cd90fca265
parenta0891eabca558b53b630ef5674d16c1c2112aaef
intel/fs: Use shuffle_from_32bit_read to read 16-bit SSBO

Using shuffle_from_32bit_read instead of 16-bit shuffle functions
avoids the need of retype. At the same time new function are
ready for 8-bit type SSBO reads.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs_nir.cpp