/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | FramebufferFetchTest.cpp | 400 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 D | CommandEncoder.cpp | 344 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 D | RenderPassDescriptorValidationTests.cpp | 104 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 D | Framebuffer11.cpp | 69 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 D | vktDrawMultisampleLinearInterpolationTests.cpp | 367 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 D | vktDrawBaseClass.cpp | 123 std::vector<vk::VkImageView> colorAttachments { *m_colorTargetView }; in initialize() 124 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initialize()
|
H A D | vktDrawMultipleInterpolationTests.cpp | 748 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 D | vktDrawAhbTests.cpp | 373 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 D | vktDrawExplicitVertexParameterTests.cpp | 425 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 D | vktDrawOHOSNativeBufferTests.cpp | 386 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 D | vktDrawMultisampleLinearInterpolationTests.cpp | 367 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 D | vktDrawBaseClass.cpp | 96 std::vector<vk::VkImageView> colorAttachments { *m_colorTargetView }; in initialize() 97 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in initialize()
|
H A D | vktDrawMultipleInterpolationTests.cpp | 750 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 D | vktDrawAhbTests.cpp | 373 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 D | vktDrawExplicitVertexParameterTests.cpp | 425 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 D | es3fFboStateQueryTests.cpp | 655 } 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 D | GrDawnOpsRenderPass.cpp | 70 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 D | GPUCommandEncoder.cpp | 41 if (!conv(desc.colorAttachments, desc.colorAttachmentCount, descriptor.colorAttachments) || in beginRenderPass()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineFramebufferAttachmentTests.cpp | 409 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 D | vktDynamicStateBaseClass.cpp | 213 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 D | vktDynamicStateBaseClass.cpp | 209 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 D | FramebufferD3D.cpp | 325 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 D | vktPipelineFramebufferAttachmentTests.cpp | 414 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 D | vktImageTestsUtil.cpp | 289 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 D | vktImageTestsUtil.cpp | 289 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()
|