diff options
author | Samuel Pitoiset <[email protected]> | 2018-06-19 15:56:19 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-06-20 13:21:42 +0200 |
commit | 204cf5714ab4acb6d800a137f8489624a7909526 (patch) | |
tree | 59f745977df93cc7b7346699d202c5ea3056de2c /src/amd/vulkan/radv_private.h | |
parent | 4b564bd612247b3d6590046b4591c9efcceabb17 (diff) |
radv: always initialize the clear color values to 0
Having random data in there is probably not the best.
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 27440da595e..e6aaf164479 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1117,10 +1117,10 @@ void radv_set_ds_clear_metadata(struct radv_cmd_buffer *cmd_buffer, VkClearDepthStencilValue ds_clear_value, VkImageAspectFlags aspects); -void radv_set_color_clear_metadata(struct radv_cmd_buffer *cmd_buffer, - struct radv_image *image, - int cb_idx, - uint32_t color_values[2]); +void radv_update_color_clear_metadata(struct radv_cmd_buffer *cmd_buffer, + struct radv_image *image, + int cb_idx, + uint32_t color_values[2]); void radv_set_dcc_need_cmask_elim_pred(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, |