Home
last modified time | relevance | path

Searched refs:attachment_count (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/intel/vulkan/
Danv_pass.c97 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in anv_render_pass_compile()
134 assert(color_att->attachment < pass->attachment_count); in anv_render_pass_compile()
150 assert(ds_att->attachment < pass->attachment_count); in anv_render_pass_compile()
159 for (uint32_t j = 0; j < subpass->attachment_count; j++) in anv_render_pass_compile()
352 pass->attachment_count = pCreateInfo->attachmentCount; in anv_CreateRenderPass2()
380 subpass->attachment_count = num_subpass_attachments2(desc); in anv_CreateRenderPass2()
DgenX_cmd_buffer.c1541 if (pass->attachment_count > 0) { in genX()
1543 pass->attachment_count * in genX()
1558 assert(pass->attachment_count == framebuffer->attachment_count); in genX()
1560 for (uint32_t i = 0; i < pass->attachment_count; ++i) { in genX()
1562 assert(attach_begin->attachmentCount == pass->attachment_count); in genX()
1565 } else if (framebuffer && i < framebuffer->attachment_count) { in genX()
1573 for (uint32_t i = 0; i < pass->attachment_count; ++i) { in genX()
1657 for (uint32_t i = 0; i < subpass->attachment_count; i++) { in genX()
1662 assert(att < pass->attachment_count); in genX()
1690 for (uint32_t i = 0; i < subpass->attachment_count; i++) { in genX()
[all …]
Danv_private.h4544 uint32_t attachment_count; member
4558 uint32_t attachment_count; member
4615 uint32_t attachment_count; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c34 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in lvp_render_pass_compile()
64 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in lvp_render_pass_compile()
179 pass->attachment_count = pCreateInfo->attachmentCount; in lvp_CreateRenderPass2()
221 subpass->attachment_count = lvp_num_subpass_attachments2(desc); in lvp_CreateRenderPass2()
Dlvp_private.h269 uint32_t attachment_count; member
308 uint32_t attachment_count; member
332 uint32_t attachment_count; member
Dlvp_execute.c1748 if (state->num_pending_aspects < state->pass->attachment_count) { in begin_render_pass()
1749 … realloc(state->pending_clear_aspects, sizeof(VkImageAspectFlags) * state->pass->attachment_count); in begin_render_pass()
1750 …e->cleared_views = realloc(state->cleared_views, sizeof(uint32_t) * state->pass->attachment_count); in begin_render_pass()
1751 state->num_pending_aspects = state->pass->attachment_count; in begin_render_pass()
1754 …e->attachments = realloc(state->attachments, sizeof(*state->attachments) * pass->attachment_count); in begin_render_pass()
1755 for (unsigned i = 0; i < state->pass->attachment_count; i++) { in begin_render_pass()
2956 for (uint32_t a = 0; a < cmd->u.clear_attachments.attachment_count; a++) { in handle_clear_attachments()
3621 for (unsigned i = 0; i < cmd->u.set_color_write_enable_ext.attachment_count; i++) { in handle_set_color_write_enable()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pass.c185 bool att_used[pass->attachment_count]; in tu_render_pass_add_implicit_deps()
383 bool written[pass->attachment_count]; in tu_render_pass_patch_input_gmem()
486 for (uint32_t i = 0; i < pass->attachment_count; i++) { in tu_render_pass_gmem_config()
526 for (i = 0; i < pass->attachment_count; i++) { in tu_render_pass_gmem_config()
561 if (i == pass->attachment_count) in tu_render_pass_gmem_config()
647 pass->attachment_count = pCreateInfo->attachmentCount; in tu_CreateRenderPass2()
779 for (uint32_t i = 0; i < pass->attachment_count; i++) { in tu_CreateRenderPass2()
Dtu_private.h1578 uint32_t attachment_count; member
1652 uint32_t attachment_count; member
Dtu_cmd_buffer.c720 for (uint32_t a = 0; a < pass->attachment_count; ++a) { in tu6_emit_tile_store()
1171 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i) in tu_emit_renderpass_begin()
1176 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i) in tu_emit_renderpass_begin()
1183 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i) in tu_emit_renderpass_begin()
3152 vk_alloc(&cmd->pool->alloc, pass->attachment_count * in tu_CmdBeginRenderPass2()
3161 for (unsigned i = 0; i < pass->attachment_count; i++) { in tu_CmdBeginRenderPass2()
Dtu_clear_blit.c2187 uint32_t attachment_count, in tu_clear_sysmem_attachments() argument
2205 for (uint32_t i = 0; i < attachment_count; i++) { in tu_clear_sysmem_attachments()
2472 uint32_t attachment_count, in tu_clear_gmem_attachments() argument
2491 for (unsigned j = 0; j < attachment_count; j++) { in tu_clear_gmem_attachments()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c114 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in radv_render_pass_add_implicit_deps()
188 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in radv_render_pass_compile()
220 for (uint32_t j = 0; j < subpass->attachment_count; j++) { in radv_render_pass_compile()
401 pass->attachment_count = pCreateInfo->attachmentCount; in radv_CreateRenderPass2()
444 subpass->attachment_count = radv_num_subpass_attachments2(desc); in radv_CreateRenderPass2()
Dradv_private.h2415 uint32_t attachment_count; member
2436 uint32_t attachment_count; member
2488 uint32_t attachment_count; member
Dradv_cmd_buffer.c3979 for (int i = 0; i < fb->attachment_count; ++i) { in radv_emit_subpass_barrier()
3991 for (int i = 0; i < fb->attachment_count; ++i) { in radv_emit_subpass_barrier()
4216 if (pass->attachment_count == 0) { in radv_cmd_state_setup_attachments()
4222 vk_alloc(&cmd_buffer->pool->alloc, pass->attachment_count * sizeof(state->attachments[0]), 8, in radv_cmd_state_setup_attachments()
4229 for (uint32_t i = 0; i < pass->attachment_count; ++i) { in radv_cmd_state_setup_attachments()
5739 for (uint32_t i = 0; i < subpass->attachment_count; ++i) { in radv_cmd_buffer_begin_subpass()
5849 for (uint32_t i = 0; i < subpass->attachment_count; ++i) { in radv_cmd_buffer_end_subpass()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_device.c231 (batch->fb.info ? batch->fb.info->attachment_count : 0) + in panvk_per_arch()
248 for (unsigned i = 0; i < batch->fb.info->attachment_count; i++) { in panvk_per_arch()
Dpanvk_cmd_buffer.c325 for (unsigned i = 0; i < cmdbuf->state.pass->attachment_count; i++) { in panvk_cmd_prepare_clear_values()
437 assert(pRenderPassBegin->clearValueCount <= pass->attachment_count); in panvk_CmdBeginRenderPass2()
440 sizeof(*cmdbuf->state.clear) * pass->attachment_count, in panvk_CmdBeginRenderPass2()
Dpanvk_pass.c57 pass->attachment_count = pCreateInfo->attachmentCount; in panvk_CreateRenderPass2()
Dpanvk_private.h946 uint32_t attachment_count; member
996 uint32_t attachment_count; member
Dpanvk_device.c1580 framebuffer->attachment_count = pCreateInfo->attachmentCount; in panvk_CreateFramebuffer()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_device.c277 assert(framebuffer->attachment_count <= 4); in v3dX()
278 for (uint32_t i = 0; i < framebuffer->attachment_count; i++) { in v3dX()
Dv3dv_pass.c47 for (uint32_t i = 0; i < pass->attachment_count; i++) { in pass_find_subpass_range_for_attachments()
149 pass->attachment_count = pCreateInfo->attachmentCount; in v3dv_CreateRenderPass()
Dv3dv_cmd_buffer.c1209 assert(attachment_idx < cmd_buffer->state.pass->attachment_count); in cmd_buffer_state_set_attachment_clear_color()
1263 count = MIN2(count, pass->attachment_count); in cmd_buffer_state_set_clear_values()
1301 if (state->attachment_alloc_count < pass->attachment_count) { in cmd_buffer_ensure_render_pass_attachment_state()
1308 pass->attachment_count; in cmd_buffer_ensure_render_pass_attachment_state()
1315 state->attachment_alloc_count = pass->attachment_count; in cmd_buffer_ensure_render_pass_attachment_state()
1318 assert(state->attachment_alloc_count >= pass->attachment_count); in cmd_buffer_ensure_render_pass_attachment_state()
2264 state->meta.attachment_count = state->attachment_alloc_count; in v3dv_cmd_buffer_meta_state_push()
2312 assert(state->meta.attachment_count <= state->attachment_alloc_count); in v3dv_cmd_buffer_meta_state_pop()
2316 attachment_state_item_size * state->meta.attachment_count; in v3dv_cmd_buffer_meta_state_pop()
Dv3dv_private.h667 uint32_t attachment_count; member
694 uint32_t attachment_count; member
1178 uint32_t attachment_count; member
Dv3dv_meta_clear.c934 assert(attachment_idx < pass->attachment_count); in get_depth_clear_pipeline()
1012 assert(attachment_idx < cmd_buffer->state.pass->attachment_count); in emit_subpass_color_clear_rects()
1113 assert(attachment_idx < cmd_buffer->state.pass->attachment_count); in emit_subpass_ds_clear_rects()
/third_party/mesa3d/src/asahi/lib/
Ddecode.c472 unsigned attachment_count = attachments[3]; in agxdecode_cmdstream() local
473 for (unsigned i = 0; i < attachment_count; ++i) { in agxdecode_cmdstream()
/third_party/mesa3d/docs/relnotes/
D19.2.0.rst58 - ANV regression: Assertion \`pass->attachment_count ==
59 framebuffer->attachment_count' failed

12