radeonsi: add get_block_size() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 2 Feb 2018 02:06:02 +0000 (13:06 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 6 Feb 2018 21:43:08 +0000 (08:43 +1100)
commitf6932d1ef384784b4c3e269df821672dde545160
treee3e2bd55fda0bf442e24614d79677ce95f0db320
parente3ebffdbb08858de33523e193e815954f4c9c0b1
radeonsi: add get_block_size() helper

This will be reused by the nir backend in a later patch.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c