radeonsi: fix invalidating bindless buffer descriptors
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 30 Jun 2017 16:48:12 +0000 (18:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 7 Jul 2017 07:09:39 +0000 (09:09 +0200)
commita584a12308228998b24e2b3dd5c15b8dd651a49b
tree15f1fa5abdcd71589d553341698c306da46eb7de
parent43dea65ad2e8259330849aa7a3e1ed86db5a5d0f
radeonsi: fix invalidating bindless buffer descriptors

The VA is stored at [4:5], not [0:1]. This invalidated all
texture buffer descriptors when they were made resident in
the current context.

This removes few partial flushes and cache invalidations which
are needed when updating a bindless descriptor on the fly with
a WRITE_DATA packet.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c