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)

defect

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

wgpu#7488

No longer blocks: webgpu-unleashed
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1952980
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.