radv: move db_shader_control calculation to pipeline.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 01:34:19 +0000 (11:34 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 07:40:14 +0000 (17:40 +1000)
commit8996fdbf61e5341c321c802278ee388ac5001f50
treea7eacc1fb244766b9ede938c6d04e95db9b6a6f2
parentcd33a5c1cb68d8c7e67f4724cc19bb92a405c796
radv: move db_shader_control calculation to pipeline.

There is no need to recalculate this every 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