Home
last modified time | relevance | path

Searched refs:colorAttachments (Results 1 – 25 of 39) sorted by relevance

12

/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm40 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
190 fRenderPassDesc.colorAttachments[0].clearColor = MTLClearColorMake(color.fR, color.fG, color.fB,
192 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionClear;
195 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
241 renderPassDesc.colorAttachments[0].texture =
243 renderPassDesc.colorAttachments[0].slice = 0;
244 renderPassDesc.colorAttachments[0].level = 0;
246 renderPassDesc.colorAttachments[0].clearColor =
248 renderPassDesc.colorAttachments[0].loadAction =
250 renderPassDesc.colorAttachments[0].storeAction =
DGrMtlCopyManager.mm192 renderPassDesc.colorAttachments[0].texture = dstTex;
193 renderPassDesc.colorAttachments[0].slice = 0;
194 renderPassDesc.colorAttachments[0].level = 0;
195 renderPassDesc.colorAttachments[0].loadAction = canDiscardOutsideDstRect ? MTLLoadActionDontCare
197 renderPassDesc.colorAttachments[0].storeAction = MTLStoreActionStore;
DGrMtlCopyPipelineState.mm23 pipelineDescriptor.colorAttachments[0].pixelFormat = dstPixelFormat;
DGrMtlPipelineStateBuilder.mm346 pipelineDescriptor.colorAttachments[0] = create_color_attachment(this->config(), pipeline);
351 SkASSERT(pipelineDescriptor.colorAttachments[0]);
364 pipelineDescriptor.colorAttachments[0].pixelFormat,
/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm153 [objCDesc.colorAttachments setObject:ToObjC(desc.outputDescriptor.colorAttachments[i])
584 if (colorAttachments[i] != rhs.colorAttachments[i])
685 auto &renderPassColorAttachment = this->colorAttachments[i];
689 outputDescriptor.colorAttachments[i].update(blendState);
694 outputDescriptor.colorAttachments[i].pixelFormat = texture->pixelFormat();
699 outputDescriptor.colorAttachments[i].writeMask &= texture->getColorWritableMask();
703 outputDescriptor.colorAttachments[i].pixelFormat = MTLPixelFormatInvalid;
725 auto &renderPassColorAttachment = colorAttachments[i];
726 auto &otherRPAttachment = other.colorAttachments[i];
746 auto &renderPassColorAttachment = colorAttachments[i];
[all …]
Dmtl_command_buffer.mm352 if (mRenderPassDesc.colorAttachments[i].storeAction == MTLStoreActionUnknown)
355 mRenderPassDesc.colorAttachments[i].storeAction = MTLStoreActionDontCare;
361 [metalEncoder setColorStoreAction:mRenderPassDesc.colorAttachments[i].storeAction
435 initWriteDependencyAndStoreAction(mRenderPassDesc.colorAttachments[i].texture,
436 &mRenderPassDesc.colorAttachments[i].storeAction);
437 mColorInitialStoreActions[i] = mRenderPassDesc.colorAttachments[i].storeAction;
461 setColorStoreAction(desc.colorAttachments[i].storeAction, i);
773 mRenderPassDesc.colorAttachments[colorAttachmentIndex].storeAction = action;
DFrameBufferMtl.mm321 for (mtl::RenderPassColorAttachmentDesc &colorAttachment : mRenderPassDesc.colorAttachments)
362 mRenderPassDesc.colorAttachments[colorIndexGL].reset();
415 desc.colorAttachments[attachmentIdx++];
461 tempDesc.colorAttachments[attachmentIdx];
634 mRenderPassDesc.colorAttachments[i];
Dmtl_state_cache.h194 RenderPipelineColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member
295 RenderPassColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm198 renderPassDesc.colorAttachments[0].texture =
200 renderPassDesc.colorAttachments[0].slice = 0;
201 renderPassDesc.colorAttachments[0].level = 0;
203 renderPassDesc.colorAttachments[0].clearColor =
205 renderPassDesc.colorAttachments[0].loadAction =
207 renderPassDesc.colorAttachments[0].storeAction =
229 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
DGrMtlCommandBuffer.mm76 if (compatible(fPreviousRenderPassDescriptor.colorAttachments[0],
77 descriptor.colorAttachments[0], pipelineState) &&
DGrMtlGpu.mm1388 renderPassDesc.colorAttachments[0].texture = colorTexture;
1389 renderPassDesc.colorAttachments[0].slice = 0;
1390 renderPassDesc.colorAttachments[0].level = 0;
1391 renderPassDesc.colorAttachments[0].resolveTexture = resolveTexture;
1392 renderPassDesc.colorAttachments[0].slice = 0;
1393 renderPassDesc.colorAttachments[0].level = 0;
1394 renderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
1395 renderPassDesc.colorAttachments[0].storeAction = MTLStoreActionMultisampleResolve;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp69 const auto &colorAttachments = mState.getColorAttachments(); in markAttachmentsDirty() local
72 const gl::FramebufferAttachment &colorAttachment = colorAttachments[drawBuffer]; in markAttachmentsDirty()
295 const auto &colorAttachments = mState.getColorAttachments(); in blitImpl() local
298 for (size_t colorAttachment = 0; colorAttachment < colorAttachments.size(); in blitImpl()
301 const gl::FramebufferAttachment &drawBuffer = colorAttachments[colorAttachment]; in blitImpl()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBaseClass.cpp91 std::vector<vk::VkImageView> colorAttachments(1); in initialize() local
92 colorAttachments[0] = *m_colorTargetView; in initialize()
94 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in initialize()
DvktDrawDifferingInterpolationTests.cpp218 vector<VkImageView> colorAttachments (1); in iterate() local
221 colorAttachments[0] = *colorTargetView; in iterate()
223 …const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, … in iterate()
DvktDrawInvertedDepthRangesTests.cpp160 std::vector<VkImageView> colorAttachments(1); in InvertedDepthRangesTestInstance() local
161 colorAttachments[0] = *m_colorTargetView; in InvertedDepthRangesTestInstance()
163 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, 256, 256, 1); in InvertedDepthRangesTestInstance()
DvktDrawNegativeViewportHeightTests.cpp173 std::vector<VkImageView> colorAttachments(1); in NegativeViewportHeightTestInstance() local
174 colorAttachments[0] = *m_colorTargetView; in NegativeViewportHeightTestInstance()
176 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in NegativeViewportHeightTestInstance()
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp69 wgpu::RenderPassColorAttachmentDescriptor* colorAttachments = { &colorAttachment }; in beginRenderPass() local
72 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp159 std::vector<vk::VkImageView> colorAttachments(1); in initFramebuffer() local
160 colorAttachments[0] = *m_colorTargetView; in initFramebuffer()
162 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in initFramebuffer()
/external/deqp/modules/gles3/functional/
Des3fFboStateQueryTests.cpp654 } colorAttachments[] = in test() local
663 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorAttachments); ++ndx) in test()
664colorAttachments[ndx].internalFormat, GL_COLOR_ATTACHMENT0, colorAttachments[ndx].bitsR, colorAtta… in test()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp306 const auto &colorAttachments = mState.getColorAttachments(); in getColorAttachmentsForRender() local
310 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender()
313 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp304 …std::vector<VkPipelineColorBlendAttachmentState> colorAttachments (colorAttachmentCount, colorB… in makeGraphicsPipeline() local
313 …(deUint32)colorAttachments.size(), // deUint32 attachme… in makeGraphicsPipeline()
314colorAttachments.size() != 0 ? &colorAttachments[0] : DE_NULL, // const VkPipelineColorBlendAttach… in makeGraphicsPipeline()
/external/deqp/external/vulkancts/framework/vulkan/
DvkObjUtil.cpp589 const VkImageView* colorAttachments, in makeFramebuffer() argument
601 colorAttachments, // const VkImageView* pAttachments; in makeFramebuffer()
DvkObjUtil.hpp130 const VkImageView* colorAttachments,
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp409 vector<SharedPtrVkImageView> colorAttachments; in test() local
459colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorI… in test()
461 attachmentHandles.push_back(**colorAttachments.back()); in test()
1048 vector<SharedPtrVkImageView> colorAttachments; in testDifferentAttachmentSizes() local
1111colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorI… in testDifferentAttachmentSizes()
1112 attachmentHandles.push_back(**colorAttachments.back()); in testDifferentAttachmentSizes()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp586 const vector<AttachmentReference>& colorAttachments, in Subpass() argument
594 , m_colorAttachments (colorAttachments) in Subpass()
900 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments(); in logRenderPassInfo() local
929 if (!colorAttachments.empty()) in logRenderPassInfo()
933 for (size_t colorNdx = 0; colorNdx < colorAttachments.size(); colorNdx++) in logRenderPassInfo()
936 const AttachmentReference& colorAttachment = colorAttachments[colorNdx]; in logRenderPassInfo()
1616 deUint32 getAttachmentNdx (const vector<AttachmentReference>& colorAttachments, size_t ndx) in getAttachmentNdx() argument
1618 …return (colorAttachments[ndx].getAttachment() == VK_ATTACHMENT_UNUSED) ? (deUint32)ndx : colorAtta… in getAttachmentNdx()
3104 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments(); in renderReferenceValues() local
3107 for (size_t attachmentNdx = 0; attachmentNdx < colorAttachments.size(); attachmentNdx++) in renderReferenceValues()
[all …]

12