intel/compiler: remove repeated bit_size / 8 in brw mem lowering pass.
authorDave Airlie <airlied@redhat.com>
Fri, 3 May 2019 00:15:07 +0000 (10:15 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 14 May 2019 21:10:30 +0000 (07:10 +1000)
commit3b2c4331671e04a964d7b47a9876bc46e8a276d6
tree5ccea568d0c99a6f9f297b4123fba210c0041d4b
parent646924cfa1bb51c9091a8cf0079f00759cbea372
intel/compiler: remove repeated bit_size / 8 in brw mem lowering pass.

Just use a variable already.

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