radv: emit geometry ring size and pointers via preamble (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 20 Jan 2017 01:06:52 +0000 (11:06 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2017 23:30:19 +0000 (09:30 +1000)
commit1fa5b755c23f97d6a92465b08d460bb4406e44dd
treed1c7eb48846f24e5c1ed7ce9c648493dc017e7c8
parent8f41fe4389a820d243651a31c7e44ba57735b3ff
radv: emit geometry ring size and pointers via preamble (v2)

This uses the scratch infrastructure to handle the esgs
and gsvs rings.

(this replaces the old code that did this with patching).

v2: fix correct ring sizes, reset sizes (Bas)

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_device.c
src/amd/vulkan/radv_private.h