radv: move calculating the vertex sgpr to the pipeline.
authorDave Airlie <airlied@redhat.com>
Tue, 6 Jun 2017 23:04:30 +0000 (09:04 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jun 2017 00:24:36 +0000 (10:24 +1000)
commit734ea16bdb8f06f74177664577a754b029504e4b
tree34322370c241200f51539eb412d13f432b405ef1
parent3f48021b86e3876405376798b545f5b28622cf77
radv: move calculating the vertex sgpr to the pipeline.

There is no need to calculate this at draw time.

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