mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 16:16:08 +00:00
Skip Float16 TextureFormatTests on Swiftshader
Rendering +-INIFNITY with these formats results in a NaN when using Swiftshader. Temporarily disable these tests while the Swiftshader issue if being resolved. Bug: dawn:283 Bug: swiftshader:147 Change-Id: I6e7c91ff72d0b4b6423175f5ab8586fdea42bb53 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19083 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
61e170b3c5
commit
d56b69f115
@@ -33,4 +33,7 @@ namespace gpu_info {
|
||||
bool IsQualcomm(PCIVendorID vendorId) {
|
||||
return vendorId == kVendorID_Qualcomm;
|
||||
}
|
||||
bool IsSwiftshader(PCIVendorID vendorId, PCIDeviceID deviceId) {
|
||||
return vendorId == kVendorID_Google && deviceId == kDeviceID_Swiftshader;
|
||||
}
|
||||
} // namespace gpu_info
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <cstdint>
|
||||
|
||||
using PCIVendorID = uint32_t;
|
||||
using PCIDeviceID = uint32_t;
|
||||
|
||||
namespace gpu_info {
|
||||
|
||||
@@ -27,6 +28,9 @@ namespace gpu_info {
|
||||
static constexpr PCIVendorID kVendorID_Intel = 0x8086;
|
||||
static constexpr PCIVendorID kVendorID_Nvidia = 0x10DE;
|
||||
static constexpr PCIVendorID kVendorID_Qualcomm = 0x5143;
|
||||
static constexpr PCIVendorID kVendorID_Google = 0x1AE0;
|
||||
|
||||
static constexpr PCIDeviceID kDeviceID_Swiftshader = 0xC0DE;
|
||||
|
||||
bool IsAMD(PCIVendorID vendorId);
|
||||
bool IsARM(PCIVendorID vendorId);
|
||||
@@ -34,6 +38,7 @@ namespace gpu_info {
|
||||
bool IsIntel(PCIVendorID vendorId);
|
||||
bool IsNvidia(PCIVendorID vendorId);
|
||||
bool IsQualcomm(PCIVendorID vendorId);
|
||||
bool IsSwiftshader(PCIVendorID vendorId, PCIDeviceID deviceId);
|
||||
|
||||
} // namespace gpu_info
|
||||
#endif // COMMON_GPUINFO_H
|
||||
#endif // COMMON_GPUINFO_H
|
||||
|
||||
Reference in New Issue
Block a user