Home
last modified time | relevance | path

Searched refs:cmd_state (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c1902 radv_attachment_needs_clear(struct radv_cmd_state *cmd_state, uint32_t a) in radv_attachment_needs_clear() argument
1904 uint32_t view_mask = cmd_state->subpass->view_mask; in radv_attachment_needs_clear()
1906 cmd_state->attachments[a].pending_clear_aspects && in radv_attachment_needs_clear()
1907 (!view_mask || (view_mask & ~cmd_state->attachments[a].cleared_views))); in radv_attachment_needs_clear()
1913 struct radv_cmd_state *cmd_state = &cmd_buffer->state; in radv_subpass_needs_clear() local
1916 if (!cmd_state->subpass) in radv_subpass_needs_clear()
1919 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in radv_subpass_needs_clear()
1920 a = cmd_state->subpass->color_attachments[i].attachment; in radv_subpass_needs_clear()
1921 if (radv_attachment_needs_clear(cmd_state, a)) in radv_subpass_needs_clear()
1925 if (cmd_state->subpass->depth_stencil_attachment) { in radv_subpass_needs_clear()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c4170 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local
4171 struct anv_graphics_pipeline *pipeline = cmd_state->gfx.pipeline; in genX()
4185 cmd_state->conditional_render_enabled); in genX()
4191 if (cmd_state->conditional_render_enabled) { in genX()
4241 struct anv_cmd_state *cmd_state = &cmd_buffer->state; in genX() local
4242 struct anv_graphics_pipeline *pipeline = cmd_state->gfx.pipeline; in genX()
4256 cmd_state->conditional_render_enabled); in genX()
4262 if (cmd_state->conditional_render_enabled) { in genX()
5179 get_multiview_subpass_clear_mask(const struct anv_cmd_state *cmd_state, in get_multiview_subpass_clear_mask() argument
5182 return cmd_state->subpass->view_mask & att_state->pending_clear_views; in get_multiview_subpass_clear_mask()
[all …]
Danv_private.h4491 anv_get_subpass_id(const struct anv_cmd_state * const cmd_state) in anv_get_subpass_id() argument
4494 assert(cmd_state->pass && cmd_state->subpass); in anv_get_subpass_id()
4496 const uint32_t subpass_id = cmd_state->subpass - cmd_state->pass->subpasses; in anv_get_subpass_id()
4501 assert(subpass_id < cmd_state->pass->subpass_count); in anv_get_subpass_id()