Skip to content

WebGPUPathTracer: Convert kernels to use wgsl tag fn#748

Merged
gkjohnson merged 7 commits intowebgpu-pathtracerfrom
kernel-cleanup
Mar 14, 2026
Merged

WebGPUPathTracer: Convert kernels to use wgsl tag fn#748
gkjohnson merged 7 commits intowebgpu-pathtracerfrom
kernel-cleanup

Conversation

@gkjohnson
Copy link
Copy Markdown
Owner

Related to #745

  • Convert all wavefront kernels to use wgslTagFn, get it working in Firefox, Safari
  • Normalize some parameter names between kernel definitions

Somewhat related: I've noticed that there are issues with mobile rendering, as well, since some devices don't support linear interpolation of float textures. We may need to fall back to non-interpolated sampling or investigate use of Half Float textures (though I had noticed some precision artifacts when using these in webgl).

cc @TheBlek

@gkjohnson gkjohnson added this to the v0.0.25 milestone Mar 10, 2026
@gkjohnson gkjohnson changed the title WebGPUPathTracer: Convert kernels to user wgsl tag fn WebGPUPathTracer: Convert kernels to use wgsl tag fn Mar 11, 2026
@gkjohnson gkjohnson merged commit 7292053 into webgpu-pathtracer Mar 14, 2026
1 check passed
@gkjohnson gkjohnson deleted the kernel-cleanup branch March 14, 2026 02:56
@gkjohnson
Copy link
Copy Markdown
Owner Author

@TheBlek Let me know if you'd like me to help get the conflicts resolved in #717 after this merge 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants