/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPassDescriptorValidationTests.cpp | 78 utils::ComboRenderPassDescriptor renderPass({}, nullptr); in TEST_F() local 79 AssertBeginRenderPassError(&renderPass); in TEST_F() 88 utils::ComboRenderPassDescriptor renderPass({color}); in TEST_F() local 90 AssertBeginRenderPassSuccess(&renderPass); in TEST_F() 96 utils::ComboRenderPassDescriptor renderPass({}, depthStencil); in TEST_F() local 98 AssertBeginRenderPassSuccess(&renderPass); in TEST_F() 116 wgpu::RenderPassDescriptor renderPass; in TEST_F() local 117 renderPass.colorAttachmentCount = kMaxColorAttachments; in TEST_F() 118 renderPass.colorAttachments = colorAttachments.data(); in TEST_F() 119 renderPass.depthStencilAttachment = nullptr; in TEST_F() [all …]
|
D | RenderBundleValidationTests.cpp | 128 DummyRenderPass renderPass(device); in TEST_F() local 132 desc.cColorFormats[0] = renderPass.attachmentFormat; in TEST_F() 138 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 148 DummyRenderPass renderPass(device); in TEST_F() local 160 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 168 DummyRenderPass renderPass(device); in TEST_F() local 171 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 179 DummyRenderPass renderPass(device); in TEST_F() local 183 desc.cColorFormats[0] = renderPass.attachmentFormat; in TEST_F() 194 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() [all …]
|
D | QueryValidationTests.cpp | 85 DummyRenderPass renderPass(device); in TEST_F() local 89 renderPass.occlusionQuerySet = occlusionQuerySet; in TEST_F() 91 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 116 renderPass.occlusionQuerySet = occlusionQuerySetOnOther; in TEST_F() 118 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 124 renderPass.occlusionQuerySet = wgpu::QuerySet(); in TEST_F() 129 renderPass.occlusionQuerySet = occlusionQuerySet; in TEST_F() 131 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 145 DummyRenderPass renderPass(device); in TEST_F() local 146 renderPass.occlusionQuerySet = occlusionQuerySet; in TEST_F() [all …]
|
D | VertexBufferValidationTests.cpp | 91 DummyRenderPass renderPass(device); in TEST_F() local 104 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 114 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 128 DummyRenderPass renderPass(device); in TEST_F() local 141 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 149 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 160 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 168 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 180 DummyRenderPass renderPass(device); in TEST_F() local 185 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | DynamicStateCommandValidationTests.cpp | 23 DummyRenderPass renderPass(device); in TEST_F() local 27 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 36 DummyRenderPass renderPass(device); in TEST_F() local 41 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 50 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 59 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 68 DummyRenderPass renderPass(device); in TEST_F() local 73 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 82 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() 91 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_F() [all …]
|
D | RenderPassDescriptorValidationTests.cpp | 77 utils::ComboRenderPassDescriptor renderPass({}, nullptr); in TEST_F() local 78 AssertBeginRenderPassError(&renderPass); in TEST_F() 86 utils::ComboRenderPassDescriptor renderPass({color}); in TEST_F() local 88 AssertBeginRenderPassSuccess(&renderPass); in TEST_F() 94 utils::ComboRenderPassDescriptor renderPass({}, depthStencil); in TEST_F() local 96 AssertBeginRenderPassSuccess(&renderPass); in TEST_F() 108 utils::ComboRenderPassDescriptor renderPass({color1, color2, color3, color4}); in TEST_F() local 109 AssertBeginRenderPassSuccess(&renderPass); in TEST_F() 139 dawn::RenderPassDescriptor renderPass; in TEST_F() local 140 renderPass.colorAttachmentCount = kMaxColorAttachments + 1; in TEST_F() [all …]
|
D | RenderPipelineValidationTests.cpp | 172 dawn::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() local 173 renderPass.SetPipeline(nonMultisampledPipeline); in TEST_F() 174 renderPass.EndPass(); in TEST_F() 189 dawn::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() local 190 renderPass.SetPipeline(nonMultisampledPipelineWithDepthStencilOnly); in TEST_F() 191 renderPass.EndPass(); in TEST_F() 208 dawn::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() local 209 renderPass.SetPipeline(multisampledPipeline); in TEST_F() 210 renderPass.EndPass(); in TEST_F() 225 dawn::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() local [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ScissorTests.cpp | 52 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 100, 100); in TEST_P() local 53 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P() 57 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 66 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 0); in TEST_P() 67 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 99); in TEST_P() 68 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 0); in TEST_P() 69 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 99); in TEST_P() 74 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 100, 100); in TEST_P() local 75 wgpu::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P() 84 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | IndexFormatTests.cpp | 28 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 31 utils::BasicRenderPass renderPass; member in IndexFormatTest 63 descriptor.cTargets[0].format = renderPass.colorFormat; in MakeTestPipeline() 83 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 94 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P() 110 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 121 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P() 141 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 153 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P() 170 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | MultisampledRenderingTests.cpp | 125 const wgpu::RenderPassDescriptor& renderPass, in EncodeRenderPassForTest() argument 134 wgpu::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in EncodeRenderPassForTest() 142 const wgpu::RenderPassDescriptor& renderPass, in EncodeRenderPassForTest() argument 147 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, uniformData, in EncodeRenderPassForTest() 162 utils::ComboRenderPassDescriptor renderPass(colorViews); in CreateComboRenderPassDescriptorForTest() local 165 renderPass.cColorAttachments[i].loadOp = colorLoadOp; in CreateComboRenderPassDescriptorForTest() 166 renderPass.cColorAttachments[i].clearColor = kClearColor; in CreateComboRenderPassDescriptorForTest() 167 renderPass.cColorAttachments[i].resolveTarget = resolveTargetView; in CreateComboRenderPassDescriptorForTest() 171 renderPass.cDepthStencilAttachmentInfo.clearDepth = kClearDepth; in CreateComboRenderPassDescriptorForTest() 172 renderPass.cDepthStencilAttachmentInfo.depthLoadOp = depthStencilLoadOp; in CreateComboRenderPassDescriptorForTest() [all …]
|
D | DestroyTests.cpp | 30 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 51 descriptor.cTargets[0].format = renderPass.colorFormat; in SetUp() 61 encoder.BeginRenderPass(&renderPass.renderPassInfo).EndPass(); in SetUp() 66 utils::BasicRenderPass renderPass; member in DestroyTest 73 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in CreateTriangleCommandBuffer() 92 EXPECT_PIXEL_RGBA8_EQ(notFilled, renderPass.color, 1, 3); in TEST_P() 102 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 113 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 121 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 127 renderPass.color.Destroy(); in TEST_P() [all …]
|
D | RenderBundleTests.cpp | 32 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 58 descriptor.cTargets[0].format = renderPass.colorFormat; in SetUp() 86 utils::BasicRenderPass renderPass; member in RenderBundleTest 96 desc.cColorFormats[0] = renderPass.colorFormat; in TEST_P() 109 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 116 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 1, 3); in TEST_P() 117 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 3, 1); in TEST_P() 124 desc.cColorFormats[0] = renderPass.colorFormat; in TEST_P() 150 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 157 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 1, 3); in TEST_P() [all …]
|
D | GpuMemorySynchronizationTests.cpp | 128 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 1, 1); in TEST_P() local 132 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P() 138 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 149 EXPECT_PIXEL_RGBA8_EQ(RGBA8(iteration, 0, 0, 255), renderPass.color, 0, 0); in TEST_P() 157 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 1, 1); in TEST_P() local 161 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P() 170 wgpu::RenderPassEncoder pass0 = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 199 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 1, 1); in TEST_P() local 203 CreatePipelineAndBindGroupForRender(buffer, renderPass.colorFormat); in TEST_P() 215 wgpu::RenderPassEncoder pass1 = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | DrawIndexedIndirectTests.cpp | 28 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 50 descriptor.cTargets[0].format = renderPass.colorFormat; in SetUp() 65 utils::BasicRenderPass renderPass; member in DrawIndexedIndirectTest 86 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in EncodeDrawCommands() 100 EXPECT_PIXEL_RGBA8_EQ(bottomLeftExpected, renderPass.color, 1, 3); in TestDraw() 101 EXPECT_PIXEL_RGBA8_EQ(topRightExpected, renderPass.color, 3, 1); in TestDraw() 284 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 297 EXPECT_PIXEL_RGBA8_EQ(notFilled, renderPass.color, 1, 3); in TEST_P() 298 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 3, 1); in TEST_P() 306 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | SubresourceRenderAttachmentTests.cpp | 45 utils::ComboRenderPassDescriptor renderPass = [&]() { in DoSingleTest() local 48 utils::ComboRenderPassDescriptor renderPass({renderTargetView}); in DoSingleTest() local 49 renderPass.cColorAttachments[0].clearColor = { in DoSingleTest() 55 return renderPass; in DoSingleTest() 58 utils::ComboRenderPassDescriptor renderPass({}, renderTargetView); in DoSingleTest() local 59 renderPass.cDepthStencilAttachmentInfo.clearDepth = expectedDepth; in DoSingleTest() 60 return renderPass; in DoSingleTest() 63 utils::ComboRenderPassDescriptor renderPass({}, renderTargetView); in DoSingleTest() local 64 renderPass.cDepthStencilAttachmentInfo.clearStencil = expectedStencil; in DoSingleTest() 65 return renderPass; in DoSingleTest() [all …]
|
D | RenderPassTests.cpp | 86 utils::ComboRenderPassDescriptor renderPass({renderTarget1.CreateView()}); in TEST_P() local 87 renderPass.cColorAttachments[0].clearColor = {1.0f, 0.0f, 0.0f, 1.0f}; in TEST_P() 89 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_P() 98 utils::ComboRenderPassDescriptor renderPass({renderTarget2.CreateView()}); in TEST_P() local 99 renderPass.cColorAttachments[0].clearColor = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() 101 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_P() 126 utils::ComboRenderPassDescriptor renderPass({renderTargetView}); in TEST_P() local 127 renderPass.cColorAttachments[0].clearColor = {1.0f, 0.0f, 0.0f, 1.0f}; in TEST_P() 128 renderPass.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P() 129 renderPass.cColorAttachments[0].storeOp = wgpu::StoreOp::Store; in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ScissorTests.cpp | 53 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 100, 100); in TEST_P() local 54 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P() 58 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 67 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 0, 0); in TEST_P() 68 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 0, 99); in TEST_P() 69 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 99, 0); in TEST_P() 70 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 99, 99); in TEST_P() 75 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 100, 100); in TEST_P() local 76 dawn::RenderPipeline pipeline = CreateQuadPipeline(renderPass.colorFormat); in TEST_P() 80 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | DestroyTests.cpp | 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 53 descriptor.cColorStates[0]->format = renderPass.colorFormat; in SetUp() 63 encoder.BeginRenderPass(&renderPass.renderPassInfo).EndPass(); in SetUp() 68 utils::BasicRenderPass renderPass; member in DestroyTest 76 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in CreateTriangleCommandBuffer() 95 EXPECT_PIXEL_RGBA8_EQ(notFilled, renderPass.color, 1, 3); in TEST_P() 105 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 116 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 124 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, 1, 3); in TEST_P() 130 renderPass.color.Destroy(); in TEST_P() [all …]
|
D | MultisampledRenderingTests.cpp | 103 const dawn::RenderPassDescriptor& renderPass, in EncodeRenderPassForTest() argument 114 dawn::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in EncodeRenderPassForTest() 132 utils::ComboRenderPassDescriptor renderPass(colorViews); in CreateComboRenderPassDescriptorForTest() local 135 renderPass.cColorAttachmentsInfoPtr[i]->loadOp = colorLoadOp; in CreateComboRenderPassDescriptorForTest() 136 renderPass.cColorAttachmentsInfoPtr[i]->clearColor = kClearColor; in CreateComboRenderPassDescriptorForTest() 137 renderPass.cColorAttachmentsInfoPtr[i]->resolveTarget = resolveTargetView; in CreateComboRenderPassDescriptorForTest() 141 renderPass.cDepthStencilAttachmentInfo.clearDepth = kClearDepth; in CreateComboRenderPassDescriptorForTest() 142 renderPass.cDepthStencilAttachmentInfo.depthLoadOp = depthStencilLoadOp; in CreateComboRenderPassDescriptorForTest() 145 renderPass.cDepthStencilAttachmentInfo.attachment = mDepthStencilView; in CreateComboRenderPassDescriptorForTest() 146 renderPass.depthStencilAttachment = &renderPass.cDepthStencilAttachmentInfo; in CreateComboRenderPassDescriptorForTest() [all …]
|
D | IndexFormatTests.cpp | 28 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp() 31 utils::BasicRenderPass renderPass; member in IndexFormatTest 59 descriptor.cColorStates[0]->format = renderPass.colorFormat; in MakeTestPipeline() 83 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 94 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 100, 300); in TEST_P() 114 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 125 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 100, 300); in TEST_P() 158 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 169 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 190, 190); // A in TEST_P() 170 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 210, 210); // B in TEST_P() [all …]
|
D | BindGroupTests.cpp | 99 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() local 135 textureDescriptor.cColorStates[0]->format = renderPass.colorFormat; in TEST_P() 158 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 170 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, min); in TEST_P() 171 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, max, min); in TEST_P() 172 EXPECT_PIXEL_RGBA8_EQ(filled, renderPass.color, min, max); in TEST_P() 173 EXPECT_PIXEL_RGBA8_EQ(notFilled, renderPass.color, max, max); in TEST_P() 183 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() local 219 pipelineDescriptor.cColorStates[0]->format = renderPass.colorFormat; in TEST_P() 277 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() [all …]
|
D | ViewportOrientationTests.cpp | 24 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, 2, 2); in TEST_P() local 45 descriptor.cColorStates[0]->format = renderPass.colorFormat; in TEST_P() 51 dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 60 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 255, 0, 255), renderPass.color, 0, 0); in TEST_P() 61 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 0, 0, 0), renderPass.color, 0, 1); in TEST_P() 62 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 0, 0, 0), renderPass.color, 1, 0); in TEST_P() 63 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 0, 0, 0), renderPass.color, 1, 1); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 75 void Framebuffer::executeLoadOp(const RenderPass *renderPass, uint32_t clearValueCount, const VkCle… in executeLoadOp() argument 81 ASSERT(attachmentCount == renderPass->getAttachmentCount()); in executeLoadOp() 86 const VkAttachmentDescription attachment = renderPass->getAttachment(i); in executeLoadOp() 120 if(!clearMask || !renderPass->isAttachmentUsed(i)) in executeLoadOp() 125 if(renderPass->isMultiView()) in executeLoadOp() 128 renderPass->getAttachmentViewMask(i)); in executeLoadOp() 137 void Framebuffer::clearAttachment(const RenderPass *renderPass, uint32_t subpassIndex, const VkClea… in clearAttachment() argument 139 VkSubpassDescription subpass = renderPass->getSubpass(subpassIndex); in clearAttachment() 151 if(renderPass->isMultiView()) in clearAttachment() 154 renderPass->getViewMask(subpassIndex)); in clearAttachment() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkCmdUtil.cpp | 51 const VkRenderPass renderPass, in beginRenderPass() argument 63 renderPass, // VkRenderPass renderPass; in beginRenderPass() 75 const VkRenderPass renderPass, in beginRenderPass() argument 81 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents); in beginRenderPass() 86 const VkRenderPass renderPass, in beginRenderPass() argument 94 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, clearValue, contents); in beginRenderPass() 99 const VkRenderPass renderPass, in beginRenderPass() argument 108 …beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents,… in beginRenderPass() 113 const VkRenderPass renderPass, in beginRenderPass() argument 128 …beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, DE_LENGTH_OF_ARRAY(clearVa… in beginRenderPass() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cTextureBarrierTests.cpp | 405 virtual void setupRenderPass(int testPass, int renderPass) = 0; 442 for (int renderPass = 0; renderPass < numRenderPasses(); ++renderPass) in iterate() local 445 setupRenderPass(testPass, renderPass); in iterate() 456 for (int renderPass = 0; renderPass < numRenderPasses(); ++renderPass) in iterate() local 459 setupRenderPass(testPass, renderPass); in iterate() 605 virtual void setupRenderPass(int testPass, int renderPass) in setupRenderPass() argument 609 if ((testPass == 0) && (renderPass == 0)) in setupRenderPass() 617 int newBlockSize = getBlockSize(testPass, renderPass); in setupRenderPass() 625 int newModulo = getModulo(testPass, renderPass); in setupRenderPass() 634 virtual int getBlockSize(int testPass, int renderPass) = 0; [all …]
|