v3dv: fix dynamic blend constants
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 13 May 2020 10:32:29 +0000 (12:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:30 +0000 (21:21 +0000)
commit195768924920b21cc04d8c97fd136903eeab5186
tree00ca2091712b0ec264ec64316f93e5ffab3b1cb1
parent98ade03113cef8dedbe825d842a54b6ad3636dbf
v3dv: fix dynamic blend constants

We were pre-packing the constants from the pipeline state and then
always emitting that at draw time, ignoring dynamic state. This makes
it so we don't prepack at pipeline creation time and we always emit
the correct constants directly the command buffer dynamic state.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_pipeline.c
src/broadcom/vulkan/v3dv_private.h