Home
last modified time | relevance | path

Searched refs:kRTSize (Results 1 – 25 of 46) 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()
DDrawTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, 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 …]
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()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DRenderPassLoadOpTests.cpp22 constexpr static unsigned int kRTSize = 16; variable
62 descriptor.size.width = kRTSize; in SetUp()
63 descriptor.size.height = kRTSize; in SetUp()
107 std::array<RGBA8, kRTSize * kRTSize> expectZero;
108 std::array<RGBA8, kRTSize * kRTSize> expectGreen;
109 std::array<RGBA8, kRTSize * kRTSize> expectBlue;
131 EXPECT_TEXTURE_RGBA8_EQ(expectZero.data(), renderTarget, 0, 0, kRTSize, kRTSize, 0, 0); in TEST_P()
134 EXPECT_TEXTURE_RGBA8_EQ(expectGreen.data(), renderTarget, 0, 0, kRTSize, kRTSize, 0, 0); in TEST_P()
150 EXPECT_TEXTURE_RGBA8_EQ(expectGreen.data(), renderTarget, 0, 0, kRTSize / 2, kRTSize, 0, 0); in TEST_P()
152 …EXPECT_TEXTURE_RGBA8_EQ(expectBlue.data(), renderTarget, kRTSize / 2, 0, kRTSize / 2, kRTSize, 0, … in TEST_P()
DPrimitiveTopologyTests.cpp87 constexpr static unsigned int kRTSize = 32; variable
103 constexpr static unsigned int kOffset = kRTSize / 8;
106 { kRTSize * 1 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
107 { kRTSize * 1 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
108 { kRTSize * 2 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
109 { kRTSize * 2 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
110 { kRTSize * 3 / 4 + kOffset, kRTSize * 1 / 4 + kOffset },
111 { kRTSize * 3 / 4 + kOffset, kRTSize * 3 / 4 + kOffset },
135 constexpr static float kRTSizef = static_cast<float>(kRTSize);
151 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DRenderPassTests.cpp20 constexpr uint32_t kRTSize = 16; variable
58 descriptor.size.width = kRTSize; in CreateDefault2DTexture()
59 descriptor.size.height = kRTSize; in CreateDefault2DTexture()
115 EXPECT_PIXEL_RGBA8_EQ(kBlue, renderTarget1, 1, kRTSize - 1); in TEST_P()
116 EXPECT_PIXEL_RGBA8_EQ(kRed, renderTarget1, kRTSize - 1, 1); in TEST_P()
118 EXPECT_PIXEL_RGBA8_EQ(kBlue, renderTarget2, 1, kRTSize - 1); in TEST_P()
119 EXPECT_PIXEL_RGBA8_EQ(kGreen, renderTarget2, kRTSize - 1, 1); in TEST_P()
DBindGroupTests.cpp21 constexpr static unsigned int kRTSize = 8; variable
99 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
169 int min = 1, max = kRTSize - 3; in TEST_P()
183 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
242 descriptor.size.width = kRTSize; in TEST_P()
243 descriptor.size.height = kRTSize; in TEST_P()
253 int width = kRTSize, height = kRTSize; in TEST_P()
288 int min = 1, max = kRTSize - 3; in TEST_P()
300 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
384 int min = 1, max = kRTSize - 3; in TEST_P()
[all …]
DColorStateTests.cpp25 constexpr static unsigned int kRTSize = 64; variable
47 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
133 EXPECT_PIXEL_RGBA8_EQ(expected, renderPass.color, kRTSize / 2, kRTSize / 2); in DoSingleSourceTest()
745 EXPECT_PIXEL_RGBA8_EQ(expected, renderPass.color, kRTSize / 2, kRTSize / 2); in TEST_P()
758 descriptor.size.width = kRTSize; in TEST_P()
759 descriptor.size.height = kRTSize; in TEST_P()
869 EXPECT_PIXEL_RGBA8_EQ(expected0, renderTargets[0], kRTSize / 2, kRTSize / 2) in TEST_P()
872 EXPECT_PIXEL_RGBA8_EQ(expected1, renderTargets[1], kRTSize / 2, kRTSize / 2) in TEST_P()
875 EXPECT_PIXEL_RGBA8_EQ(expected2, renderTargets[2], kRTSize / 2, kRTSize / 2) in TEST_P()
878 EXPECT_PIXEL_RGBA8_EQ(expected3, renderTargets[3], kRTSize / 2, kRTSize / 2) in TEST_P()
[all …]
DDynamicBufferOffsetTests.cpp20 constexpr uint32_t kRTSize = 400; variable
134 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
155 utils::BasicRenderPass renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in TEST_P()
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()
DDrawIndexedTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DDrawIndexedIndirectTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 renderPass = utils::CreateBasicRenderPass(device, kRTSize, kRTSize); in SetUp()
DDestroyTests.cpp20 constexpr uint32_t kRTSize = 4; variable
27 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