Home
last modified time | relevance | path

Searched refs:colorAttachments (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DFramebufferFetchTest.cpp400 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetTest() local
417 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetTest()
420 glDrawBuffers(kMaxColorBuffer, &colorAttachments[0]); in MultipleRenderTargetTest()
433 glReadBuffer(colorAttachments[0]); in MultipleRenderTargetTest()
435 glReadBuffer(colorAttachments[1]); in MultipleRenderTargetTest()
437 glReadBuffer(colorAttachments[2]); in MultipleRenderTargetTest()
439 glReadBuffer(colorAttachments[3]); in MultipleRenderTargetTest()
454 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetArrayTest() local
471 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetArrayTest()
474 glDrawBuffers(kMaxColorBuffer, &colorAttachments[ in MultipleRenderTargetArrayTest()
697 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, DrawNonFetchDrawFetchWithDifferentAttachmentsTest() local
815 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, DrawNonFetchDrawFetchWithDifferentProgramsTest() local
893 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, DrawFetchBlitDrawFetchTest() local
1496 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, TEST_P() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DCommandEncoder.cpp344 ValidateRenderPassColorAttachment(device, descriptor->colorAttachments[i], in ValidateRenderPassDescriptor()
346 "validating colorAttachments[%u].", i); in ValidateRenderPassDescriptor()
571 TextureViewBase* view = descriptor->colorAttachments[i].view; in APIBeginRenderPass()
572 TextureViewBase* resolveTarget = descriptor->colorAttachments[i].resolveTarget; in APIBeginRenderPass()
574 cmd->colorAttachments[index].view = view; in APIBeginRenderPass()
575 cmd->colorAttachments[index].resolveTarget = resolveTarget; in APIBeginRenderPass()
576 cmd->colorAttachments[index].loadOp = descriptor->colorAttachments[i].loadOp; in APIBeginRenderPass()
577 cmd->colorAttachments[index].storeOp = descriptor->colorAttachments[ in APIBeginRenderPass()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderPassDescriptorValidationTests.cpp104 std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments + 1> colorAttachments; in TEST_F() local
105 for (uint32_t i = 0; i < colorAttachments.size(); i++) { in TEST_F()
106 colorAttachments[i].view = in TEST_F()
108 colorAttachments[i].resolveTarget = nullptr; in TEST_F()
109 colorAttachments[i].clearColor = {0.0f, 0.0f, 0.0f, 0.0f}; in TEST_F()
110 colorAttachments[i].loadOp = wgpu::LoadOp::Clear; in TEST_F()
111 colorAttachments[i].storeOp = wgpu::StoreOp::Store; in TEST_F()
118 renderPass.colorAttachments = colorAttachments.data(); in TEST_F()
127 renderPass.colorAttachments in TEST_F()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawMultisampleLinearInterpolationTests.cpp367 std::vector<VkRenderingAttachmentInfo> colorAttachments(imagesCount, in iterate()
385 colorAttachments[i].imageView = *multisampleViews[i]; in iterate()
386 colorAttachments[i].resolveMode = VK_RESOLVE_MODE_AVERAGE_BIT; in iterate()
387 colorAttachments[i].resolveImageView = *colorTargetViews[i]; in iterate()
391 colorAttachments[i].imageView = *colorTargetViews[i]; in iterate()
404 colorAttachments.data(), // const VkRenderingAttachmentInfoKHR* pColorAttachments; in iterate()
H A DvktDrawBaseClass.cpp123 std::vector<vk::VkImageView> colorAttachments { *m_colorTargetView }; in initialize()
124 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initialize()
H A DvktDrawMultipleInterpolationTests.cpp748 std::vector<vk::VkRenderingAttachmentInfoKHR> colorAttachments(imagesCount, in beginDynamicRender()
766 colorAttachments[i].imageView = **m_multisampleViews[i]; in beginDynamicRender()
767 colorAttachments[i].resolveMode = vk::VK_RESOLVE_MODE_AVERAGE_BIT; in beginDynamicRender()
768 colorAttachments[i].resolveImageView = **m_colorTargetViews[i]; in beginDynamicRender()
771 colorAttachments[i].imageView = **m_colorTargetViews[i]; in beginDynamicRender()
783 colorAttachments.data(), // const VkRenderingAttachmentInfoKHR* pColorAttachments; in beginDynamicRender()
H A DvktDrawAhbTests.cpp373 vector<VkImageView> colorAttachments; in iterate() local
400 colorAttachments.push_back(*imageViews.back()); in iterate()
432 const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, 1); in iterate()
H A DvktDrawExplicitVertexParameterTests.cpp425 vector<VkImageView> colorAttachments { *m_colorTargetView }; in iterate()
427 colorAttachments.push_back(*m_multisampleTargetView); in iterate()
429 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in iterate()
H A DvktDrawOHOSNativeBufferTests.cpp386 vector<VkImageView> colorAttachments; in iterate() local
413 colorAttachments.push_back(*imageViews.back()); in iterate()
445 const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, 1); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawMultisampleLinearInterpolationTests.cpp367 std::vector<VkRenderingAttachmentInfo> colorAttachments(imagesCount, in iterate()
385 colorAttachments[i].imageView = *multisampleViews[i]; in iterate()
386 colorAttachments[i].resolveMode = VK_RESOLVE_MODE_AVERAGE_BIT; in iterate()
387 colorAttachments[i].resolveImageView = *colorTargetViews[i]; in iterate()
391 colorAttachments[i].imageView = *colorTargetViews[i]; in iterate()
404 colorAttachments.data(), // const VkRenderingAttachmentInfoKHR* pColorAttachments; in iterate()
H A DvktDrawBaseClass.cpp96 std::vector<vk::VkImageView> colorAttachments { *m_colorTargetView }; in initialize()
97 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initialize()
H A DvktDrawMultipleInterpolationTests.cpp750 std::vector<vk::VkRenderingAttachmentInfoKHR> colorAttachments(imagesCount, in beginDynamicRender()
768 colorAttachments[i].imageView = **m_multisampleViews[i]; in beginDynamicRender()
769 colorAttachments[i].resolveMode = vk::VK_RESOLVE_MODE_AVERAGE_BIT; in beginDynamicRender()
770 colorAttachments[i].resolveImageView = **m_colorTargetViews[i]; in beginDynamicRender()
773 colorAttachments[i].imageView = **m_colorTargetViews[i]; in beginDynamicRender()
785 colorAttachments.data(), // const VkRenderingAttachmentInfoKHR* pColorAttachments; in beginDynamicRender()
H A DvktDrawAhbTests.cpp373 vector<VkImageView> colorAttachments; in iterate() local
400 colorAttachments.push_back(*imageViews.back()); in iterate()
432 const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, 1); in iterate()
H A DvktDrawExplicitVertexParameterTests.cpp425 vector<VkImageView> colorAttachments { *m_colorTargetView }; in iterate()
427 colorAttachments.push_back(*m_multisampleTargetView); in iterate()
429 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboStateQueryTests.cpp655 } colorAttachments[] = in test() local
664 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorAttachments); ++ndx) in test()
665 testColorAttachment(colorAttachments[ndx].internalFormat, GL_COLOR_ATTACHMENT0, colorAttachments[ndx].bitsR, colorAttachments[ndx].bitsG, colorAttachments[ndx].bitsB, colorAttachments[ndx].bitsA); in test()
/third_party/skia/src/gpu/dawn/
H A DGrDawnOpsRenderPass.cpp70 wgpu::RenderPassColorAttachment* colorAttachments = { &colorAttachment }; in beginRenderPass() local
73 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUCommandEncoder.cpp41 if (!conv(desc.colorAttachments, desc.colorAttachmentCount, descriptor.colorAttachments) || in beginRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineFramebufferAttachmentTests.cpp409 vector<SharedPtrVkImageView> colorAttachments; in test() local
460 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorImage : *msColorImage, in test()
462 attachmentHandles.push_back(**colorAttachments.back()); in test()
1058 vector<SharedPtrVkImageView> colorAttachments; in testMultiAttachments() local
1125 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorImages[renderTargetIdx] : *msColorImages[renderTargetIdx], imageViewType, COLOR_FORMAT, range))); in testMultiAttachments()
1126 attachmentHandles.push_back(**colorAttachments.back()); in testMultiAttachments()
1481 vector<SharedPtrVkImageView> colorAttachments; in testInputResolveSameAttachment() local
1539 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, *msColorImage, imageViewType, COLOR_FORMAT, range))); in testInputResolveSameAttachment()
1540 attachmentHandles.push_back(**colorAttachments.back()); in testInputResolveSameAttachment()
1542 colorAttachments in testInputResolveSameAttachment()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.cpp213 std::vector<vk::VkImageView> colorAttachments(1); in initFramebuffer()
214 colorAttachments[0] = *m_colorTargetView; in initFramebuffer()
216 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateBaseClass.cpp209 std::vector<vk::VkImageView> colorAttachments(1); in initFramebuffer()
210 colorAttachments[0] = *m_colorTargetView; in initFramebuffer()
212 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initFramebuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DFramebufferD3D.cpp325 const auto &colorAttachments = mState.getColorAttachments(); in getColorAttachmentsForRender() local
329 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender()
332 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineFramebufferAttachmentTests.cpp414 vector<SharedPtrVkImageView> colorAttachments; in test() local
465 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorImage : *msColorImage, in test()
468 attachmentHandles.push_back(**colorAttachments.back()); in test()
1068 vector<SharedPtrVkImageView> colorAttachments; in testMultiAttachments() local
1135 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorImages[renderTargetIdx] : *msColorImages[renderTargetIdx], imageViewType, COLOR_FORMAT, range))); in testMultiAttachments()
1137 attachmentHandles.push_back(**colorAttachments.back()); in testMultiAttachments()
1495 vector<SharedPtrVkImageView> colorAttachments; in testInputResolveSameAttachment() local
1553 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, *msColorImage, imageViewType, COLOR_FORMAT, range))); in testInputResolveSameAttachment()
1555 attachmentHandles.push_back(**colorAttachments.back()); in testInputResolveSameAttachment()
1557 colorAttachments in testInputResolveSameAttachment()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.cpp289 std::vector<VkPipelineColorBlendAttachmentState> colorAttachments (colorAttachmentCount, colorBlendAttachmentState); in makeGraphicsPipeline()
298 (deUint32)colorAttachments.size(), // deUint32 attachmentCount; in makeGraphicsPipeline()
299 colorAttachments.size() != 0 ? &colorAttachments[0] : DE_NULL, // const VkPipelineColorBlendAttachmentState* pAttachments; in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTestsUtil.cpp289 std::vector<VkPipelineColorBlendAttachmentState> colorAttachments (colorAttachmentCount, colorBlendAttachmentState); in makeGraphicsPipeline()
298 (deUint32)colorAttachments.size(), // deUint32 attachmentCount; in makeGraphicsPipeline()
299 colorAttachments.size() != 0 ? &colorAttachments[0] : DE_NULL, // const VkPipelineColorBlendAttachmentState* pAttachments; in makeGraphicsPipeline()

Completed in 33 milliseconds

1234