radeonsi: add get_dw_address_from_generic_indices() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 11 Dec 2017 02:14:49 +0000 (13:14 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 5 Jan 2018 00:58:55 +0000 (11:58 +1100)
commit234507b3cf2d3439289055c32038896724955e7b
tree49533cda4aa4f18a703619273ac1dbfca8b02821
parentb104e7e1727120a546fc022f3165ad6c3f9dd2fc
radeonsi: add get_dw_address_from_generic_indices() helper

This will be used by both the tgsi and nir backends.

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