Searched refs:cmd_state (Results 1 – 2 of 2) sorted by relevance
1920 radv_attachment_needs_clear(struct radv_cmd_state *cmd_state, uint32_t a) in radv_attachment_needs_clear() argument1922 uint32_t view_mask = cmd_state->subpass->view_mask; in radv_attachment_needs_clear()1923 return (a != VK_ATTACHMENT_UNUSED && cmd_state->attachments[a].pending_clear_aspects && in radv_attachment_needs_clear()1924 (!view_mask || (view_mask & ~cmd_state->attachments[a].cleared_views))); in radv_attachment_needs_clear()1930 struct radv_cmd_state *cmd_state = &cmd_buffer->state; in radv_subpass_needs_clear() local1933 if (!cmd_state->subpass) in radv_subpass_needs_clear()1936 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_subpass_needs_clear()1937 a = cmd_state->subpass->color_attachments[i].attachment; in radv_subpass_needs_clear()1938 if (radv_attachment_needs_clear(cmd_state, a)) in radv_subpass_needs_clear()1942 if (cmd_state->subpass->depth_stencil_attachment) { in radv_subpass_needs_clear()[all …]
4802 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local4803 struct anv_graphics_pipeline *pipeline = cmd_state->gfx.pipeline; in genX()4870 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local4871 struct anv_graphics_pipeline *pipeline = cmd_state->gfx.pipeline; in genX()5114 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local5121 if (cmd_state->conditional_render_enabled) in genX()5135 cmd_state->conditional_render_enabled, uses_drawid); in genX()7250 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local7257 cmd_state->conditional_render_enabled = true; in genX()7290 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local[all …]