Home
last modified time | relevance | path

Searched refs:attachment (Results 1 - 25 of 334) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkFramebuffer.cpp78 // subpass where an attachment is first used, but since we don't discard contents between subpasses, in executeLoadOp()
86 const VkAttachmentDescription attachment = renderPass->getAttachment(i); in executeLoadOp() local
89 switch(attachment.loadOp) in executeLoadOp()
97 // Don't clear the attachment's color or depth aspect. in executeLoadOp()
100 UNSUPPORTED("attachment.loadOp %d", attachment.loadOp); in executeLoadOp()
103 switch(attachment.stencilLoadOp) in executeLoadOp()
111 // Don't clear the attachment's stencil aspect. in executeLoadOp()
114 UNSUPPORTED("attachment.stencilLoadOp %d", attachment in executeLoadOp()
137 clearAttachment(const RenderPass *renderPass, uint32_t subpassIndex, const VkClearAttachment &attachment, const VkClearRect &rect) clearAttachment() argument
[all...]
H A DVkRenderPass.cpp25 + pCreateInfo->attachmentCount * sizeof(uint32_t); // union of subpass view masks, per attachment in ComputeRequiredAllocationSizeT()
89 dst[i].attachment = src[i].attachment; in CopyAttachmentReferences()
163 if(ext->pDepthStencilResolveAttachment != nullptr && ext->pDepthStencilResolveAttachment->attachment != VK_ATTACHMENT_UNUSED) in RenderPass()
186 reference->attachment = ext->pDepthStencilResolveAttachment->attachment; in RenderPass()
191 MarkFirstUse(reference->attachment, i); in RenderPass()
302 if(subpass.pInputAttachments[j].attachment != VK_ATTACHMENT_UNUSED) in init()
303 MarkFirstUse(subpass.pInputAttachments[j].attachment, i); in init()
325 if(subpass.pColorAttachments[j].attachment ! in init()
431 MarkFirstUse(int attachment, int subpass) MarkFirstUse() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pass.c85 * first subpass that uses an attachment, then an implicit subpass in radv_render_pass_add_implicit_deps()
94 * .dstSubpass = firstSubpass; // First subpass attachment is used in in radv_render_pass_add_implicit_deps()
107 * that uses an attachment to VK_SUBPASS_EXTERNAL, then an implicit in radv_render_pass_add_implicit_deps()
115 * .srcSubpass = lastSubpass; // Last subpass attachment is used in in radv_render_pass_add_implicit_deps()
134 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_add_implicit_deps()
137 struct radv_render_pass_attachment *pass_att = &pass->attachments[subpass_att->attachment]; in radv_render_pass_add_implicit_deps()
167 .dstSubpass = i, /* first subpass attachment is used in */ in radv_render_pass_add_implicit_deps()
183 .srcSubpass = i, /* last subpass attachment is used in */ in radv_render_pass_add_implicit_deps()
208 if (subpass_att->attachment == VK_ATTACHMENT_UNUSED) in radv_render_pass_compile()
211 struct radv_render_pass_attachment *pass_att = &pass->attachments[subpass_att->attachment]; in radv_render_pass_compile()
[all...]
H A Dradv_meta_resolve.c590 if (dest_att.attachment == VK_ATTACHMENT_UNUSED) in radv_cmd_buffer_resolve_subpass_hw()
593 struct radv_image_view *src_iview = cmd_buffer->state.attachments[src_att.attachment].iview; in radv_cmd_buffer_resolve_subpass_hw()
596 struct radv_image_view *dest_iview = cmd_buffer->state.attachments[dest_att.attachment].iview; in radv_cmd_buffer_resolve_subpass_hw()
598 VkImageLayout dst_image_layout = cmd_buffer->state.attachments[dest_att.attachment].current_layout; in radv_cmd_buffer_resolve_subpass_hw()
614 cmd_buffer->state.attachments[dest_att.attachment].current_layout = in radv_cmd_buffer_resolve_subpass_hw()
661 struct radv_image_view *src_iview = cmd_buffer->state.attachments[src_att.attachment].iview; in radv_cmd_buffer_resolve_subpass()
662 struct radv_image_view *dst_iview = cmd_buffer->state.attachments[dst_att.attachment].iview; in radv_cmd_buffer_resolve_subpass()
664 /* Make sure to not clear the depth/stencil attachment after resolves. */ in radv_cmd_buffer_resolve_subpass()
665 cmd_buffer->state.attachments[dst_att.attachment].pending_clear_aspects = 0; in radv_cmd_buffer_resolve_subpass()
699 * resolve attachment durin in radv_cmd_buffer_resolve_subpass()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DRenderPassBuilderD3D12.cpp150 void RenderPassBuilder::SetRenderTargetBeginningAccess(ColorAttachmentIndex attachment,
154 mRenderPassRenderTargetDescriptors[attachment].BeginningAccess.Type =
157 mRenderPassRenderTargetDescriptors[attachment]
159 mRenderPassRenderTargetDescriptors[attachment]
161 mRenderPassRenderTargetDescriptors[attachment]
163 mRenderPassRenderTargetDescriptors[attachment]
165 mRenderPassRenderTargetDescriptors[attachment].BeginningAccess.Clear.ClearValue.Format =
170 void RenderPassBuilder::SetRenderTargetEndingAccess(ColorAttachmentIndex attachment,
172 mRenderPassRenderTargetDescriptors[attachment].EndingAccess.Type =
176 void RenderPassBuilder::SetRenderTargetEndingAccessResolve(ColorAttachmentIndex attachment,
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_pass.c135 * first subpass that uses an attachment, then an implicit subpass
144 * .dstSubpass = firstSubpass; // First subpass attachment is used in
157 * that uses an attachment to VK_SUBPASS_EXTERNAL, then an implicit
165 * .srcSubpass = lastSubpass; // Last subpass attachment is used in
214 uint32_t a = subpass->pInputAttachments[j].attachment; in tu_render_pass_add_implicit_deps()
232 uint32_t a = subpass->pColorAttachments[j].attachment; in tu_render_pass_add_implicit_deps()
242 subpass->pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) { in tu_render_pass_add_implicit_deps()
243 uint32_t a = subpass->pDepthStencilAttachment->attachment; in tu_render_pass_add_implicit_deps()
257 uint32_t a = subpass->pResolveAttachments[j].attachment; in tu_render_pass_add_implicit_deps()
271 ds_resolve->pDepthStencilResolveAttachment->attachment ! in tu_render_pass_add_implicit_deps()
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_pass.c65 const uint32_t attachment = subpass->input_attachments[i]; in pvr_subpass_has_msaa_input_attachment() local
67 if (pCreateInfo->pAttachments[attachment].samples > 1) in pvr_subpass_has_msaa_input_attachment()
100 * initialized with the result of the load op. Since the input attachment in pvr_is_subpass_initops_flush_needed()
365 /* Copy attachment descriptions. */ in pvr_CreateRenderPass2()
368 struct pvr_render_pass_attachment *attachment = &pass->attachments[i]; in pvr_CreateRenderPass2() local
372 attachment->load_op = desc->loadOp; in pvr_CreateRenderPass2()
373 attachment->store_op = desc->storeOp; in pvr_CreateRenderPass2()
375 attachment->has_stencil = vk_format_has_stencil(attachment->vk_format); in pvr_CreateRenderPass2()
376 if (attachment in pvr_CreateRenderPass2()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pass.c62 uint32_t attachment_idx = subpass->color_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
84 subpass->resolve_attachments[j].attachment != VK_ATTACHMENT_UNUSED) { in pass_find_subpass_range_for_attachments()
89 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment; in pass_find_subpass_range_for_attachments()
96 if (subpass->ds_resolve_attachment.attachment != VK_ATTACHMENT_UNUSED) in pass_find_subpass_range_for_attachments()
101 uint32_t input_attachment_idx = subpass->input_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
112 uint32_t attachment_idx = subpass->resolve_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
201 .attachment = desc->pInputAttachments[j].attachment, in v3dv_CreateRenderPass2()
213 .attachment = desc->pColorAttachments[j].attachment, in v3dv_CreateRenderPass2()
[all...]
/third_party/skia/src/gpu/vk/
H A DGrVkRenderPass.cpp18 void setup_vk_attachment_description(VkAttachmentDescription* attachment, in setup_vk_attachment_description() argument
22 attachment->flags = 0; in setup_vk_attachment_description()
23 attachment->format = desc.fFormat; in setup_vk_attachment_description()
24 SkAssertResult(GrSampleCountToVkSampleCount(desc.fSamples, &attachment->samples)); in setup_vk_attachment_description()
29 attachment->loadOp = desc.fLoadStoreOps.fLoadOp; in setup_vk_attachment_description()
30 attachment->storeOp = desc.fLoadStoreOps.fStoreOp; in setup_vk_attachment_description()
31 attachment->stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
32 attachment->stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_vk_attachment_description()
35 attachment->loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_vk_attachment_description()
36 attachment in setup_vk_attachment_description()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.cpp69 const FramebufferAttachment &attachment) in CheckAttachmentCompleteness()
71 ASSERT(attachment.isAttached()); in CheckAttachmentCompleteness()
73 const Extents &size = attachment.getSize(); in CheckAttachmentCompleteness()
80 if (!attachment.isRenderable(context)) in CheckAttachmentCompleteness()
86 if (attachment.type() == GL_TEXTURE) in CheckAttachmentCompleteness()
90 // attachment is not layered, the selected layer is less than the depth or layer count, in CheckAttachmentCompleteness()
92 if (!attachment.isLayered()) in CheckAttachmentCompleteness()
94 if (attachment.layer() >= size.depth) in CheckAttachmentCompleteness()
102 // attachment is layered, the depth or layer count, respectively, of the texture is less in CheckAttachmentCompleteness()
118 const Texture *texture = attachment in CheckAttachmentCompleteness()
68 CheckAttachmentCompleteness(const Context *context, const FramebufferAttachment &attachment) CheckAttachmentCompleteness() argument
204 CheckAttachmentSampleCompleteness(const Context *context, const FramebufferAttachment &attachment, bool colorAttachment, Optional<int> *samples, Optional<bool> *fixedSampleLocations, Optional<int> *renderToTextureSamples) CheckAttachmentSampleCompleteness() argument
294 InitAttachment(const Context *context, FramebufferAttachment *attachment) InitAttachment() argument
304 AttachmentOverlapsWithTexture(const FramebufferAttachment &attachment, const Texture *texture, const Sampler *sampler) AttachmentOverlapsWithTexture() argument
965 detachMatchingAttachment(const Context *context, FramebufferAttachment *attachment, GLenum matchType, GLuint matchId) detachMatchingAttachment() argument
2016 updateAttachment(const Context *context, FramebufferAttachment *attachment, size_t dirtyBit, angle::ObserverBinding *onDirtyBinding, GLenum type, GLenum binding, const ImageIndex &textureIndex, FramebufferAttachmentObject *resource, GLsizei numViews, GLuint baseViewIndex, bool isMultiview, GLsizei samples) updateAttachment() argument
2105 FramebufferAttachment *attachment = getAttachmentFromSubjectIndex(index); onSubjectStateChange() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboStateQueryTests.cpp46 void checkAttachmentComponentSizeAtLeast (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) in checkAttachmentComponentSizeAtLeast() argument
66 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state); in checkAttachmentComponentSizeAtLeast()
83 void checkAttachmentComponentSizeExactly (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, int r, int g, int b, int a, int d, int s) in checkAttachmentComponentSizeExactly() argument
103 gl.glGetFramebufferAttachmentParameteriv(target, attachment, paramNames[ndx], &state); in checkAttachmentComponentSizeExactly()
144 void checkAttachmentParam(tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLenum target, GLenum attachment, GLenum pname, GLenum reference) in checkAttachmentParam() argument
147 gl.glGetFramebufferAttachmentParameteriv(target, attachment, pname, &state); in checkAttachmentParam()
620 bool attachmentExists (GLenum attachment) in attachmentExists() argument
623 glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &state); in attachmentExists()
638 virtual void testColorAttachment (GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) = DE_NULL;
640 virtual void testDepthAttachment (GLenum internalFormat, GLenum attachment, GLin
672 GLenum attachment; test() member
699 testColorAttachment(GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) testColorAttachment() argument
717 testDepthAttachment(GLenum internalFormat, GLenum attachment, GLint bitsD, GLint bitsS) testDepthAttachment() argument
744 testColorAttachment(GLenum internalFormat, GLenum attachment, GLint bitsR, GLint bitsG, GLint bitsB, GLint bitsA) testColorAttachment() argument
762 testDepthAttachment(GLenum internalFormat, GLenum attachment, GLint bitsD, GLint bitsS) testDepthAttachment() argument
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_render_pass.c50 .attachment = reference[i].attachment, in translate_references()
55 reference2[i].attachment != VK_ATTACHMENT_UNUSED) { in translate_references()
56 assert(reference2[i].attachment < pass_info->attachmentCount); in translate_references()
58 &pass_info->pAttachments[reference2[i].attachment]; in translate_references()
303 desc->pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED; in num_subpass_attachments2()
311 ds_resolve->pDepthStencilResolveAttachment->attachment != VK_ATTACHMENT_UNUSED; in num_subpass_attachments2()
319 fsr_att_info->pFragmentShadingRateAttachment->attachment != VK_ATTACHMENT_UNUSED; in num_subpass_attachments2()
357 if (ref->attachment >= pass->attachment_count) { in vk_subpass_attachment_init()
358 assert(ref->attachment in vk_subpass_attachment_init()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DCommandEncoder.cpp110 MaybeError ValidateAttachmentArrayLayersAndLevelCount(const TextureViewBase* attachment) { in ValidateAttachmentArrayLayersAndLevelCount() argument
112 DAWN_INVALID_IF(attachment->GetLayerCount() > 1, in ValidateAttachmentArrayLayersAndLevelCount()
113 "The layer count (%u) of %s used as attachment is greater than 1.", in ValidateAttachmentArrayLayersAndLevelCount()
114 attachment->GetLayerCount(), attachment); in ValidateAttachmentArrayLayersAndLevelCount()
116 DAWN_INVALID_IF(attachment->GetLevelCount() > 1, in ValidateAttachmentArrayLayersAndLevelCount()
117 "The mip level count (%u) of %s used as attachment is greater than 1.", in ValidateAttachmentArrayLayersAndLevelCount()
118 attachment->GetLevelCount(), attachment); in ValidateAttachmentArrayLayersAndLevelCount()
123 MaybeError ValidateOrSetAttachmentSize(const TextureViewBase* attachment, in ValidateOrSetAttachmentSize() argument
168 const TextureViewBase* attachment = colorAttachment.view; ValidateResolveTarget() local
220 TextureViewBase* attachment = colorAttachment.view; ValidateRenderPassColorAttachment() local
260 TextureViewBase* attachment = depthStencilAttachment->view; ValidateRenderPassDepthStencilAttachment() local
[all...]
H A DAttachmentState.cpp56 TextureViewBase* attachment = in AttachmentStateBlueprint() local
59 mColorFormats[i] = attachment->GetFormat().format; in AttachmentStateBlueprint()
61 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint()
63 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint()
67 TextureViewBase* attachment = descriptor->depthStencilAttachment->view; in AttachmentStateBlueprint() local
68 mDepthStencilFormat = attachment->GetFormat().format; in AttachmentStateBlueprint()
70 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint()
72 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint()
91 // Hash depth stencil attachment in operator ()()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp79 const FramebufferAttachment *attachment) in BindFramebufferAttachment()
81 if (attachment) in BindFramebufferAttachment()
83 if (attachment->type() == GL_TEXTURE) in BindFramebufferAttachment()
85 const Texture *texture = attachment->getTexture(); in BindFramebufferAttachment()
93 if (attachment->isRenderToTexture()) in BindFramebufferAttachment()
99 textureGL->getTextureID(), attachment->mipLevel(), in BindFramebufferAttachment()
100 attachment->getSamples()); in BindFramebufferAttachment()
107 textureGL->getTextureID(), attachment->mipLevel(), in BindFramebufferAttachment()
108 attachment->getSamples()); in BindFramebufferAttachment()
115 textureGL->getTextureID(), attachment in BindFramebufferAttachment()
77 BindFramebufferAttachment(const FunctionsGL *functions, GLenum attachmentPoint, const FramebufferAttachment *attachment) BindFramebufferAttachment() argument
178 AreAllLayersActive(const FramebufferAttachment &attachment) AreAllLayersActive() argument
194 const FramebufferAttachment *attachment = nullptr; RequiresMultiviewClear() local
246 IsEmulatedAlphaChannelTextureAttachment(const FramebufferAttachment *attachment) IsEmulatedAlphaChannelTextureAttachment() argument
799 const FramebufferAttachment *attachment = destFramebuffer->getDrawBuffer(i); blit() local
1260 const FramebufferAttachment *attachment = nullptr; syncState() local
1422 const FramebufferAttachment *attachment = nullptr; syncClearBufferState() local
[all...]
H A DClearMultiviewGL.cpp116 const gl::FramebufferAttachment *attachment = state.getColorAttachment(drawBufferId); in attachTextures() local
117 if (attachment == nullptr) in attachTextures()
122 const auto &imageIndex = attachment->getTextureImageIndex(); in attachTextures()
127 const TextureGL *textureGL = GetImplAs<TextureGL>(attachment->getTexture()); in attachTextures()
172 const gl::FramebufferAttachment *attachment = state.getColorAttachment(drawBufferId); in detachTextures() local
173 if (attachment == nullptr) in detachTextures()
/third_party/mesa3d/src/mesa/main/
H A Dfbobject.c257 * If \p attachment is GL_DEPTH_STENCIL_ATTACHMENT, return a pointer to
258 * the depth buffer attachment point.
259 * Returns if the attachment is a GL_COLOR_ATTACHMENTm_EXT on
261 * if they don't find the attachment.
265 GLenum attachment, bool *is_color_attachment) in get_attachment()
274 switch (attachment) { in get_attachment()
297 i = attachment - GL_COLOR_ATTACHMENT0_EXT; in get_attachment()
324 GLenum attachment) in get_fb0_attachment()
328 attachment = _mesa_back_to_front_if_single_buffered(fb, attachment); in get_fb0_attachment()
264 get_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, bool *is_color_attachment) get_attachment() argument
323 get_fb0_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment) get_fb0_attachment() argument
660 _mesa_FramebufferRenderbuffer_sw(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) _mesa_FramebufferRenderbuffer_sw() argument
3915 _mesa_get_and_validate_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, const char *caller) _mesa_get_and_validate_attachment() argument
3948 _mesa_framebuffer_texture(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer_attachment *att, struct gl_texture_object *texObj, GLenum textarget, GLint level, GLsizei samples, GLuint layer, GLboolean layered) _mesa_framebuffer_texture() argument
4023 framebuffer_texture_with_dims_no_error(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) framebuffer_texture_with_dims_no_error() argument
4045 framebuffer_texture_with_dims(int dims, GLenum target, GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples, GLint layer, const char *caller, bool dsa) framebuffer_texture_with_dims() argument
4092 _mesa_FramebufferTexture1D_no_error(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_FramebufferTexture1D_no_error() argument
4102 _mesa_FramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_FramebufferTexture1D() argument
4111 _mesa_FramebufferTexture2D_no_error(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_FramebufferTexture2D_no_error() argument
4121 _mesa_FramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_FramebufferTexture2D() argument
4130 _mesa_FramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) _mesa_FramebufferTexture2DMultisampleEXT() argument
4142 _mesa_FramebufferTexture3D_no_error(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) _mesa_FramebufferTexture3D_no_error() argument
4152 _mesa_FramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) _mesa_FramebufferTexture3D() argument
4162 frame_buffer_texture(GLuint framebuffer, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, const char *func, bool dsa, bool no_error, bool check_layered) frame_buffer_texture() argument
4251 _mesa_FramebufferTextureLayer_no_error(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) _mesa_FramebufferTextureLayer_no_error() argument
4261 _mesa_FramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) _mesa_FramebufferTextureLayer() argument
4270 _mesa_NamedFramebufferTextureLayer_no_error(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) _mesa_NamedFramebufferTextureLayer_no_error() argument
4281 _mesa_NamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) _mesa_NamedFramebufferTextureLayer() argument
4290 _mesa_FramebufferTexture_no_error(GLenum target, GLenum attachment, GLuint texture, GLint level) _mesa_FramebufferTexture_no_error() argument
4299 _mesa_FramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) _mesa_FramebufferTexture() argument
4307 _mesa_NamedFramebufferTexture_no_error(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) _mesa_NamedFramebufferTexture_no_error() argument
4316 _mesa_NamedFramebufferTexture(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) _mesa_NamedFramebufferTexture() argument
4325 _mesa_NamedFramebufferTexture1DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_NamedFramebufferTexture1DEXT() argument
4335 _mesa_NamedFramebufferTexture2DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) _mesa_NamedFramebufferTexture2DEXT() argument
4345 _mesa_NamedFramebufferTexture3DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) _mesa_NamedFramebufferTexture3DEXT() argument
4356 _mesa_framebuffer_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) _mesa_framebuffer_renderbuffer() argument
4374 framebuffer_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer, const char *func, bool no_error) framebuffer_renderbuffer() argument
4451 framebuffer_renderbuffer_error(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer, const char *func) framebuffer_renderbuffer_error() argument
4461 framebuffer_renderbuffer_no_error(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer, const char *func) framebuffer_renderbuffer_no_error() argument
4471 _mesa_FramebufferRenderbuffer_no_error(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) _mesa_FramebufferRenderbuffer_no_error() argument
4483 _mesa_FramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) _mesa_FramebufferRenderbuffer() argument
4503 _mesa_NamedFramebufferRenderbuffer_no_error(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) _mesa_NamedFramebufferRenderbuffer_no_error() argument
4517 _mesa_NamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) _mesa_NamedFramebufferRenderbuffer() argument
4536 _mesa_NamedFramebufferRenderbufferEXT(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) _mesa_NamedFramebufferRenderbufferEXT() argument
4555 get_framebuffer_attachment_parameter(struct gl_context *ctx, struct gl_framebuffer *buffer, GLenum attachment, GLenum pname, GLint *params, const char *caller) get_framebuffer_attachment_parameter() argument
4905 _mesa_GetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) _mesa_GetFramebufferAttachmentParameteriv() argument
4926 _mesa_GetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params) _mesa_GetNamedFramebufferAttachmentParameteriv() argument
4956 _mesa_GetNamedFramebufferAttachmentParameterivEXT(GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params) _mesa_GetNamedFramebufferAttachmentParameterivEXT() argument
5288 get_fb_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, const GLenum attachment) get_fb_attachment() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPipelineVk.cpp226 // attachment writes are undefined for components which do not correspond to a fragment in VulkanColorWriteMask()
235 VkPipelineColorBlendAttachmentState attachment; in ComputeColorDesc() local
236 attachment.blendEnable = state->blend != nullptr ? VK_TRUE : VK_FALSE; in ComputeColorDesc()
237 if (attachment.blendEnable) { in ComputeColorDesc()
238 attachment.srcColorBlendFactor = VulkanBlendFactor(state->blend->color.srcFactor); in ComputeColorDesc()
239 attachment.dstColorBlendFactor = VulkanBlendFactor(state->blend->color.dstFactor); in ComputeColorDesc()
240 attachment.colorBlendOp = VulkanBlendOperation(state->blend->color.operation); in ComputeColorDesc()
241 attachment.srcAlphaBlendFactor = VulkanBlendFactor(state->blend->alpha.srcFactor); in ComputeColorDesc()
242 attachment.dstAlphaBlendFactor = VulkanBlendFactor(state->blend->alpha.dstFactor); in ComputeColorDesc()
243 attachment in ComputeColorDesc()
[all...]
/third_party/skia/experimental/webgpu-bazel/src/
H A Dbindings.cpp77 wgpu::RenderPassColorAttachment attachment{}; in drawPipeline()
78 attachment.view = view; in drawPipeline()
79 attachment.loadOp = wgpu::LoadOp::Clear; in drawPipeline()
80 attachment.storeOp = wgpu::StoreOp::Store; in drawPipeline()
81 attachment.clearColor = clearColor; in drawPipeline()
85 renderpass.colorAttachments = &attachment; in drawPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DFramebuffer11.cpp35 const gl::FramebufferAttachment *attachment) in MarkAttachmentsDirty()
37 if (attachment->type() == GL_TEXTURE) in MarkAttachmentsDirty()
39 gl::Texture *texture = attachment->getTexture(); in MarkAttachmentsDirty()
51 texStorage11->markLevelDirty(attachment->mipLevel()); in MarkAttachmentsDirty()
198 // In ES 3.0.4, if a specified attachment has base internal format DEPTH_STENCIL but the in invalidateBase()
231 const gl::FramebufferAttachment *attachment) const in invalidateAttachment()
235 ASSERT(attachment && attachment->isAttached()); in invalidateAttachment()
238 ANGLE_TRY(attachment->getRenderTarget(context, 0, &renderTarget)); in invalidateAttachment()
417 const gl::FramebufferAttachment *attachment in getSamplePosition() local
34 MarkAttachmentsDirty(const gl::Context *context, const gl::FramebufferAttachment *attachment) MarkAttachmentsDirty() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTestsUtil.cpp97 attachment = attachment_; in AttachmentReference1()
109 attachment = attachment_; in AttachmentReference2()
371 AttachmentReference::AttachmentReference (deUint32 attachment, in AttachmentReference() argument
375 :m_attachment (attachment) in AttachmentReference()
615 AttachmentDesc createAttachmentDescription (const Attachment& attachment) in createAttachmentDescription() argument
622 attachment.getFormat(), // VkFormat format; || VkFormat format; in createAttachmentDescription()
623 attachment.getSamples(), // VkSampleCountFlagBits samples; || VkSampleCountFlagBits samples; in createAttachmentDescription()
624 attachment.getLoadOp(), // VkAttachmentLoadOp loadOp; || VkAttachmentLoadOp loadOp; in createAttachmentDescription()
625 attachment.getStoreOp(), // VkAttachmentStoreOp storeOp; || VkAttachmentStoreOp storeOp; in createAttachmentDescription()
626 attachment in createAttachmentDescription()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassTestsUtil.cpp97 attachment = attachment_; in AttachmentReference1()
109 attachment = attachment_; in AttachmentReference2()
371 AttachmentReference::AttachmentReference (deUint32 attachment, in AttachmentReference() argument
375 :m_attachment (attachment) in AttachmentReference()
615 AttachmentDesc createAttachmentDescription (const Attachment& attachment) in createAttachmentDescription() argument
622 attachment.getFormat(), // VkFormat format; || VkFormat format; in createAttachmentDescription()
623 attachment.getSamples(), // VkSampleCountFlagBits samples; || VkSampleCountFlagBits samples; in createAttachmentDescription()
624 attachment.getLoadOp(), // VkAttachmentLoadOp loadOp; || VkAttachmentLoadOp loadOp; in createAttachmentDescription()
625 attachment.getStoreOp(), // VkAttachmentStoreOp storeOp; || VkAttachmentStoreOp storeOp; in createAttachmentDescription()
626 attachment in createAttachmentDescription()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DRenderTargetCache.h9 // attachment, be they Textures, Renderbuffers, or Surfaces. The cache is updated in Framebuffer's
53 const gl::FramebufferAttachment *attachment,
156 const gl::FramebufferAttachment *attachment, in updateCachedRenderTarget()
160 if (attachment) in updateCachedRenderTarget()
162 ASSERT(attachment->isAttached()); in updateCachedRenderTarget()
163 ANGLE_TRY(attachment->getRenderTarget(context, attachment->getRenderToTextureSamples(), in updateCachedRenderTarget()
154 updateCachedRenderTarget( const gl::Context *context, const gl::FramebufferAttachment *attachment, RenderTargetT **cachedRenderTarget) updateCachedRenderTarget() argument
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DFramebuffer.cpp17 Framebuffer::Framebuffer(vk::Device device, vk::PhysicalDevice physicalDevice, vk::ImageView attachment, vk::Format colorFormat, vk::RenderPass renderPass, vk::Extent2D extent, bool multisample) in Framebuffer() argument
26 // We'll be rendering to attachment location 0 in Framebuffer()
28 attachments[1] = attachment; // Resolve attachment in Framebuffer()
32 attachments[0] = attachment; in Framebuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.cpp253 GLenum attachment; in ClearTexture() local
255 attachment = GL_DEPTH_STENCIL_ATTACHMENT; in ClearTexture()
257 attachment = GL_DEPTH_ATTACHMENT; in ClearTexture()
259 attachment = GL_STENCIL_ATTACHMENT; in ClearTexture()
285 gl.FramebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
309 GL_DRAW_FRAMEBUFFER, attachment, GetHandle(), in ClearTexture()
378 GLenum attachment = GL_COLOR_ATTACHMENT0; in ClearTexture() local
379 gl.DrawBuffers(1, &attachment); in ClearTexture()
419 gl.FramebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
427 gl.FramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
[all...]

Completed in 23 milliseconds

12345678910>>...14