radv/gfx10: set the pgm rsrc3/4 regs using index sh reg set
authorDave Airlie <airlied@redhat.com>
Tue, 16 Jul 2019 05:21:56 +0000 (15:21 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Jul 2019 00:24:26 +0000 (10:24 +1000)
commit82a2f1052946ec977a7b1fa5f08ff01e6334cff4
tree0a94dbe81169be77cd644b5db2383cccc52beac9
parentde524b2c37870d52a5bd31c72ff320f9bf7166f6
radv/gfx10: set the pgm rsrc3/4 regs using index sh reg set

This is ported from AMDVLK, it's probably not requires unless
we want to use "real time queues", but it might be nice to just have
in place.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/sid.h
src/amd/vulkan/radv_cs.h
src/amd/vulkan/si_cmd_buffer.c