Home
last modified time | relevance | path

Searched refs:kRTSize (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthBiasTests.cpp22 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, kRTSize}, 0, in TEST_P()
221 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P()
240 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P()
259 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P()
274 EXPECT_TEXTURE_EQ(expected.data(), mDepthTexture, {0, 0}, {kRTSize, kRTSize}, 0, in TEST_P()
[all …]
DPrimitiveTopologyTests.cpp88 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 * 1 / 4 + kOffset },
113 { kRTSize * 3 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
114 { kRTSize * 3 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
138 constexpr static float kRTSizef = static_cast<float>(kRTSize);
154 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DRenderPassLoadOpTests.cpp22 constexpr static unsigned int kRTSize = 16; variable
61 descriptor.size.width = kRTSize; in SetUp()
62 descriptor.size.height = kRTSize; in SetUp()
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, kRTSize}); in TEST_P()
169 EXPECT_TEXTURE_EQ(expectGreen.data(), renderTarget, {0, 0}, {kRTSize, kRTSize}); in TEST_P()
185 EXPECT_TEXTURE_EQ(expectGreen.data(), renderTarget, {0, 0}, {kRTSize / 2, kRTSize}); in TEST_P()
187 EXPECT_TEXTURE_EQ(expectBlue.data(), renderTarget, {kRTSize / 2, 0}, {kRTSize / 2, kRTSize}); in TEST_P()
DRenderPassTests.cpp20 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()
DTexture3DTests.cpp21 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()
DBindGroupTests.cpp22 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()
336 uint32_t min = 1, max = kRTSize - 3; in TEST_P()
344 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
424 uint32_t min = 1, max = kRTSize - 3; in TEST_P()
[all …]
DPrimitiveStateTests.cpp21 constexpr static unsigned int kRTSize = 1; variable
30 renderTargetDescriptor.size = {kRTSize, kRTSize}; in SetUp()
40 depthDescriptor.size = {kRTSize, kRTSize}; in SetUp()
DColorStateTests.cpp26 constexpr static unsigned int kRTSize = 64; variable
52 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
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 / 2, kRTSize / 2) in TEST_P()
903 EXPECT_PIXEL_RGBA8_EQ(expected1, renderTargets[1], kRTSize / 2, kRTSize / 2) in TEST_P()
906 EXPECT_PIXEL_RGBA8_EQ(expected2, renderTargets[2], kRTSize / 2, kRTSize / 2) in TEST_P()
909 EXPECT_PIXEL_RGBA8_EQ(expected3, renderTargets[3], kRTSize / 2, kRTSize / 2) in TEST_P()
[all …]
DDrawTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DDrawIndirectTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DDynamicBufferOffsetTests.cpp23 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()
DDrawIndexedTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DDepthStencilLoadOpTests.cpp54 constexpr static uint32_t kRTSize = 16; variable
70 descriptor.size = {kRTSize, kRTSize}; in SetUp()
95 uint32_t mipSize = std::max(kRTSize >> mipLevel, 1u); in CheckMipLevel()
DQueryTests.cpp118 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, kRTSize); in TEST_P()
DDestroyTests.cpp22 constexpr uint32_t kRTSize = 4; variable
30 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DSamplerTests.cpp24 constexpr static unsigned int kRTSize = 64; variable
55 mRenderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DSamplerFilterAnisotropicTests.cpp24 constexpr static unsigned int kRTSize = 16; variable
38 mRenderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DRenderBundleTests.cpp21 constexpr uint32_t kRTSize = 4; variable
32 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DGpuMemorySynchronizationTests.cpp418 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()
DDepthStencilStateTests.cpp21 constexpr static unsigned int kRTSize = 64; variable
33 renderTargetDescriptor.size.width = kRTSize; in SetUp()
34 renderTargetDescriptor.size.height = kRTSize; in SetUp()
47 depthDescriptor.size.width = kRTSize; in SetUp()
48 depthDescriptor.size.height = kRTSize; in SetUp()
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()
DFirstIndexOffsetTests.cpp23 constexpr uint32_t kRTSize = 1; variable
143 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TestImpl()
DSubresourceRenderAttachmentTests.cpp23 constexpr static uint32_t kRTSize = 2; member in SubresourceRenderAttachmentTest
121 constexpr uint32_t kTextureSize = kRTSize << (kMipLevelCount - 1); in DoTest()
DIndexFormatTests.cpp21 constexpr uint32_t kRTSize = 400; variable
28 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DVertexStateTests.cpp34 constexpr static unsigned int kRTSize = 400; variable
43 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp26 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, kRTSize); in TEST_P()
663 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
746 descriptor.size.width = kRTSize; in TEST_P()
747 descriptor.size.height = kRTSize; in TEST_P()
758 utils::BasicRenderPass renderPass = utils::BasicRenderPass(kRTSize, kRTSize, texture); in TEST_P()
[all …]

12