Closed
Bug 1960410
Opened 1 year ago
Closed 1 year ago
WGSL doesn't properly support all texture function overloads
Categories
(Core :: Graphics: WebGPU, defect, P3)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
DUPLICATE
of bug 1952980
People
(Reporter: aleiserson, Unassigned)
References
Details
Some calls to texture functions fail with a signature like:
error: Function [0] 'f' is invalid
┌─ textureSampleLevel.wgsl:7:1
│
7 │ ╭ fn f() -> vec4<f32> {
8 │ │ return textureSampleLevel(t, s, vec2f(), 0);
│ │ ^^^^^^^^^^^^^^^^^^ naga::ir::Expression [4]
│ ╰──────────────────────────────────────────────^ naga::ir::Function [0]
│
= Expression [4] is invalid
= Sample level (exact) type [3] has an invalid type
| Reporter | ||
Updated•1 year ago
|
Blocks: webgpu-unleashed
| Reporter | ||
Updated•1 year ago
|
No longer blocks: webgpu-unleashed
| Reporter | ||
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•