Bug 269114
| Summary: | [WebGPU] Crash in Constraints.cpp:199 concretize | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Tadeu Zagallo <tzagallo> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
Running https://gpuweb.github.io/cts/standalone/?q=webgpu:shader,validation,expression,call,builtin,bitcast:bad_type_nonconstructible:var=%22t%22;direction=%22from%22
crashes on a release assert because texture_depth_2d can not be bitcast:
@group(0) @binding(0) var s: sampler;
@group(0) @binding(1) var t: texture_depth_2d;
@group(0) @binding(2) var<storage> b: array<i32>;
var<private> v: i32;
@compute @workgroup_size(1)
fn main() {
let p = &v;
let x = bitcast<i32>(t);
}
instead of release assert, we could probably return an error here since the wgsl is not valid
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/122677724>
Tadeu Zagallo
Pull request: https://github.com/WebKit/WebKit/pull/24283
EWS
Committed 274539@main (28ce6649da17): <https://commits.webkit.org/274539@main>
Reviewed commits have been landed. Closing PR #24283 and removing active labels.