radv: move vgt_gs_mode value to pipeline.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 01:33:35 +0000 (11:33 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 07:40:08 +0000 (17:40 +1000)
commitcd33a5c1cb68d8c7e67f4724cc19bb92a405c796
treef8f50a195fdb00bd9951802ab040b178d0bf1f94
parentd43691ce775ed7bd525b5d195cc6e17b7c15574e
radv: move vgt_gs_mode value to pipeline.

No need to recalculate this everytime.

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