/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RequestDeviceValidationTests.cpp | 91 wgpu::SupportedLimits supportedLimits; in TEST_F() local 92 EXPECT_TRUE(adapter.GetLimits(reinterpret_cast<WGPUSupportedLimits*>(&supportedLimits))); in TEST_F() 95 if (supportedLimits.limits.maxBindGroups > 4u) { in TEST_F() 96 limits.limits.maxBindGroups = supportedLimits.limits.maxBindGroups - 1; in TEST_F() 103 EXPECT_EQ(limits.limits.maxBindGroups, supportedLimits.limits.maxBindGroups - 1); in TEST_F() 110 limits.limits.maxBindGroups = supportedLimits.limits.maxBindGroups; in TEST_F() 117 EXPECT_EQ(limits.limits.maxBindGroups, supportedLimits.limits.maxBindGroups); in TEST_F() 123 limits.limits.maxBindGroups = supportedLimits.limits.maxBindGroups + 1; in TEST_F() 144 wgpu::SupportedLimits supportedLimits; in TEST_F() local 145 EXPECT_TRUE(adapter.GetLimits(reinterpret_cast<WGPUSupportedLimits*>(&supportedLimits))); in TEST_F() [all …]
|
D | ShaderModuleValidationTests.cpp | 444 wgpu::Limits supportedLimits = GetSupportedLimits().limits; in TEST_F() local 447 MakeShaderWithWorkgroupSize(supportedLimits.maxComputeWorkgroupSizeX, 1, 1); in TEST_F() 448 MakeShaderWithWorkgroupSize(1, supportedLimits.maxComputeWorkgroupSizeY, 1); in TEST_F() 449 MakeShaderWithWorkgroupSize(1, 1, supportedLimits.maxComputeWorkgroupSizeZ); in TEST_F() 452 MakeShaderWithWorkgroupSize(supportedLimits.maxComputeWorkgroupSizeX + 1, 1, 1)); in TEST_F() 454 MakeShaderWithWorkgroupSize(1, supportedLimits.maxComputeWorkgroupSizeY + 1, 1)); in TEST_F() 456 MakeShaderWithWorkgroupSize(1, 1, supportedLimits.maxComputeWorkgroupSizeZ + 1)); in TEST_F() 460 ASSERT_DEVICE_ERROR(MakeShaderWithWorkgroupSize(supportedLimits.maxComputeWorkgroupSizeX, in TEST_F() 461 supportedLimits.maxComputeWorkgroupSizeY, in TEST_F() 462 supportedLimits.maxComputeWorkgroupSizeZ)); in TEST_F() [all …]
|
D | TextureValidationTests.cpp | 299 wgpu::Limits supportedLimits = GetSupportedLimits().limits; in TEST_F() local 305 descriptor.size.depthOrArrayLayers = supportedLimits.maxTextureArrayLayers + 1u; in TEST_F() 312 descriptor.size.depthOrArrayLayers = supportedLimits.maxTextureArrayLayers >> 1; in TEST_F() 319 descriptor.size.depthOrArrayLayers = supportedLimits.maxTextureArrayLayers; in TEST_F() 327 wgpu::Limits supportedLimits = GetSupportedLimits().limits; variable 332 descriptor.size.width = supportedLimits.maxTextureDimension2D + 1u; 336 descriptor.size.height = supportedLimits.maxTextureDimension2D + 1u; 357 descriptor.size.width = supportedLimits.maxTextureDimension2D >> 1; 358 descriptor.size.height = supportedLimits.maxTextureDimension2D >> 1; 365 descriptor.size.width = supportedLimits.maxTextureDimension2D; [all …]
|
D | ValidationTest.cpp | 190 WGPUSupportedLimits supportedLimits; in GetSupportedLimits() local 191 supportedLimits.nextInChain = nullptr; in GetSupportedLimits() 192 dawn_native::GetProcs().deviceGetLimits(backendDevice, &supportedLimits); in GetSupportedLimits() 193 return *reinterpret_cast<wgpu::SupportedLimits*>(&supportedLimits); in GetSupportedLimits()
|
D | BindGroupValidationTests.cpp | 776 wgpu::Limits supportedLimits = GetSupportedLimits().limits; in TEST_F() local 779 descriptor.size = 2 * supportedLimits.maxUniformBufferBindingSize; in TEST_F() 788 {{0, buffer, 0, supportedLimits.maxUniformBufferBindingSize}}); in TEST_F() 796 {{0, buffer, 0, supportedLimits.maxUniformBufferBindingSize}, in TEST_F() 797 {1, buffer, supportedLimits.maxUniformBufferBindingSize, in TEST_F() 798 supportedLimits.maxUniformBufferBindingSize}}); in TEST_F() 802 device, uniformLayout, {{0, buffer, 0, supportedLimits.maxUniformBufferBindingSize + 1}})); in TEST_F() 812 {{0, buffer, 0, 2 * supportedLimits.maxUniformBufferBindingSize}}); in TEST_F() 814 {{0, buffer, 0, 2 * supportedLimits.maxUniformBufferBindingSize}}); in TEST_F() 819 wgpu::Limits supportedLimits = GetSupportedLimits().limits; in TEST_F() local [all …]
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_wire/ |
D | Wire.h | 65 SerializedWGPUSupportedLimitsSize(const WGPUSupportedLimits* supportedLimits); 67 DAWN_WIRE_EXPORT void SerializeWGPUSupportedLimits(const WGPUSupportedLimits* supportedLimits, 70 DAWN_WIRE_EXPORT bool DeserializeWGPUSupportedLimits(WGPUSupportedLimits* supportedLimits,
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | SwapChainValidationTests.cpp | 118 wgpu::Limits supportedLimits = GetSupportedLimits().limits; in TEST_P() local 135 desc.width = supportedLimits.maxTextureDimension2D; in TEST_P() 138 desc.width = supportedLimits.maxTextureDimension2D + 1; in TEST_P() 145 desc.height = supportedLimits.maxTextureDimension2D; in TEST_P() 148 desc.height = supportedLimits.maxTextureDimension2D + 1; in TEST_P()
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/ |
D | WireCmd.cpp | 808 size_t SerializedWGPUSupportedLimitsSize(const WGPUSupportedLimits* supportedLimits) { 810 WGPUSupportedLimitsGetExtraRequiredSize(*supportedLimits); 814 const WGPUSupportedLimits* supportedLimits, 816 SerializeBuffer serializeBuffer(buffer, SerializedWGPUSupportedLimitsSize(supportedLimits)); 824 … result = WGPUSupportedLimitsSerialize(*supportedLimits, transfer, &serializeBuffer, provider); 828 bool DeserializeWGPUSupportedLimits(WGPUSupportedLimits* supportedLimits, 838 return WGPUSupportedLimitsDeserialize(supportedLimits, transfer, &deserializeBuffer,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Limits.cpp | 165 MaybeError ValidateLimits(const Limits& supportedLimits, const Limits& requiredLimits) { in ValidateLimits() argument 169 supportedLimits.limitName, requiredLimits.limitName), \ in ValidateLimits()
|
D | Limits.h | 36 MaybeError ValidateLimits(const Limits& supportedLimits, const Limits& requiredLimits);
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 872 WGPUSupportedLimits supportedLimits; in GetSupportedLimits() local 873 supportedLimits.nextInChain = nullptr; in GetSupportedLimits() 874 dawn_native::GetProcs().deviceGetLimits(backendDevice, &supportedLimits); in GetSupportedLimits() 875 return *reinterpret_cast<wgpu::SupportedLimits*>(&supportedLimits); in GetSupportedLimits() 930 wgpu::SupportedLimits supportedLimits; in SetUp() local 931 mBackendAdapter.GetLimits(reinterpret_cast<WGPUSupportedLimits*>(&supportedLimits)); in SetUp() 932 wgpu::RequiredLimits requiredLimits = GetRequiredLimits(supportedLimits); in SetUp()
|