radeonsi: expand constbuf 0 address correctly to fix Vega10 hangs
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Mar 2018 16:36:26 +0000 (11:36 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 8 Mar 2018 19:58:16 +0000 (14:58 -0500)
commit35cd86d4e999149dcb51585c0e2a3a50a74c7bcb
treed5146172430f300de937b5bdc4ad9a22a5a4378a
parent75c5d25f0f34cd70246ee1b0b77a75ec82dfcecb
radeonsi: expand constbuf 0 address correctly to fix Vega10 hangs

This is only required with the latest libdrm.

This fixes 32-bit support with high addresses.
(and possibly 64-bit support too because the high bits need to be masked out)

Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_shader.c