radeonsi: only initialize dirty_mask when CE is used
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 28 Jun 2017 16:48:14 +0000 (18:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 22 Aug 2017 09:34:23 +0000 (11:34 +0200)
commita5ff4a8e2e5bc1b7107a1d902feaf4d5edb96b3f
tree9a8ce37e3c10c64d077fe7b9ac6d602c1b2552c3
parenta29ef75565e14f785c071ac99044300003168fa8
radeonsi: only initialize dirty_mask when CE is used

Looks like it's useless to initialize that field when CE is
unused. This will also allow to declare more than 64 elements
for the array of bindless descriptors.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c