mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
1 parent
66f95269b5
commit
7e5f016ca7
3 files changed
+4
-5
No files matched your search
Vendored
+1
-1
@@ -238,7 +238,7 @@ const requestDevice = webgpu.GPUAdapter.prototype.requestDevice;
|
||||
webgpu.GPUAdapter.prototype.requestDevice = function(desc) {
|
||||
return requestDevice.call(this, desc).then((device) => {
|
||||
device.onuncapturederror = (event) => {
|
||||
core.print("cts_runner caught WebGPU error:" + event.error.message, true);
|
||||
core.print("cts_runner caught WebGPU error: " + event.error.message + "\n", true);
|
||||
};
|
||||
return device;
|
||||
})
|
||||
|
||||
+1
-2
@@ -43,8 +43,7 @@ webgpu:api,operation,rendering,color_target_state:blending,GPUBlendComponent:*
|
||||
webgpu:api,operation,rendering,depth:*
|
||||
webgpu:api,operation,rendering,draw:*
|
||||
webgpu:api,operation,shader_module,compilation_info:*
|
||||
// Likely due to https://github.com/gfx-rs/wgpu/issues/7357.
|
||||
fails-if(metal) webgpu:api,operation,uncapturederror:iff_uncaptured:*
|
||||
webgpu:api,operation,uncapturederror:iff_uncaptured:*
|
||||
//FAIL: webgpu:api,operation,uncapturederror:onuncapturederror_order_wrt_addEventListener
|
||||
// There are also two unimplemented SKIPs in uncapturederror not enumerated here.
|
||||
fails-if(vulkan) webgpu:api,operation,vertex_state,correctness:array_stride_zero:*
|
||||
|
||||
@@ -84,12 +84,12 @@ fn uncaptured_error() {
|
||||
const device = await adapter.requestDevice();
|
||||
device.createShaderModule({ code })
|
||||
"#,
|
||||
"cts_runner caught WebGPU error:
|
||||
"cts_runner caught WebGPU error:\x20
|
||||
Shader '' parsing error: the type of `val` is expected to be `u32`, but got `{AbstractFloat}`
|
||||
┌─ wgsl:1:7
|
||||
│
|
||||
1 │ const val: u32 = 1.1;
|
||||
│ ^^^ definition of `val`\n\n",
|
||||
│ ^^^ definition of `val`\n\n\n",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user