OSDN Git Service

radeonsi/compute: Use the compiler's COMPUTE_PGM_RSRC* register values
authorTom Stellard <thomas.stellard@amd.com>
Mon, 16 Nov 2015 20:00:12 +0000 (20:00 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 25 Nov 2015 16:03:05 +0000 (11:03 -0500)
commit89851a296536b89364fe6104d13330975788f960
treec93c2decc02ddbf766b4114b8fe77ee04d44bbe6
parent95e051091676584fd7bfba9d0316c3747bf17f35
radeonsi/compute: Use the compiler's COMPUTE_PGM_RSRC* register values

The compiler has more information and is able to optimize the bits
it sets in these registers.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
CC: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_shader.c