/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthBiasTests.cpp | 22 constexpr static unsigned int kRTSize = 2; variable 78 descriptor.size = {kRTSize, kRTSize, 1}; in RunDepthBiasTest() 86 descriptor.size = {kRTSize, kRTSize, 1}; in RunDepthBiasTest() 159 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P() 179 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P() 201 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSiz in TEST_P() [all...] |
H A D | RenderPassLoadOpTests.cpp | 22 constexpr static unsigned int kRTSize = 16; variable 61 descriptor.size.width = kRTSize; 62 descriptor.size.height = kRTSize; 142 std::array<RGBA8, kRTSize * kRTSize> expectZero; 143 std::array<RGBA8, kRTSize * kRTSize> expectGreen; 144 std::array<RGBA8, kRTSize * kRTSize> expectBlue; 166 EXPECT_TEXTURE_EQ(expectZero.data(), renderTarget, {0, 0}, {kRTSize, kRTSiz in TEST_P() [all...] |
H A D | PrimitiveTopologyTests.cpp | 88 constexpr static unsigned int kRTSize = 32; variable 106 constexpr static unsigned int kOffset = kRTSize / 8; 109 { kRTSize * 1 / 4 + kOffset, kRTSize * 1 / 4 + kOffset }, 110 { kRTSize * 1 / 4 + kOffset, kRTSize * 3 / 4 + kOffset }, 111 { kRTSize * 2 / 4 + kOffset, kRTSize * 3 / 4 + kOffset }, 112 { kRTSize * 2 / 4 + kOffset, kRTSize * [all...] |
H A D | RenderPassTests.cpp | 20 constexpr uint32_t kRTSize = 16; variable 57 descriptor.size.width = kRTSize; in CreateDefault2DTexture() 58 descriptor.size.height = kRTSize; in CreateDefault2DTexture() 110 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kBlue, renderTarget1, 1, kRTSize - 1); in TEST_P() 111 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderTarget1, kRTSize - 1, 1); in TEST_P() 113 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kBlue, renderTarget2, 1, kRTSize - 1); in TEST_P() 114 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderTarget2, kRTSize - 1, 1); in TEST_P() 162 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kBlue, renderTarget, 2, kRTSize - 1); in TEST_P() 163 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderTarget, kRTSize - 1, 1); in TEST_P()
|
H A D | Texture3DTests.cpp | 21 constexpr static uint32_t kRTSize = 4; variable 27 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 62 wgpu::Extent3D copySize = {kRTSize, kRTSize, kRTSize}; in TEST_P() 112 for (uint32_t i = 0; i < kRTSize; ++i) { in TEST_P() 113 for (uint32_t j = 0; j < kRTSize; ++j) { in TEST_P()
|
H A D | BindGroupTests.cpp | 22 constexpr static uint32_t kRTSize = 8; variable 163 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 230 uint32_t min = 1, max = kRTSize - 3; in TEST_P() 241 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 293 descriptor.size.width = kRTSize; in TEST_P() 294 descriptor.size.height = kRTSize; in TEST_P() 303 uint32_t width = kRTSize, height = kRTSize; in TEST_P() 1398 constexpr uint32_t kRTSize = 4; TEST_P() local [all...] |
H A D | PrimitiveStateTests.cpp | 21 constexpr static unsigned int kRTSize = 1; variable 30 renderTargetDescriptor.size = {kRTSize, kRTSize}; 40 depthDescriptor.size = {kRTSize, kRTSize};
|
H A D | ColorStateTests.cpp | 26 constexpr static unsigned int kRTSize = 64; variable 52 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); 137 EXPECT_PIXEL_RGBA8_EQ(expected, renderPass.color, kRTSize / 2, kRTSize / 2); in DoSingleSourceTest() 764 EXPECT_PIXEL_RGBA8_EQ(expected, renderPass.color, kRTSize / 2, kRTSize / 2); in TEST_P() 777 descriptor.size.width = kRTSize; in TEST_P() 778 descriptor.size.height = kRTSize; in TEST_P() 900 EXPECT_PIXEL_RGBA8_EQ(expected0, renderTargets[0], kRTSize / in TEST_P() 976 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 0, 0, 0), renderPass.color, kRTSize / 2, kRTSize / 2); TEST_P() local 999 EXPECT_PIXEL_RGBA8_EQ(RGBA8(255, 255, 255, 255), renderPass.color, kRTSize / 2, TEST_P() local 1000 kRTSize / 2); TEST_P() local 1035 EXPECT_PIXEL_RGBA8_EQ(RGBA8(0, 0, 0, 0), renderPass.color, kRTSize / 2, kRTSize / 2); TEST_P() local [all...] |
H A D | DynamicBufferOffsetTests.cpp | 23 constexpr uint32_t kRTSize = 400; variable 214 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 235 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 301 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 358 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
|
H A D | DrawIndirectTests.cpp | 20 constexpr uint32_t kRTSize = 4; variable 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | DrawTests.cpp | 20 constexpr uint32_t kRTSize = 4; variable 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | DrawIndexedTests.cpp | 20 constexpr uint32_t kRTSize = 4; variable 27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | DepthStencilLoadOpTests.cpp | 54 constexpr static uint32_t kRTSize = 16; member 70 descriptor.size = {kRTSize, kRTSize}; 95 uint32_t mipSize = std::max(kRTSize >> mipLevel, 1u); in CheckMipLevel()
|
H A D | SamplerFilterAnisotropicTests.cpp | 24 constexpr static unsigned int kRTSize = 16; variable 38 mRenderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | SamplerTests.cpp | 24 constexpr static unsigned int kRTSize = 64; variable 55 mRenderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | RenderBundleTests.cpp | 21 constexpr uint32_t kRTSize = 4; variable 32 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | DestroyTests.cpp | 22 constexpr uint32_t kRTSize = 4; 30 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | QueryTests.cpp | 118 descriptor.size = {kRTSize, kRTSize, 1}; in CreateRenderTexture() 186 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TestOcclusionQueryWithScissorTest() 210 constexpr static unsigned int kRTSize = 4; member in OcclusionQueryTests 275 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 324 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 397 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSiz in TEST_P() [all...] |
H A D | GpuMemorySynchronizationTests.cpp | 418 constexpr int kRTSize = 8; variable 517 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 547 uint32_t min = 1, max = kRTSize - 3; in TEST_P() 633 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 665 uint32_t min = 1, max = kRTSize - 3; in TEST_P()
|
H A D | FirstIndexOffsetTests.cpp | 23 constexpr uint32_t kRTSize = 1; variable 143 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TestImpl()
|
H A D | SubresourceRenderAttachmentTests.cpp | 23 constexpr static uint32_t kRTSize = 2; member in SubresourceRenderAttachmentTest 121 constexpr uint32_t kTextureSize = kRTSize << (kMipLevelCount - 1); in DoTest()
|
H A D | DepthStencilStateTests.cpp | 21 constexpr static unsigned int kRTSize = 64; variable 33 renderTargetDescriptor.size.width = kRTSize; 34 renderTargetDescriptor.size.height = kRTSize; 47 depthDescriptor.size.width = kRTSize; 48 depthDescriptor.size.height = kRTSize; 350 EXPECT_PIXEL_RGBA8_EQ(expectedFront, renderTarget, kRTSize / 4, kRTSize / 2) in DoTest() 352 EXPECT_PIXEL_RGBA8_EQ(expectedBack, renderTarget, 3 * kRTSize / 4, kRTSize / 2) in DoTest()
|
H A D | TextureViewTests.cpp | 25 constexpr static unsigned int kRTSize = 64; variable 105 mRenderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
H A D | VertexStateTests.cpp | 34 constexpr static unsigned int kRTSize = 400; variable 43 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize);
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
H A D | D3D12DescriptorHeapTests.cpp | 26 constexpr uint32_t kRTSize = 4; variable 137 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 191 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 441 MakeRenderPass(kRTSize, kRTSize, wgpu::TextureFormat::R16Float); in TEST_P() 517 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P() 602 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSiz in TEST_P() [all...] |