radeonsi: declare new user SGPR indices for bindless samplers/images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 28 Jun 2017 16:11:48 +0000 (18:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 22 Aug 2017 09:34:15 +0000 (11:34 +0200)
commit781a13c475f019824b6ed255e6a6a9deebac774a
tree690c165a9f856a7dff9ea1b5509714421ed3fead
parente2793def4018e0c556e7c957ee0acf87d7299192
radeonsi: declare new user SGPR indices for bindless samplers/images

A new pair of user SGPR is needed for loading the bindless
descriptors from shaders. Because the descriptors are global for
all stages, there is no need to add separate indices for GFX9.

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