We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf2eb8 commit 5c80722Copy full SHA for 5c80722
1 file changed
naga/tests/naga/wgsl_errors.rs
@@ -2306,22 +2306,6 @@ fn invalid_zero_value_constructors() {
2306
4 │ let x = array<u32, len>();
2307
│ ^^^^^^^^^^^^^^^ type is not constructible
2308
2309
-"#,
2310
- );
2311
-
2312
- // Rejected in parser (but may change with template-list discovery)
2313
- check(
2314
- "
2315
- fn f() {
2316
- let x = texture_2d<f32>();
2317
- }
2318
- ",
2319
- r#"error: type `texture_2d` is not constructible
2320
- ┌─ wgsl:3:21
2321
- │
2322
-3 │ let x = texture_2d<f32>();
2323
- │ ^^^^^^^^^^ type is not constructible
2324
2325
"#,
2326
);
2327
0 commit comments