radv: move shader_z_format calculation to pipeline.
authorDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 01:34:46 +0000 (11:34 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 07:40:17 +0000 (17:40 +1000)
commit4b467c759ea1e9d5960a5e668a166f33ef03e9d6
tree6004038f511d34c554f116129c88d8496d953a11
parent8996fdbf61e5341c321c802278ee388ac5001f50
radv: move shader_z_format calculation to pipeline.

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