Searched refs:num_attachments (Results 1 – 8 of 8) sorted by relevance
53 int num_attachments = state->num_cbufs; in create_render_pass() local56 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 …]
91 for (int i = 0; i < fb->num_attachments; i++) { in zink_create_framebuffer()104 fci.attachmentCount = fb->num_attachments; in zink_create_framebuffer()
614 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() local925 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 …]
47 uint32_t num_attachments; member
41 uint8_t num_attachments; member
78 blend_state.attachmentCount = state->num_attachments; in zink_create_gfx_pipeline()
564 unsigned num_attachments = num_color_attachments; in create_graphics_pipeline() local567 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()
111 unsigned num_attachments, i; in dri2_drawable_get_buffers() local116 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()