summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-03-28 11:34:46 +1000
committerDave Airlie <[email protected]>2017-03-28 17:40:17 +1000
commit4b467c759ea1e9d5960a5e668a166f33ef03e9d6 (patch)
tree6004038f511d34c554f116129c88d8496d953a11 /src/amd/vulkan/radv_private.h
parent8996fdbf61e5341c321c802278ee388ac5001f50 (diff)
radv: move shader_z_format calculation to pipeline.
No need to recalculate this every time. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 8e45e95b770..dff0aef8328 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -956,6 +956,7 @@ struct radv_pipeline {
struct radv_raster_state raster;
struct radv_multisample_state ms;
uint32_t db_shader_control;
+ uint32_t shader_z_format;
unsigned prim;
unsigned gs_out;
uint32_t vgt_gs_mode;