radeonsi: change si_descriptors::shader_userdata_offset type to short
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Feb 2018 00:31:33 +0000 (01:31 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 24 Feb 2018 22:08:28 +0000 (23:08 +0100)
commit1d1df76d2b3b65f18002cec1957c6115b5bd12a5
treede4bcd8359e28e81b631010587e4300b6a1a5d95
parentfca7dee9c6aa669764d8179e3064ea28b17d2835
radeonsi: change si_descriptors::shader_userdata_offset type to short

We will want to use SH registers outside of user data SGPRs, like the GFX9
special SGPRs.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h