mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 23:00:34 +01:00
radv: rename has_resolve to has_color_resolve
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
203f60ebf2
commit
ac6369a2d0
3 changed files with 5 additions and 5 deletions
|
|
@ -629,7 +629,7 @@ radv_cmd_buffer_resolve_subpass(struct radv_cmd_buffer *cmd_buffer)
|
|||
struct radv_meta_saved_state saved_state;
|
||||
enum radv_resolve_method resolve_method = RESOLVE_HW;
|
||||
|
||||
if (!subpass->has_resolve)
|
||||
if (!subpass->has_color_resolve)
|
||||
return;
|
||||
|
||||
for (uint32_t i = 0; i < subpass->color_count; ++i) {
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ radv_render_pass_compile(struct radv_render_pass *pass)
|
|||
depth_sample_count);
|
||||
|
||||
/* We have to handle resolve attachments specially */
|
||||
subpass->has_resolve = false;
|
||||
subpass->has_color_resolve = false;
|
||||
if (subpass->resolve_attachments) {
|
||||
for (uint32_t j = 0; j < subpass->color_count; j++) {
|
||||
struct radv_subpass_attachment *resolve_att =
|
||||
|
|
@ -141,7 +141,7 @@ radv_render_pass_compile(struct radv_render_pass *pass)
|
|||
if (resolve_att->attachment == VK_ATTACHMENT_UNUSED)
|
||||
continue;
|
||||
|
||||
subpass->has_resolve = true;
|
||||
subpass->has_color_resolve = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1954,8 +1954,8 @@ struct radv_subpass {
|
|||
struct radv_subpass_attachment * resolve_attachments;
|
||||
struct radv_subpass_attachment * depth_stencil_attachment;
|
||||
|
||||
/** Subpass has at least one resolve attachment */
|
||||
bool has_resolve;
|
||||
/** Subpass has at least one color resolve attachment */
|
||||
bool has_color_resolve;
|
||||
|
||||
/** Subpass has at least one color attachment */
|
||||
bool has_color_att;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue