Home
last modified time | relevance | path

Searched refs:attachments (Results 1 – 25 of 171) sorted by relevance

1234567

/external/mesa3d/src/intel/vulkan/
Danv_pass.c42 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in anv_CreateRenderPass()
55 pass->attachments = (void *) pass + attachments_offset; in anv_CreateRenderPass()
69 struct anv_render_pass_attachment *att = &pass->attachments[i]; in anv_CreateRenderPass()
120 pass->attachments[a].usage |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; in anv_CreateRenderPass()
121 pass->attachments[a].subpass_usage[i] |= ANV_SUBPASS_USAGE_INPUT; in anv_CreateRenderPass()
122 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
139 pass->attachments[a].usage |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in anv_CreateRenderPass()
140 pass->attachments[a].subpass_usage[i] |= ANV_SUBPASS_USAGE_DRAW; in anv_CreateRenderPass()
141 pass->attachments[a].last_subpass_idx = i; in anv_CreateRenderPass()
157 pass->attachments[color_att].usage |= in anv_CreateRenderPass()
[all …]
DgenX_cmd_buffer.c405 vk_free(&cmd_buffer->pool->alloc, state->attachments); in genX()
408 state->attachments = NULL; in genX()
412 state->attachments = vk_alloc(&cmd_buffer->pool->alloc, in genX()
414 sizeof(state->attachments[0]), in genX()
416 if (state->attachments == NULL) { in genX()
424 if (vk_format_is_color(pass->attachments[i].format)) { in genX()
434 if (need_input_attachment_state(&pass->attachments[i])) in genX()
454 if (vk_format_is_color(pass->attachments[i].format)) { in genX()
455 state->attachments[i].color_rt_state = next_state; in genX()
460 if (need_input_attachment_state(&pass->attachments[i])) { in genX()
[all …]
Danv_blorp.c961 &cmd_buffer->state.pass->attachments[att_idx]; in clear_color_attachment()
963 &cmd_buffer->state.attachments[att_idx]; in clear_color_attachment()
998 &cmd_buffer->state.pass->attachments[att_idx]; in clear_depth_stencil_attachment()
1126 if (attachment_needs_flush(cmd_buffer, &pass->attachments[att], stage)) { in anv_cmd_buffer_flush_attachments()
1136 if (attachment_needs_flush(cmd_buffer, &pass->attachments[att], stage)) { in anv_cmd_buffer_flush_attachments()
1152 if (cmd_state->attachments[a].pending_clear_aspects) { in subpass_needs_clear()
1158 cmd_state->attachments[ds].pending_clear_aspects) { in subpass_needs_clear()
1191 struct anv_attachment_state *att_state = &cmd_state->attachments[a]; in anv_cmd_buffer_clear_subpass()
1198 struct anv_image_view *iview = fb->attachments[a]; in anv_cmd_buffer_clear_subpass()
1251 cmd_state->attachments[ds].pending_clear_aspects) { in anv_cmd_buffer_clear_subpass()
[all …]
/external/toolchain-utils/cros_utils/
Demail_sender.py37 attachments=None): argument
41 email_from, msg_type, attachments)
44 email_from, msg_type, attachments)
47 email_from, msg_type, attachments): argument
68 if attachments:
69 for attachment in attachments:
84 email_from, msg_type, attachments): argument
123 if attachments:
125 for attachment in attachments:
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp82 const std::vector<AttachmentInfo>& attachments,
107 const std::vector<AttachmentInfo>& attachments, in GranularityInstance() argument
110 , m_attachments (attachments) in GranularityInstance()
382 const std::vector<AttachmentInfo>& attachments,
395 const std::vector<AttachmentInfo>& attachments, in GranularityCase() argument
398 , m_attachments (attachments) in GranularityCase()
487 std::vector<AttachmentInfo> attachments; in createGranularityQueryTests() local
488attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimensi… in createGranularityQueryTests()
489 single->addChild(new GranularityCase(testCtx, name.c_str(), description, attachments)); in createGranularityQueryTests()
493 std::vector<AttachmentInfo> attachments; in createGranularityQueryTests() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c363 unsigned int attachments[10]; in radeon_update_renderbuffers() local
396 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in radeon_update_renderbuffers()
397 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[0]); in radeon_update_renderbuffers()
402 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in radeon_update_renderbuffers()
403 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[1]); in radeon_update_renderbuffers()
410 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in radeon_update_renderbuffers()
411 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers()
413 attachments[i++] = __DRI_BUFFER_DEPTH; in radeon_update_renderbuffers()
414 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers()
416 attachments[i++] = __DRI_BUFFER_STENCIL; in radeon_update_renderbuffers()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c363 unsigned int attachments[10]; in radeon_update_renderbuffers() local
396 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in radeon_update_renderbuffers()
397 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[0]); in radeon_update_renderbuffers()
402 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in radeon_update_renderbuffers()
403 attachments[i++] = radeon_bits_per_pixel(draw->color_rb[1]); in radeon_update_renderbuffers()
410 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in radeon_update_renderbuffers()
411 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers()
413 attachments[i++] = __DRI_BUFFER_DEPTH; in radeon_update_renderbuffers()
414 attachments[i++] = radeon_bits_per_pixel(depth_rb); in radeon_update_renderbuffers()
416 attachments[i++] = __DRI_BUFFER_STENCIL; in radeon_update_renderbuffers()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.fbo.completeness.txt31 + Single attachments with all standard (and many extension) formats
32 + All combinations of color, depth and stencil attachments
34 + Differently sized attachments
35 + Multilayer attachments
36 + Compatibility of multisample attachments
54 images and attachments, the set of expected status values and the actual
72 * If there are no attachments, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
80 Note that GLES3 requires the depth and stencil attachments to be the same
83 attachments.
94 attachments with different sizes. The glCheckFramebufferStatus call is
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboInvalidateTests.cpp56 vector<deUint32> attachments; in getDefaultFBDiscardAttachments() local
59 attachments.push_back(GL_COLOR); in getDefaultFBDiscardAttachments()
62 attachments.push_back(GL_DEPTH); in getDefaultFBDiscardAttachments()
65 attachments.push_back(GL_STENCIL); in getDefaultFBDiscardAttachments()
67 return attachments; in getDefaultFBDiscardAttachments()
72 vector<deUint32> attachments; in getFBODiscardAttachments() local
75 attachments.push_back(GL_COLOR_ATTACHMENT0); in getFBODiscardAttachments()
79 attachments.push_back(GL_DEPTH_STENCIL_ATTACHMENT); in getFBODiscardAttachments()
81 attachments.push_back(GL_DEPTH_ATTACHMENT); in getFBODiscardAttachments()
83 attachments.push_back(GL_STENCIL_ATTACHMENT); in getFBODiscardAttachments()
[all …]
Des3fFragmentOutputTests.cpp570 vector<AttachmentData> attachments (numAttachments); in iterate() local
587 attachments[ndx].format = texFmt; in iterate()
588 attachments[ndx].readFormat = readFmt; in iterate()
589 attachments[ndx].referenceFormat = refFmt; in iterate()
590 attachments[ndx].renderedData.resize(readFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
591 attachments[ndx].referenceData.resize(refFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
639 DE_ASSERT(output.location+vecNdx < (int)attachments.size()); in iterate()
640 attachments[output.location+vecNdx].numWrittenChannels = numScalars; in iterate()
641 attachments[output.location+vecNdx].outPrecision = output.precision; in iterate()
650 if (de::inBounds(output.location+vecNdx, 0, (int)attachments.size())) in iterate()
[all …]
/external/skia/src/gpu/vk/
DGrVkFramebuffer.cpp23 VkImageView attachments[3]; in Create() local
24 attachments[0] = colorAttachment->imageView(); in Create()
27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
37 createInfo.pAttachments = attachments; in Create()
DGrVkRenderPass.cpp57 SkTArray<VkAttachmentDescription> attachments(numAttachments); in init() local
58 attachments.reset(numAttachments); in init()
59 memset(attachments.begin(), 0, numAttachments * sizeof(VkAttachmentDescription)); in init()
80 setup_vk_attachment_description(&attachments[currentAttachment], in init()
103 setup_vk_attachment_description(&attachments[currentAttachment], in init()
130 createInfo.pAttachments = attachments.begin(); in init()
/external/skqp/src/gpu/vk/
DGrVkFramebuffer.cpp23 VkImageView attachments[3]; in Create() local
24 attachments[0] = colorAttachment->imageView(); in Create()
27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
37 createInfo.pAttachments = attachments; in Create()
DGrVkRenderPass.cpp57 SkTArray<VkAttachmentDescription> attachments(numAttachments); in init() local
58 attachments.reset(numAttachments); in init()
59 memset(attachments.begin(), 0, numAttachments * sizeof(VkAttachmentDescription)); in init()
80 setup_vk_attachment_description(&attachments[currentAttachment], in init()
103 setup_vk_attachment_description(&attachments[currentAttachment], in init()
130 createInfo.pAttachments = attachments.begin(); in init()
/external/deqp/doc/testspecs/GLES2/
Dfunctional.fbo.completeness.txt30 + Single attachments with all standard (and many extension) formats
31 + All combinations of color0, depth and stencil attachments
32 - And other color attachments if GL_NV_fbo_color_attachments is exposed
35 + Differently sized attachments
53 images and attachments, the set of expected status values and the actual
99 * If there are no attachments, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
106 color attachments are used in the tests.
111 Note that GLES2, unlike GLES3, allows the depth and stencil attachments to be
119 combination of attachments and formats such that the framebuffer checks as
131 attachments with different sizes. The glCheckFramebufferStatus call is
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderUtil.cpp127 const vector<VkImageView>& attachments, in makeFramebuffer() argument
138 static_cast<deUint32>(attachments.size()), // uint32_t attachmentCount; in makeFramebuffer()
139 &attachments[0], // const VkImageView* pAttachments; in makeFramebuffer()
310 vector<VkAttachmentDescription> attachments; in makeRenderPassWithAttachments() local
311 attachments.push_back(colorAttachmentDescription); in makeRenderPassWithAttachments()
312 attachments.push_back(inputAttachmentDescription); in makeRenderPassWithAttachments()
381 &attachments[0], // const VkAttachmentDescription* pAttachments; in makeRenderPassWithAttachments()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c90 VkAttachmentDescription attachments[2]; in create_pass() local
94 attachments[i].format = VK_FORMAT_UNDEFINED; in create_pass()
95 attachments[i].samples = 1; in create_pass()
96 attachments[i].loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in create_pass()
97 attachments[i].storeOp = VK_ATTACHMENT_STORE_OP_STORE; in create_pass()
98 attachments[i].initialLayout = VK_IMAGE_LAYOUT_GENERAL; in create_pass()
99 attachments[i].finalLayout = VK_IMAGE_LAYOUT_GENERAL; in create_pass()
106 .pAttachments = attachments, in create_pass()
596 …struct radv_image *dst_img = cmd_buffer->state.framebuffer->attachments[dest_att.attachment].attac… in radv_cmd_buffer_resolve_subpass()
602 …cmd_buffer->state.attachments[dest_att.attachment].current_layout = VK_IMAGE_LAYOUT_COLOR_ATTACHME… in radv_cmd_buffer_resolve_subpass()
Dradv_meta_clear.c382 const struct radv_image_view *iview = fb->attachments[pass_att].attachment; in emit_color_clear()
671 const struct radv_image_view *iview = fb->attachments[pass_att].attachment; in emit_depthstencil_clear()
836 const struct radv_image_view *iview = fb->attachments[pass_att].attachment; in emit_fast_color_clear()
941 if (cmd_state->attachments[a].pending_clear_aspects) { in subpass_needs_clear()
947 cmd_state->attachments[ds].pending_clear_aspects) { in subpass_needs_clear()
979 if (!cmd_state->attachments[a].pending_clear_aspects) in radv_cmd_buffer_clear_subpass()
982 assert(cmd_state->attachments[a].pending_clear_aspects == in radv_cmd_buffer_clear_subpass()
988 .clearValue = cmd_state->attachments[a].clear_value, in radv_cmd_buffer_clear_subpass()
992 cmd_state->attachments[a].pending_clear_aspects = 0; in radv_cmd_buffer_clear_subpass()
999 if (cmd_state->attachments[ds].pending_clear_aspects) { in radv_cmd_buffer_clear_subpass()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c243 unsigned int attachments[10]; in nouveau_update_renderbuffers() local
252 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in nouveau_update_renderbuffers()
254 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in nouveau_update_renderbuffers()
256 attachments[i++] = __DRI_BUFFER_DEPTH_STENCIL; in nouveau_update_renderbuffers()
258 attachments[i++] = __DRI_BUFFER_DEPTH; in nouveau_update_renderbuffers()
260 attachments[i++] = __DRI_BUFFER_STENCIL; in nouveau_update_renderbuffers()
263 attachments, i, &count, in nouveau_update_renderbuffers()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp666 RenderPass (const vector<Attachment>& attachments, in RenderPass() argument
670 : m_attachments (attachments) in RenderPass()
764 const vector<Attachment>& attachments = renderPass.getAttachments(); in logRenderPassInfo() local
766 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in logRenderPassInfo()
769 const Attachment& attachment = attachments[attachmentNdx]; in logRenderPassInfo()
1150 vector<VkAttachmentDescription> attachments; in createRenderPass() local
1157attachments.push_back(createAttachmentDescription(renderPassInfo.getAttachments()[attachmentNdx])); in createRenderPass()
1172 (deUint32)attachments.size(), in createRenderPass()
1173 (attachments.empty() ? DE_NULL : &attachments[0]), in createRenderPass()
1197 (deUint32)attachments.size(), in createRenderPass()
[all …]
/external/mesa3d/src/mesa/main/
Dfbobject.h277 const GLenum *attachments, GLint x, GLint y,
283 const GLenum *attachments,
289 const GLenum *attachments);
294 const GLenum *attachments);
298 const GLenum *attachments);
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp763 std::vector<deUint32> attachments (4); in draw_buffers() local
769 attachments[0] = (glw::GLenum) (GL_COLOR_ATTACHMENT0 + maxColorAttachments); in draw_buffers()
770 attachments[1] = GL_COLOR_ATTACHMENT0; in draw_buffers()
771 attachments[2] = GL_COLOR_ATTACHMENT1; in draw_buffers()
772 attachments[3] = GL_NONE; in draw_buffers()
792 ctx.glDrawBuffers (4, &attachments[0]); in draw_buffers()
812 ctx.glDrawBuffers (4, &attachments[0]); in draw_buffers()
1677 deUint32 attachments[3]; in invalidate_framebuffer() local
1683 attachments[0] = GL_COLOR_ATTACHMENT0; in invalidate_framebuffer()
1684 attachments[1] = GL_COLOR_ATTACHMENT0 + maxColorAttachments; in invalidate_framebuffer()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c697 unsigned attachments[8]; in intel_query_dri2_buffers() local
705 memset(attachments, 0, sizeof(attachments)); in intel_query_dri2_buffers()
718 attachments[i++] = __DRI_BUFFER_FRONT_LEFT; in intel_query_dri2_buffers()
719 attachments[i++] = intel_bits_per_pixel(front_rb); in intel_query_dri2_buffers()
732 attachments[i++] = __DRI_BUFFER_BACK_LEFT; in intel_query_dri2_buffers()
733 attachments[i++] = intel_bits_per_pixel(back_rb); in intel_query_dri2_buffers()
736 assert(i <= ARRAY_SIZE(attachments)); in intel_query_dri2_buffers()
741 attachments, i / 2, in intel_query_dri2_buffers()
/external/python/cpython3/Lib/test/test_email/
Dtest_message.py451 def message_as_get_body(self, body_parts, attachments, parts, msg): argument
483 def message_as_iter_attachment(self, body_parts, attachments, parts, msg): argument
486 attachments = [allparts[n] for n in attachments]
487 self.assertEqual(list(m.iter_attachments()), attachments)
489 def message_as_iter_parts(self, body_parts, attachments, parts, msg): argument
706 def message_as_clear(self, body_parts, attachments, parts, msg): argument
714 def message_as_clear_content(self, body_parts, attachments, parts, msg): argument
/external/mesa3d/src/glx/
Ddri2.h73 unsigned int *attachments, int count,
83 unsigned int *attachments,

1234567