naga_oil interprets field access as imported binding #9466
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
S-Duplicate
This issue or PR already exists
Bevy version
Hash - 43fe83b
What you did
In my wgsl code I have
#import bevy_pbr::mesh_view_bindings view
. Later I try to use the "view" field of the "view" binding - ...view.view
...This results in the following wgsl validation error
Field access to work like expected
The field is interpreted as the imported binding
Additional information
I assume this is an unintended consequence of #5703
The text was updated successfully, but these errors were encountered: