summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_clear.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-06-14 13:26:19 +0200
committerSamuel Pitoiset <[email protected]>2018-06-15 15:53:58 +0200
commitbe794fa26bd6c05be60a34b4c2773a75de4c7718 (patch)
tree4a1fc4fff2145c60cbbbf06c8f0c70b9571d1e4c /src/amd/vulkan/radv_meta_clear.c
parentd7b772abb48edde69485415365f77d5462ab2157 (diff)
radv: clean up radv_{set,load}_color_clear_regs() helpers
And replace _regs by _metadata because it makes more sense. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_clear.c')
-rw-r--r--src/amd/vulkan/radv_meta_clear.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index 373072dd361..26dc3e6edec 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vulkan/radv_meta_clear.c
@@ -1105,7 +1105,8 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
cmd_buffer->state.flush_bits |= flush_bits;
}
- radv_set_color_clear_regs(cmd_buffer, iview->image, subpass_att, clear_color);
+ radv_set_color_clear_metadata(cmd_buffer, iview->image, subpass_att,
+ clear_color);
return true;
fail: