radeonsi: use the restrict keyword to set sampler view descriptors faster
authorMarek Olšák <marek.olsak@amd.com>
Sun, 6 Jun 2021 11:17:53 +0000 (07:17 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Jun 2021 17:14:49 +0000 (17:14 +0000)
commit810e84387b4ebcafcdf9d22a4d8de313c02e1404
tree17c31eadb8db4e4878258c6e6ba46b97ef8ff359
parent53853d0b27c1a9609cb2701c59944a91d1f76db2
radeonsi: use the restrict keyword to set sampler view descriptors faster

All places must set restrict for the same pointer.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11340>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h