OSDN Git Service

radv: Split out the ia_multi_vgt_param precomputation.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 14 Jan 2018 23:41:59 +0000 (00:41 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 30 Jan 2018 21:01:26 +0000 (22:01 +0100)
commit694c34314b5ff707d4e6eedcb1cb7f46f4e09c33
treef179b8ced07a808550ca4cf4dd0382bce59da7ae
parent0bea0851aa65d62d67f935a901505f1f00699e84
radv: Split out the ia_multi_vgt_param precomputation.

Also moved everything in a struct and then return the struct from
the helper function, so it is clear in the caller what part of the
pipeline gets modified.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c