mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Update the validation tests to use utils::WireHelper
This enables running the validation uses using the wire with the command line flag --use-wire Bug: dawn:654 Change-Id: I17a642a132c8b6321195ec6869e5f86aebdd1c51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38620 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
e37a4b067a
commit
78440d66f3
@@ -393,10 +393,10 @@ namespace {
|
||||
// compressed texture formats.
|
||||
class CompressedTextureFormatsValidationTests : public TextureValidationTest {
|
||||
protected:
|
||||
wgpu::Device CreateTestDevice() override {
|
||||
WGPUDevice CreateTestDevice() override {
|
||||
dawn_native::DeviceDescriptor descriptor;
|
||||
descriptor.requiredExtensions = {"texture_compression_bc"};
|
||||
return wgpu::Device::Acquire(adapter.CreateDevice(&descriptor));
|
||||
return adapter.CreateDevice(&descriptor);
|
||||
}
|
||||
|
||||
wgpu::TextureDescriptor CreateDefaultTextureDescriptor() {
|
||||
|
||||
Reference in New Issue
Block a user