diff options
author | Dave Airlie <[email protected]> | 2017-03-28 11:34:19 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-28 17:40:14 +1000 |
commit | 8996fdbf61e5341c321c802278ee388ac5001f50 (patch) | |
tree | a7eacc1fb244766b9ede938c6d04e95db9b6a6f2 /src/amd/vulkan/radv_private.h | |
parent | cd33a5c1cb68d8c7e67f4724cc19bb92a405c796 (diff) |
radv: move db_shader_control calculation to pipeline.
There is 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index dcd738a54f4..8e45e95b770 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -955,6 +955,7 @@ struct radv_pipeline { struct radv_depth_stencil_state ds; struct radv_raster_state raster; struct radv_multisample_state ms; + uint32_t db_shader_control; unsigned prim; unsigned gs_out; uint32_t vgt_gs_mode; |