Home
last modified time | relevance | path

Searched refs:num_attachments (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/zink/
Dzink_render_pass.c53 int num_attachments = state->num_cbufs; in create_render_pass() local
56 attachments[num_attachments].flags = 0; in create_render_pass()
57 attachments[num_attachments].format = rt->format; in create_render_pass()
58 attachments[num_attachments].samples = rt->samples; in create_render_pass()
59 attachments[num_attachments].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass()
60 attachments[num_attachments].storeOp = VK_ATTACHMENT_STORE_OP_STORE; in create_render_pass()
61 attachments[num_attachments].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass()
62 attachments[num_attachments].stencilStoreOp = VK_ATTACHMENT_STORE_OP_STORE; in create_render_pass()
63 attachments[num_attachments].initialLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in create_render_pass()
64 attachments[num_attachments].finalLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in create_render_pass()
[all …]
Dzink_framebuffer.c91 for (int i = 0; i < fb->num_attachments; i++) { in zink_create_framebuffer()
104 fci.attachmentCount = fb->num_attachments; in zink_create_framebuffer()
Dzink_context.c614 state.num_attachments = ctx->fb_state.nr_cbufs; in create_framebuffer()
617 state.attachments[state.num_attachments++] = zink_surface(psurf); in create_framebuffer()
742 ctx->gfx_pipeline_state.num_attachments = state->nr_cbufs; in zink_set_framebuffer_state()
912 int num_attachments = 0; in zink_clear() local
925 attachments[num_attachments].aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in zink_clear()
926 attachments[num_attachments].colorAttachment = i; in zink_clear()
927 attachments[num_attachments].clearValue.color = color; in zink_clear()
928 ++num_attachments; in zink_clear()
939 attachments[num_attachments].aspectMask = aspect; in zink_clear()
940 attachments[num_attachments].clearValue.depthStencil.depth = depth; in zink_clear()
[all …]
Dzink_pipeline.h47 uint32_t num_attachments; member
Dzink_framebuffer.h41 uint8_t num_attachments; member
Dzink_pipeline.c78 blend_state.attachmentCount = state->num_attachments; in zink_create_gfx_pipeline()
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp564 unsigned num_attachments = num_color_attachments; in create_graphics_pipeline() local
567 VkAttachmentDescription *desc = &attachment_descs[num_attachments]; in create_graphics_pipeline()
581 num_attachments++; in create_graphics_pipeline()
711 renderpass_info.attachmentCount = num_attachments; in create_graphics_pipeline()
/external/mesa3d/src/gallium/frontends/dri/
Ddri2.c111 unsigned num_attachments, i; in dri2_drawable_get_buffers() local
116 num_attachments = 0; in dri2_drawable_get_buffers()
120 attachments[num_attachments++] = __DRI_BUFFER_FRONT_LEFT; in dri2_drawable_get_buffers()
184 attachments[num_attachments++] = att; in dri2_drawable_get_buffers()
186 attachments[num_attachments++] = depth; in dri2_drawable_get_buffers()
191 num_attachments /= 2; in dri2_drawable_get_buffers()
194 attachments, num_attachments, in dri2_drawable_get_buffers()
200 attachments, num_attachments, in dri2_drawable_get_buffers()