radv: calculate non-draw related ia_multi_vgt_param bits in pipeline
authorDave Airlie <airlied@redhat.com>
Mon, 11 Sep 2017 06:14:05 +0000 (07:14 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Sep 2017 22:55:15 +0000 (23:55 +0100)
commitded1dbfd9616945ea235d186bc877b667d853d1e
treec53c1bac75336072d2809eef4931fe19165f8f49
parentd2490eb2d1c73054c0022f02d425d5f9c6d56c56
radv: calculate non-draw related ia_multi_vgt_param bits in pipeline

This moves a bunch of non-draw dependent calcs into the pipeline code,
to reduce CPU overheads in the draw path.

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