radeonsi: implement pipe_screen::resource_get_param
authorMarek Olšák <marek.olsak@amd.com>
Fri, 30 Aug 2019 00:45:29 +0000 (20:45 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Sep 2019 18:43:01 +0000 (14:43 -0400)
commit00e29816e756da180e70cafe8dd9c6c5b1b88362
tree3b34c49f3607e9f5adb81deb8dba9e7a3adcea74
parentd307aa56f9f92da79d4ebbf1f9a1b3e65156f258
radeonsi: implement pipe_screen::resource_get_param

v2: return DRM_FORMAT_MOD_INVALID from the function

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/gallium/drivers/radeonsi/si_texture.c