Skip to content

WebGPU: Convert material reference to uint rather than struct#774

Open
gkjohnson wants to merge 1 commit into
webgpu-pathtracerfrom
webgpu/material-var
Open

WebGPU: Convert material reference to uint rather than struct#774
gkjohnson wants to merge 1 commit into
webgpu-pathtracerfrom
webgpu/material-var

Conversation

@gkjohnson

@gkjohnson gkjohnson commented Jul 4, 2026

Copy link
Copy Markdown
Owner

@TheBlek - I think this is what we'd discussed in #770: converting the global scratch material reference to a uint rather than copying the full material to improve register use. Maybe this is where better GPU-side timing instrumentation would be useful but I'm not seeing any meaningful difference in performance or anything when testing the rover model. Are there improvements on your end?

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.

1 participant