diff --git a/Cargo.lock b/Cargo.lock index 951599eb9d3..81002a32f70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4365,9 +4365,9 @@ dependencies = [ [[package]] name = "metal" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ecfd3296f8c56b7c1f6fbac3c71cefa9d78ce009850c45000015f206dc7fa21" +checksum = "9c3572083504c43e14aec05447f8a3d57cce0f66d7a3c1b9058572eca4d70ab9" dependencies = [ "bitflags 2.6.0", "block", @@ -4512,8 +4512,7 @@ checksum = "956787520e75e9bd233246045d19f42fb73242759cc57fba9611d940ae96d4b0" [[package]] name = "naga" version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d5941e45a15b53aad4375eedf02033adb7a28931eedc31117faffa52e6a857e" +source = "git+https://github.com/gfx-rs/wgpu?rev=8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010#8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" dependencies = [ "arrayvec", "bit-set", @@ -8339,8 +8338,7 @@ checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" [[package]] name = "wgpu-core" version = "23.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d63c3c478de8e7e01786479919c8769f62a22eec16788d8c2ac77ce2c132778a" +source = "git+https://github.com/gfx-rs/wgpu?rev=8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010#8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" dependencies = [ "arrayvec", "bit-vec", @@ -8365,8 +8363,7 @@ dependencies = [ [[package]] name = "wgpu-hal" version = "23.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89364b8a0b211adc7b16aeaf1bd5ad4a919c1154b44c9ce27838213ba05fd821" +source = "git+https://github.com/gfx-rs/wgpu?rev=8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010#8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" dependencies = [ "android_system_properties", "arrayvec", @@ -8377,7 +8374,7 @@ dependencies = [ "bytemuck", "cfg_aliases 0.1.1", "core-graphics-types", - "glow 0.14.2", + "glow 0.16.0", "glutin_wgl_sys", "gpu-alloc", "gpu-allocator", @@ -8387,7 +8384,7 @@ dependencies = [ "libc", "libloading", "log", - "metal 0.29.0", + "metal 0.30.0", "naga", "ndk-sys 0.5.0+25.2.9519653", "objc", @@ -8409,8 +8406,7 @@ dependencies = [ [[package]] name = "wgpu-types" version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "610f6ff27778148c31093f3b03abc4840f9636d58d597ca2f5977433acfe0068" +source = "git+https://github.com/gfx-rs/wgpu?rev=8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010#8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" dependencies = [ "bitflags 2.6.0", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index 4490ab488c6..f03ae18a620 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -155,8 +155,8 @@ webrender_api = { git = "https://github.com/servo/webrender", branch = "0.65" } webrender_traits = { path = "components/shared/webrender" } webxr = { git = "https://github.com/servo/webxr" } webxr-api = { git = "https://github.com/servo/webxr" } -wgpu-core = "23" -wgpu-types = "23" +wgpu-core = { git = "https://github.com/gfx-rs/wgpu", rev = "8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" } +wgpu-types = { git = "https://github.com/gfx-rs/wgpu", rev = "8f82992b9fa0fd71c19a4f5c2d8e2512ef22c010" } windows-sys = "0.59" wr_malloc_size_of = { git = "https://github.com/servo/webrender", branch = "0.65" } xi-unicode = "0.3.0" diff --git a/components/script/dom/webgpu/gpucommandencoder.rs b/components/script/dom/webgpu/gpucommandencoder.rs index 252066e0749..712fb3edd28 100644 --- a/components/script/dom/webgpu/gpucommandencoder.rs +++ b/components/script/dom/webgpu/gpucommandencoder.rs @@ -176,7 +176,8 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder { .colorAttachments .iter() .map(|color| -> Fallible<_> { - let channel = wgpu_com::PassChannel { + Ok(Some(wgpu_com::RenderPassColorAttachment { + resolve_target: color.resolveTarget.as_ref().map(|t| t.id().0), load_op: convert_load_op(Some(color.loadOp)), store_op: convert_store_op(Some(color.storeOp)), clear_value: color @@ -185,11 +186,6 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder { .map(|color| (color).try_convert()) .transpose()? .unwrap_or_default(), - read_only: false, - }; - Ok(Some(wgpu_com::RenderPassColorAttachment { - resolve_target: color.resolveTarget.as_ref().map(|t| t.id().0), - channel, view: color.view.id().0, })) }) diff --git a/components/script/dom/webgpu/gpuconvert.rs b/components/script/dom/webgpu/gpuconvert.rs index bcb83ee80b5..f9ad05d2dc1 100644 --- a/components/script/dom/webgpu/gpuconvert.rs +++ b/components/script/dom/webgpu/gpuconvert.rs @@ -239,9 +239,9 @@ impl TryConvert for &GPUExtent3D { } } -impl Convert for &GPUImageDataLayout { - fn convert(self) -> wgt::ImageDataLayout { - wgt::ImageDataLayout { +impl Convert for &GPUImageDataLayout { + fn convert(self) -> wgt::TexelCopyBufferLayout { + wgt::TexelCopyBufferLayout { offset: self.offset as wgt::BufferAddress, bytes_per_row: self.bytesPerRow, rows_per_image: self.rowsPerImage, @@ -437,9 +437,9 @@ impl Convert for GPUStencilOperation { } } -impl Convert for &GPUImageCopyBuffer { - fn convert(self) -> wgpu_com::ImageCopyBuffer { - wgpu_com::ImageCopyBuffer { +impl Convert for &GPUImageCopyBuffer { + fn convert(self) -> wgpu_com::TexelCopyBufferInfo { + wgpu_com::TexelCopyBufferInfo { buffer: self.buffer.id().0, layout: self.parent.convert(), } @@ -474,11 +474,11 @@ impl TryConvert for &GPUOrigin3D { } } -impl TryConvert for &GPUImageCopyTexture { +impl TryConvert for &GPUImageCopyTexture { type Error = Error; - fn try_convert(self) -> Result { - Ok(wgpu_com::ImageCopyTexture { + fn try_convert(self) -> Result { + Ok(wgpu_com::TexelCopyTextureInfo { texture: self.texture.id().0, mip_level: self.mipLevel, origin: self diff --git a/components/webgpu/ipc_messages/recv.rs b/components/webgpu/ipc_messages/recv.rs index 658daf0f736..041a576daeb 100644 --- a/components/webgpu/ipc_messages/recv.rs +++ b/components/webgpu/ipc_messages/recv.rs @@ -15,7 +15,7 @@ use wgc::binding_model::{ BindGroupDescriptor, BindGroupLayoutDescriptor, PipelineLayoutDescriptor, }; use wgc::command::{ - ImageCopyBuffer, ImageCopyTexture, RenderBundleDescriptor, RenderBundleEncoder, + RenderBundleDescriptor, RenderBundleEncoder, TexelCopyBufferInfo, TexelCopyTextureInfo, }; use wgc::device::HostMap; use wgc::id; @@ -69,20 +69,20 @@ pub enum WebGPURequest { }, CopyBufferToTexture { command_encoder_id: id::CommandEncoderId, - source: ImageCopyBuffer, - destination: ImageCopyTexture, + source: TexelCopyBufferInfo, + destination: TexelCopyTextureInfo, copy_size: wgt::Extent3d, }, CopyTextureToBuffer { command_encoder_id: id::CommandEncoderId, - source: ImageCopyTexture, - destination: ImageCopyBuffer, + source: TexelCopyTextureInfo, + destination: TexelCopyBufferInfo, copy_size: wgt::Extent3d, }, CopyTextureToTexture { command_encoder_id: id::CommandEncoderId, - source: ImageCopyTexture, - destination: ImageCopyTexture, + source: TexelCopyTextureInfo, + destination: TexelCopyTextureInfo, copy_size: wgt::Extent3d, }, CreateBindGroup { @@ -291,8 +291,8 @@ pub enum WebGPURequest { WriteTexture { device_id: id::DeviceId, queue_id: id::QueueId, - texture_cv: ImageCopyTexture, - data_layout: wgt::ImageDataLayout, + texture_cv: TexelCopyTextureInfo, + data_layout: wgt::TexelCopyBufferLayout, size: wgt::Extent3d, data: IpcSharedMemory, }, diff --git a/components/webgpu/swapchain.rs b/components/webgpu/swapchain.rs index fe7f65dd61f..b1512eae809 100644 --- a/components/webgpu/swapchain.rs +++ b/components/webgpu/swapchain.rs @@ -23,7 +23,7 @@ use webrender_traits::{WebrenderExternalImageApi, WebrenderImageSource}; use wgpu_core::device::HostMap; use wgpu_core::global::Global; use wgpu_core::id; -use wgpu_core::resource::{BufferAccessError, BufferMapCallback, BufferMapOperation}; +use wgpu_core::resource::{BufferAccessError, BufferMapOperation}; use crate::{wgt, ContextConfiguration, Error, WebGPUMsg}; @@ -471,15 +471,15 @@ impl crate::WGPU { let (encoder_id, error) = global.device_create_command_encoder(device_id, &comm_desc, Some(encoder_id)); err(error)?; - let buffer_cv = wgt::ImageCopyBuffer { + let buffer_cv = wgt::TexelCopyBufferInfo { buffer: buffer_id, - layout: wgt::ImageDataLayout { + layout: wgt::TexelCopyBufferLayout { offset: 0, bytes_per_row: Some(image_desc.buffer_stride() as u32), rows_per_image: None, }, }; - let texture_cv = wgt::ImageCopyTexture { + let texture_cv = wgt::TexelCopyTextureInfo { texture: texture_id, mip_level: 0, origin: wgt::Origin3d::ZERO, @@ -511,7 +511,7 @@ impl crate::WGPU { let webrender_api = Arc::clone(&self.webrender_api); let webrender_document = self.webrender_document; let token = self.poller.token(); - BufferMapCallback::from_rust(Box::from(move |result| { + Box::new(move |result| { drop(token); update_wr_image( result, @@ -524,7 +524,7 @@ impl crate::WGPU { image_desc, presentation_id, ); - })) + }) }; let map_op = BufferMapOperation { host: HostMap::Read, diff --git a/components/webgpu/wgpu_thread.rs b/components/webgpu/wgpu_thread.rs index 3b1e43d6392..2db67d2029f 100644 --- a/components/webgpu/wgpu_thread.rs +++ b/components/webgpu/wgpu_thread.rs @@ -17,13 +17,12 @@ use webrender::{RenderApi, RenderApiSender}; use webrender_api::{DocumentId, ExternalImageId}; use webrender_traits::{WebrenderExternalImageRegistry, WebrenderImageHandlerType}; use wgc::command::{ComputePass, ComputePassDescriptor, RenderPass}; -use wgc::device::queue::SubmittedWorkDoneClosure; -use wgc::device::{DeviceDescriptor, DeviceLostClosure, ImplicitPipelineIds}; +use wgc::device::{DeviceDescriptor, ImplicitPipelineIds}; use wgc::id; use wgc::id::DeviceId; use wgc::instance::parse_backends_from_comma_list; use wgc::pipeline::ShaderModuleDescriptor; -use wgc::resource::{BufferMapCallback, BufferMapOperation}; +use wgc::resource::BufferMapOperation; use wgpu_core::command::RenderPassDescriptor; use wgpu_core::device::DeviceError; use wgpu_core::pipeline::{CreateComputePipelineError, CreateRenderPipelineError}; @@ -178,34 +177,32 @@ impl WGPU { let glob = Arc::clone(&self.global); let resp_sender = sender.clone(); let token = self.poller.token(); - let callback = BufferMapCallback::from_rust(Box::from( - move |result: BufferAccessResult| { - drop(token); - let response = result.and_then(|_| { - let global = &glob; - let (slice_pointer, range_size) = - global.buffer_get_mapped_range(buffer_id, offset, size)?; - // SAFETY: guarantee to be safe from wgpu - let data = unsafe { - slice::from_raw_parts( - slice_pointer.as_ptr(), - range_size as usize, - ) - }; + let callback = Box::from(move |result: BufferAccessResult| { + drop(token); + let response = result.and_then(|_| { + let global = &glob; + let (slice_pointer, range_size) = + global.buffer_get_mapped_range(buffer_id, offset, size)?; + // SAFETY: guarantee to be safe from wgpu + let data = unsafe { + slice::from_raw_parts( + slice_pointer.as_ptr(), + range_size as usize, + ) + }; - Ok(Mapping { - data: IpcSharedMemory::from_bytes(data), - range: offset..offset + range_size, - mode: host_map, - }) - }); - if let Err(e) = - resp_sender.send(WebGPUResponse::BufferMapAsync(response)) - { - warn!("Could not send BufferMapAsync Response ({})", e); - } - }, - )); + Ok(Mapping { + data: IpcSharedMemory::from_bytes(data), + range: offset..offset + range_size, + mode: host_map, + }) + }); + if let Err(e) = + resp_sender.send(WebGPUResponse::BufferMapAsync(response)) + { + warn!("Could not send BufferMapAsync Response ({})", e); + } + }); let operation = BufferMapOperation { host: host_map, @@ -711,40 +708,32 @@ impl WGPU { } let script_sender = self.script_sender.clone(); let devices = Arc::clone(&self.devices); - let callback = - DeviceLostClosure::from_rust(Box::from(move |reason, msg| { - let reason = match reason { - wgt::DeviceLostReason::Unknown => { - crate::DeviceLostReason::Unknown - }, - wgt::DeviceLostReason::Destroyed => { - crate::DeviceLostReason::Destroyed - }, - // we handle this in WebGPUMsg::FreeDevice - wgt::DeviceLostReason::Dropped => return, - wgt::DeviceLostReason::ReplacedCallback => { - panic!( - "DeviceLost callback should only be set once" - ) - }, - }; - // make device lost by removing error scopes stack - let _ = devices - .lock() - .unwrap() - .get_mut(&device_id) - .expect("Device should not be dropped by this point") - .error_scope_stack - .take(); - if let Err(e) = script_sender.send(WebGPUMsg::DeviceLost { - device, - pipeline_id, - reason, - msg, - }) { - warn!("Failed to send WebGPUMsg::DeviceLost: {e}"); - } - })); + let callback = Box::from(move |reason, msg| { + let reason = match reason { + wgt::DeviceLostReason::Unknown => { + crate::DeviceLostReason::Unknown + }, + wgt::DeviceLostReason::Destroyed => { + crate::DeviceLostReason::Destroyed + }, + }; + // make device lost by removing error scopes stack + let _ = devices + .lock() + .unwrap() + .get_mut(&device_id) + .expect("Device should not be dropped by this point") + .error_scope_stack + .take(); + if let Err(e) = script_sender.send(WebGPUMsg::DeviceLost { + device, + pipeline_id, + reason, + msg, + }) { + warn!("Failed to send WebGPUMsg::DeviceLost: {e}"); + } + }); global.device_set_device_lost_closure(device_id, callback); descriptor }); @@ -1055,12 +1044,12 @@ impl WGPU { WebGPURequest::QueueOnSubmittedWorkDone { sender, queue_id } => { let global = &self.global; let token = self.poller.token(); - let callback = SubmittedWorkDoneClosure::from_rust(Box::from(move || { + let callback = Box::from(move || { drop(token); if let Err(e) = sender.send(WebGPUResponse::SubmittedWorkDone) { warn!("Could not send SubmittedWorkDone Response ({})", e); } - })); + }); global.queue_on_submitted_work_done(queue_id, callback); self.poller.wake(); }, diff --git a/deny.toml b/deny.toml index 82436243950..adf63e18030 100644 --- a/deny.toml +++ b/deny.toml @@ -154,4 +154,4 @@ skip = [ # github.com organizations to allow git sources for [sources.allow-org] -github = ["pcwalton", "servo"] +github = ["pcwalton", "servo", "gfx-rs"] diff --git a/tests/wpt/webgpu/meta/webgpu/cts.https.html.ini b/tests/wpt/webgpu/meta/webgpu/cts.https.html.ini index cb2b6434640..abe20f53a3d 100644 --- a/tests/wpt/webgpu/meta/webgpu/cts.https.html.ini +++ b/tests/wpt/webgpu/meta/webgpu/cts.https.html.ini @@ -1164,8 +1164,6 @@ [cts.https.html?q=webgpu:api,operation,command_buffer,copyTextureToTexture:copy_multisampled_color:*] [:] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:api,operation,command_buffer,copyTextureToTexture:copy_multisampled_depth:*] @@ -2306,148 +2304,76 @@ [cts.https.html?q=webgpu:api,operation,compute_pipeline,overrides:workgroup_size:*] [:isAsync=false;type="i32";size=16;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=16;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=16;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=3;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=3;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=3;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=64;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=64;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";size=64;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=16;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=16;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=16;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=3;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=3;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=3;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=64;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=64;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";size=64;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=16;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=16;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=16;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=3;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=3;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=3;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=64;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=64;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";size=64;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=16;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=16;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=16;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=3;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=3;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=3;v="z"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=64;v="x"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=64;v="y"] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";size=64;v="z"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:api,operation,device,lost:lost_on_destroy:*] @@ -7931,26 +7857,18 @@ [:format="bgra8unorm";viewFormat="bgra8unorm-srgb";sampleCount=1] [:format="bgra8unorm";viewFormat="bgra8unorm-srgb";sampleCount=4] - expected: - if os == "linux" and not debug: FAIL [:format="bgra8unorm-srgb";viewFormat="bgra8unorm";sampleCount=1] [:format="bgra8unorm-srgb";viewFormat="bgra8unorm";sampleCount=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgba8unorm";viewFormat="rgba8unorm-srgb";sampleCount=1] [:format="rgba8unorm";viewFormat="rgba8unorm-srgb";sampleCount=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgba8unorm-srgb";viewFormat="rgba8unorm";sampleCount=1] [:format="rgba8unorm-srgb";viewFormat="rgba8unorm";sampleCount=4] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:api,operation,texture_view,format_reinterpretation:texture_binding:*] @@ -17925,84 +17843,44 @@ [cts.https.html?q=webgpu:api,validation,compute_pipeline:overrides,workgroup_size:*] [:isAsync=false;type="i32";constants={"x":0,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";constants={"x":1,"y":-1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";constants={"x":1,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";constants={"x":16,"y":1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="i32";constants={}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";constants={"x":0,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";constants={"x":1,"y":-1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";constants={"x":1,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";constants={"x":16,"y":1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=false;type="u32";constants={}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";constants={"x":0,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";constants={"x":1,"y":-1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";constants={"x":1,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";constants={"x":16,"y":1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="i32";constants={}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";constants={"x":0,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";constants={"x":1,"y":-1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";constants={"x":1,"y":0,"z":0}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";constants={"x":16,"y":1,"z":1}] - expected: - if os == "linux" and not debug: FAIL [:isAsync=true;type="u32";constants={}] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:api,validation,compute_pipeline:pipeline_layout,device_mismatch:*] @@ -122031,58 +121909,34 @@ [:format="bgra8unorm";aspect="all";samples=1] [:format="bgra8unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="bgra8unorm-srgb";aspect="all";samples=1] [:format="bgra8unorm-srgb";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth16unorm";aspect="all";samples=1] - expected: - if os == "linux" and not debug: FAIL [:format="depth16unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth24plus";aspect="all";samples=1] - expected: - if os == "linux" and not debug: FAIL [:format="depth24plus";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth24plus-stencil8";aspect="depth-only";samples=1] - expected: - if os == "linux" and not debug: FAIL [:format="depth24plus-stencil8";aspect="depth-only";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth24plus-stencil8";aspect="stencil-only";samples=1] [:format="depth24plus-stencil8";aspect="stencil-only";samples=4] [:format="depth32float";aspect="all";samples=1] - expected: - if os == "linux" and not debug: FAIL [:format="depth32float";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth32float-stencil8";aspect="depth-only";samples=1] - expected: - if os == "linux" and not debug: FAIL [:format="depth32float-stencil8";aspect="depth-only";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="depth32float-stencil8";aspect="stencil-only";samples=1] @@ -122111,8 +121965,6 @@ [:format="r16float";aspect="all";samples=1] [:format="r16float";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="r16sint";aspect="all";samples=1] @@ -122139,16 +121991,12 @@ [:format="r8unorm";aspect="all";samples=1] [:format="r8unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rg11b10ufloat";aspect="all";samples=1] [:format="rg16float";aspect="all";samples=1] [:format="rg16float";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rg16sint";aspect="all";samples=1] @@ -122175,8 +122023,6 @@ [:format="rg8unorm";aspect="all";samples=1] [:format="rg8unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgb10a2uint";aspect="all";samples=1] @@ -122185,16 +122031,12 @@ [:format="rgb10a2unorm";aspect="all";samples=1] [:format="rgb10a2unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgb9e5ufloat";aspect="all";samples=1] [:format="rgba16float";aspect="all";samples=1] [:format="rgba16float";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgba16sint";aspect="all";samples=1] @@ -122221,14 +122063,10 @@ [:format="rgba8unorm";aspect="all";samples=1] [:format="rgba8unorm";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="rgba8unorm-srgb";aspect="all";samples=1] [:format="rgba8unorm-srgb";aspect="all";samples=4] - expected: - if os == "linux" and not debug: FAIL [:format="stencil8";aspect="all";samples=1] @@ -201695,8 +201533,6 @@ [cts.https.html?q=webgpu:shader,execution,expression,call,builtin,textureNumSamples:sampled:*] [:] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,expression,call,builtin,textureSample:depth_2d_coords:*] @@ -443323,8 +443159,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,call:call_basic:*] @@ -443363,8 +443197,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,eval_order:1d_array_assignment:*] @@ -443589,8 +443421,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_break:*] @@ -443609,8 +443439,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_complex_continuing:*] @@ -443619,8 +443447,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_complex_initalizer:*] @@ -443629,8 +443455,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_condition:*] @@ -443639,8 +443463,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_continue:*] @@ -443659,8 +443481,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_initalizer:*] @@ -443669,8 +443489,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,for:for_logical_and_condition:*] @@ -443719,8 +443537,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,if:if_false:*] @@ -443729,8 +443545,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,if:if_true:*] @@ -443739,8 +443553,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,if:nested_if_else:*] @@ -443749,8 +443561,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,loop:loop_break:*] @@ -443759,8 +443569,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,loop:loop_break_if_logical_and_condition:*] @@ -443799,8 +443607,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,loop:nested_loops:*] @@ -443879,8 +443685,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,return:return_conditional_true:*] @@ -443889,8 +443693,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch:*] @@ -443899,8 +443701,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch_default:*] @@ -443909,8 +443709,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch_default_only:*] @@ -443919,8 +443717,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch_inside_loop_with_continue:*] @@ -443929,8 +443725,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch_multiple_case:*] @@ -443939,8 +443733,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,switch:switch_multiple_case_default:*] @@ -443949,8 +443741,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,while:while_basic:*] @@ -443959,8 +443749,6 @@ if os == "linux" and not debug: FAIL [:preventValueOptimizations=true] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,flow_control,while:while_break:*] @@ -444037,8 +443825,6 @@ [cts.https.html?q=webgpu:shader,execution,limits:function_parameters:*] [:] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,execution,limits:function_variable_combined_byte_size:*] @@ -444104,6 +443890,8 @@ [cts.https.html?q=webgpu:shader,execution,limits:workgroup_array_byte_size_override:*] + expected: + if os == "linux" and not debug: CRASH [:type="bool"] expected: if os == "linux" and not debug: FAIL @@ -446861,12 +446649,8 @@ [:type="array%3Cvec4u,%20array_size_const%3E";kind="var";via_alias=true] [:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=false] - expected: - if os == "linux" and not debug: FAIL [:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=true] - expected: - if os == "linux" and not debug: FAIL [:type="array%3Cvec4u,%20array_size_override%3E";kind="var";via_alias=false] @@ -447413,12 +447197,8 @@ [:type="array%3Cvec4u,%20array_size_const%3E";kind="workgroup";via_alias=true] [:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=false] - expected: - if os == "linux" and not debug: FAIL [:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=true] - expected: - if os == "linux" and not debug: FAIL [:type="array%3Cvec4u,%20array_size_override%3E";kind="handle";via_alias=false] @@ -447441,12 +447221,8 @@ [:type="array%3Cvec4u,%20array_size_override%3E";kind="uniform";via_alias=true] [:type="array%3Cvec4u,%20array_size_override%3E";kind="workgroup";via_alias=false] - expected: - if os == "linux" and not debug: FAIL [:type="array%3Cvec4u,%20array_size_override%3E";kind="workgroup";via_alias=true] - expected: - if os == "linux" and not debug: FAIL [:type="atomic%3Ci32%3E";kind="comment";via_alias=false] @@ -457595,14 +457371,10 @@ [:op="%26%26";rhs="negative";control=false] [:op="%26%26";rhs="negative";control=true] - expected: - if os == "linux" and not debug: FAIL [:op="%26%26";rhs="nested";control=false] [:op="%26%26";rhs="nested";control=true] - expected: - if os == "linux" and not debug: FAIL [:op="%26%26";rhs="sqrt_neg1";control=false] @@ -457613,14 +457385,10 @@ [:op="%7C%7C";rhs="negative";control=false] [:op="%7C%7C";rhs="negative";control=true] - expected: - if os == "linux" and not debug: FAIL [:op="%7C%7C";rhs="nested";control=false] [:op="%7C%7C";rhs="nested";control=true] - expected: - if os == "linux" and not debug: FAIL [:op="%7C%7C";rhs="sqrt_neg1";control=false] @@ -472827,11 +472595,11 @@ [cts.https.html?q=webgpu:shader,validation,expression,call,builtin,quantizeToF16:must_use:*] [:use=false] - - [:use=true] expected: if os == "linux" and not debug: FAIL + [:use=true] + [cts.https.html?q=webgpu:shader,validation,expression,call,builtin,quantizeToF16:values:*] [:stage="constant";type="abstract-float"] @@ -511619,8 +511387,6 @@ [:textureType="texture_depth_2d_array";arrayIndexType="abstract-float"] [:textureType="texture_depth_2d_array";arrayIndexType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";arrayIndexType="bool"] @@ -511629,12 +511395,8 @@ [:textureType="texture_depth_2d_array";arrayIndexType="f32"] [:textureType="texture_depth_2d_array";arrayIndexType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";arrayIndexType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";arrayIndexType="vec2%3Cabstract-float%3E"] @@ -511681,8 +511443,6 @@ [:textureType="texture_depth_cube_array";arrayIndexType="abstract-float"] [:textureType="texture_depth_cube_array";arrayIndexType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";arrayIndexType="bool"] @@ -511691,12 +511451,8 @@ [:textureType="texture_depth_cube_array";arrayIndexType="f32"] [:textureType="texture_depth_cube_array";arrayIndexType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";arrayIndexType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";arrayIndexType="vec2%3Cabstract-float%3E"] @@ -512067,8 +511823,6 @@ [:textureType="texture_depth_2d";coordType="u32"] [:textureType="texture_depth_2d";coordType="vec2%3Cabstract-float%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";coordType="vec2%3Cabstract-int%3E"] expected: @@ -512079,8 +511833,6 @@ [:textureType="texture_depth_2d";coordType="vec2%3Cf16%3E"] [:textureType="texture_depth_2d";coordType="vec2%3Cf32%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";coordType="vec2%3Ci32%3E"] @@ -512129,8 +511881,6 @@ [:textureType="texture_depth_2d_array";coordType="u32"] [:textureType="texture_depth_2d_array";coordType="vec2%3Cabstract-float%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";coordType="vec2%3Cabstract-int%3E"] expected: @@ -512141,8 +511891,6 @@ [:textureType="texture_depth_2d_array";coordType="vec2%3Cf16%3E"] [:textureType="texture_depth_2d_array";coordType="vec2%3Cf32%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";coordType="vec2%3Ci32%3E"] @@ -512205,8 +511953,6 @@ [:textureType="texture_depth_cube";coordType="vec2%3Cu32%3E"] [:textureType="texture_depth_cube";coordType="vec3%3Cabstract-float%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";coordType="vec3%3Cabstract-int%3E"] expected: @@ -512217,8 +511963,6 @@ [:textureType="texture_depth_cube";coordType="vec3%3Cf16%3E"] [:textureType="texture_depth_cube";coordType="vec3%3Cf32%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";coordType="vec3%3Ci32%3E"] @@ -512267,8 +512011,6 @@ [:textureType="texture_depth_cube_array";coordType="vec2%3Cu32%3E"] [:textureType="texture_depth_cube_array";coordType="vec3%3Cabstract-float%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";coordType="vec3%3Cabstract-int%3E"] expected: @@ -512279,8 +512021,6 @@ [:textureType="texture_depth_cube_array";coordType="vec3%3Cf16%3E"] [:textureType="texture_depth_cube_array";coordType="vec3%3Cf32%3E"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";coordType="vec3%3Ci32%3E"] @@ -512302,8 +512042,6 @@ [cts.https.html?q=webgpu:shader,validation,expression,call,builtin,textureSampleLevel:level_argument:*] - expected: - if os == "linux" and not debug: [OK, TIMEOUT] [:textureType="texture_2d%3Cf32%3E";levelType="abstract-float"] [:textureType="texture_2d%3Cf32%3E";levelType="abstract-int"] @@ -512595,28 +512333,18 @@ [:textureType="texture_cube_array%3Cf32%3E";levelType="vec4%3Cu32%3E"] [:textureType="texture_depth_2d";levelType="abstract-float"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";levelType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";levelType="bool"] [:textureType="texture_depth_2d";levelType="f16"] [:textureType="texture_depth_2d";levelType="f32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";levelType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";levelType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d";levelType="vec2%3Cabstract-float%3E"] @@ -512661,28 +512389,18 @@ [:textureType="texture_depth_2d";levelType="vec4%3Cu32%3E"] [:textureType="texture_depth_2d_array";levelType="abstract-float"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";levelType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";levelType="bool"] [:textureType="texture_depth_2d_array";levelType="f16"] [:textureType="texture_depth_2d_array";levelType="f32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";levelType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";levelType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_2d_array";levelType="vec2%3Cabstract-float%3E"] @@ -512727,28 +512445,18 @@ [:textureType="texture_depth_2d_array";levelType="vec4%3Cu32%3E"] [:textureType="texture_depth_cube";levelType="abstract-float"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";levelType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";levelType="bool"] [:textureType="texture_depth_cube";levelType="f16"] [:textureType="texture_depth_cube";levelType="f32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";levelType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";levelType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube";levelType="vec2%3Cabstract-float%3E"] @@ -512793,28 +512501,18 @@ [:textureType="texture_depth_cube";levelType="vec4%3Cu32%3E"] [:textureType="texture_depth_cube_array";levelType="abstract-float"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";levelType="abstract-int"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";levelType="bool"] [:textureType="texture_depth_cube_array";levelType="f16"] [:textureType="texture_depth_cube_array";levelType="f32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";levelType="i32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";levelType="u32"] - expected: - if os == "linux" and not debug: FAIL [:textureType="texture_depth_cube_array";levelType="vec2%3Cabstract-float%3E"] @@ -513299,20 +512997,12 @@ [:returnType="f32";textureType="texture_cube_array%3Cf32%3E"] [:returnType="f32";textureType="texture_depth_2d"] - expected: - if os == "linux" and not debug: FAIL [:returnType="f32";textureType="texture_depth_2d_array"] - expected: - if os == "linux" and not debug: FAIL [:returnType="f32";textureType="texture_depth_cube"] - expected: - if os == "linux" and not debug: FAIL [:returnType="f32";textureType="texture_depth_cube_array"] - expected: - if os == "linux" and not debug: FAIL [:returnType="i32";textureType="texture_2d%3Cf32%3E"] @@ -513775,20 +513465,14 @@ [:testTextureType="texture_cube_array%3Cu32%3E"] [:testTextureType="texture_depth_2d"] - expected: - if os == "linux" and not debug: FAIL [:testTextureType="texture_depth_2d_array"] - expected: - if os == "linux" and not debug: FAIL [:testTextureType="texture_depth_cube"] expected: if os == "linux" and not debug: FAIL [:testTextureType="texture_depth_cube_array"] - expected: - if os == "linux" and not debug: FAIL [:testTextureType="texture_depth_multisampled_2d"] @@ -525359,160 +525043,86 @@ [cts.https.html?q=webgpu:shader,validation,functions,restrictions:call_arg_types_match_1_param:*] [:p1_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32"] [:p1_type="u32"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,functions,restrictions:call_arg_types_match_2_params:*] [:p1_type="f32";p2_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="i32"] [:p1_type="i32";p2_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="u32"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,functions,restrictions:call_arg_types_match_3_params:*] - expected: - if os == "linux" and not debug: [OK, TIMEOUT] [:p1_type="f32";p2_type="f32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="f32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="f32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="i32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="i32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="i32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="u32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="u32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="f32";p2_type="u32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="f32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="f32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="f32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="i32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="i32";p3_type="i32"] [:p1_type="i32";p2_type="i32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="u32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="u32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="i32";p2_type="u32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="f32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="f32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="f32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="i32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="i32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="i32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="u32";p3_type="f32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="u32";p3_type="i32"] - expected: - if os == "linux" and not debug: FAIL [:p1_type="u32";p2_type="u32";p3_type="u32"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,functions,restrictions:entry_point_call_target:*] @@ -525561,8 +525171,6 @@ [:case="const";placement="ret"] [:case="diagnostic";placement="func"] - expected: - if os == "linux" and not debug: FAIL [:case="diagnostic";placement="param"] @@ -526129,8 +525737,6 @@ [:num_args=1;num_params=0] [:num_args=1;num_params=1] - expected: - if os == "linux" and not debug: FAIL [:num_args=1;num_params=2] @@ -526147,8 +525753,6 @@ [:num_args=255;num_params=2] [:num_args=255;num_params=255] - expected: - if os == "linux" and not debug: FAIL [:num_args=255;num_params=3] @@ -526159,8 +525763,6 @@ [:num_args=2;num_params=1] [:num_args=2;num_params=2] - expected: - if os == "linux" and not debug: FAIL [:num_args=2;num_params=255] @@ -526177,8 +525779,6 @@ [:num_args=3;num_params=255] [:num_args=3;num_params=3] - expected: - if os == "linux" and not debug: FAIL [:num_args=3;num_params=4] @@ -526193,8 +525793,6 @@ [:num_args=4;num_params=3] [:num_args=4;num_params=4] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,functions,restrictions:param_scope_is_function_body:*] @@ -526305,8 +525903,6 @@ [:value="override";attribute="size"] [:value="override";attribute="workgroup_size"] - expected: - if os == "linux" and not debug: FAIL [:value="user_func";attribute="align"] @@ -526817,8 +526413,6 @@ [cts.https.html?q=webgpu:shader,validation,parse,diagnostic:conflicting_directive:*] [:s1="error";s2="error"] - expected: - if os == "linux" and not debug: FAIL [:s1="error";s2="info"] @@ -526829,8 +526423,6 @@ [:s1="info";s2="error"] [:s1="info";s2="info"] - expected: - if os == "linux" and not debug: FAIL [:s1="info";s2="off"] @@ -526841,8 +526433,6 @@ [:s1="off";s2="info"] [:s1="off";s2="off"] - expected: - if os == "linux" and not debug: FAIL [:s1="off";s2="warning"] @@ -526853,8 +526443,6 @@ [:s1="warning";s2="off"] [:s1="warning";s2="warning"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,parse,diagnostic:diagnostic_scoping:*] @@ -526939,8 +526527,6 @@ [:loc="for_stmt";same_rule=true] [:loc="function";same_rule=false] - expected: - if os == "linux" and not debug: FAIL [:loc="function";same_rule=true] @@ -527111,8 +526697,6 @@ if os == "linux" and not debug: FAIL [:type="attribute";location="function"] - expected: - if os == "linux" and not debug: FAIL [:type="attribute";location="if_else"] expected: @@ -527185,8 +526769,6 @@ [:type="directive";location="loop_stmt"] [:type="directive";location="module"] - expected: - if os == "linux" and not debug: FAIL [:type="directive";location="switch_body"] @@ -527203,36 +526785,20 @@ [cts.https.html?q=webgpu:shader,validation,parse,diagnostic:valid_params:*] [:severity="error";rule="derivative_uniformity";type="attribute"] - expected: - if os == "linux" and not debug: FAIL [:severity="error";rule="derivative_uniformity";type="directive"] - expected: - if os == "linux" and not debug: FAIL [:severity="info";rule="derivative_uniformity";type="attribute"] - expected: - if os == "linux" and not debug: FAIL [:severity="info";rule="derivative_uniformity";type="directive"] - expected: - if os == "linux" and not debug: FAIL [:severity="off";rule="derivative_uniformity";type="attribute"] - expected: - if os == "linux" and not debug: FAIL [:severity="off";rule="derivative_uniformity";type="directive"] - expected: - if os == "linux" and not debug: FAIL [:severity="warning";rule="derivative_uniformity";type="attribute"] - expected: - if os == "linux" and not debug: FAIL [:severity="warning";rule="derivative_uniformity";type="directive"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,parse,diagnostic:warning_unknown_rule:*] @@ -534019,8 +533585,6 @@ [cts.https.html?q=webgpu:shader,validation,parse,semicolon:after_diagnostic:*] [:] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:shader,validation,parse,semicolon:after_discard:*] @@ -540969,16 +540533,10 @@ [:attr="no_params"] [:attr="override"] - expected: - if os == "linux" and not debug: FAIL [:attr="override_expr"] - expected: - if os == "linux" and not debug: FAIL [:attr="override_no_default"] - expected: - if os == "linux" and not debug: FAIL [:attr="trailing_comma_x"] expected: @@ -543691,12 +543249,8 @@ [:case="const_count"] [:case="const_expr_count1"] - expected: - if os == "linux" and not debug: FAIL [:case="const_expr_count2"] - expected: - if os == "linux" and not debug: FAIL [:case="const_expr_func"] @@ -543717,24 +543271,14 @@ [:case="mat4x4h"] [:case="override_count"] - expected: - if os == "linux" and not debug: FAIL [:case="override_expr1"] - expected: - if os == "linux" and not debug: FAIL [:case="override_expr2"] - expected: - if os == "linux" and not debug: FAIL [:case="override_neg"] - expected: - if os == "linux" and not debug: FAIL [:case="override_zero"] - expected: - if os == "linux" and not debug: FAIL [:case="same_const_value1"] @@ -544561,8 +544105,6 @@ [:case="alias"] [:case="array_override_u32"] - expected: - if os == "linux" and not debug: FAIL [:case="array_runtime_S"] @@ -544759,8 +544301,6 @@ [cts.https.html?q=webgpu:shader,validation,types,struct:no_indirect_recursion_via_array_size:*] [:target="S1"] - expected: - if os == "linux" and not debug: FAIL [:target="S2"] @@ -548219,20 +547759,14 @@ [:format="r16float"] [:format="r32float"] - expected: - if os == "linux" and not debug: FAIL [:format="rg16float"] [:format="rg32float"] - expected: - if os == "linux" and not debug: FAIL [:format="rgba16float"] [:format="rgba32float"] - expected: - if os == "linux" and not debug: FAIL [cts.https.html?q=webgpu:util,texture,texel_data:sint_texel_data_in_shader:*]