radv: emit esgs ring size in one place.
authorDave Airlie <airlied@redhat.com>
Mon, 6 Nov 2017 02:03:43 +0000 (02:03 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 07:17:09 +0000 (07:17 +0000)
commitbec716e8441e3fcef71ce8f9d17d98ddf5a652e0
tree9885a1b6d4e3476ed47e334bc62f00b921b6f68d
parent031e591923fad7792a4e2e0522cf63a3ff62bc69
radv: emit esgs ring size in one place.

This register is the same on all gpus so far, so emit it in one
place and also for the pre-gfx9 gpus set the value in the pipeline
creation.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c