diff options
author | Samuel Pitoiset <[email protected]> | 2018-06-19 16:04:30 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-06-20 13:21:42 +0200 |
commit | 65b3fed03795c2099eadeeb502a6a2ee838005e1 (patch) | |
tree | 53b22c80c796a487031bcdb8c101dad36c5d65d5 /src/amd/vulkan/radv_private.h | |
parent | 204cf5714ab4acb6d800a137f8489624a7909526 (diff) |
radv: always initialize the clear depth/stencil values to 0
Similar to the clear color values.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index e6aaf164479..c77a8b297f8 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1112,10 +1112,10 @@ void radv_cayman_emit_msaa_sample_locs(struct radeon_cmdbuf *cs, int nr_samples) unsigned radv_cayman_get_maxdist(int log_samples); void radv_device_init_msaa(struct radv_device *device); -void radv_set_ds_clear_metadata(struct radv_cmd_buffer *cmd_buffer, - struct radv_image *image, - VkClearDepthStencilValue ds_clear_value, - VkImageAspectFlags aspects); +void radv_update_ds_clear_metadata(struct radv_cmd_buffer *cmd_buffer, + struct radv_image *image, + VkClearDepthStencilValue ds_clear_value, + VkImageAspectFlags aspects); void radv_update_color_clear_metadata(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, |