radeonsi: keep track of dirty descriptor sets
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 3 Jun 2016 15:40:12 +0000 (17:40 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 Jun 2016 13:18:10 +0000 (15:18 +0200)
commit8239da28e8b31b4727ecf59681aeebc65e17bf2f
treef2c9025188b7e3bd8880043a0047b41918c21dba
parentd152c737123d34c9b650e274607a2406ed4db535
radeonsi: keep track of dirty descriptor sets

Reduces CPU load for draw calls that change none or few of the descriptors.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h