Open Bug 1913422 Opened 5 months ago Updated 3 months ago

Jonathan Olson's "Exact Polygonal Filtering" encounters WebGPU shader errors

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

People

(Reporter: ErichDonGubler, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug, )

Details

Attachments

(1 file)

No description provided.

Console errors for shader compilation:

WebGPU compilation info for shader module "module_ tile" (1 error(s), 0 warning(s), 0 info)

Shader validation error: 
    ┌─ module_ tile:192:20
    │
192 │         let edge = result.edges[ i ];
    │                    ^^^^^^^^^^^^^^^^^ naga::Expression [120]
WebGPU compilation info for shader module "module_ two pass coarse" (1 error(s), 0 warning(s), 0 info)

Shader validation error: 
    ┌─ module_ two pass coarse:205:20
    │
205 │         let edge = result.edges[ i ];
    │                    ^^^^^^^^^^^^^^^^^ naga::Expression [154]
Blocks: webgpu-apps
Depends on: 1913424

After the fix to bug 1913424, I get this error now:


Shader validation error: 
     ┌─ module_ two pass fine:992:1
     │  
 992 │ ╭ fn evaluate_render_program_instructions(
 993 │ │   render_program_index: u32,
 994 │ │   centroid: vec2f,
 995 │ │   bounds_centroid: vec2f
     · │
1271 │ │           stack_length += 2;
     │ │           ^^^^^^^^^^^^^^^^^ naga::Expression [741]
     · │
1407 │ │   }
1408 │ │   return stack[ 0u ];
     │ ╰─────────────────────^ naga::Function [31]

The issue :jrmuizel mentions in comment 3 is bug 1829879.

Depends on: 1829879
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: