radv: emit more invariant registers as part of the initial gfx state
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Jul 2020 13:59:42 +0000 (15:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jul 2020 12:30:02 +0000 (12:30 +0000)
commit934d6ac949f355cb857e824518699cb89b645e10
tree087a94d15dd118fd1a286069706cb320f2c57efd
parent847e0b83ba6276ee4df1239323b85d252544d123
radv: emit more invariant registers as part of the initial gfx state

This reduces the number of emitted packets for pipelines.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5837>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/si_cmd_buffer.c