You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
error: invalid field accessor `bevy_pbr::mesh_view_bindings::view`
┌─ shaders/instancing.wgsl:39:86
│
39 │ let idk = bevy_pbr::mesh_view_bindings::view.bevy_pbr::mesh_view_bindings::view;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid accessor
│
= invalid field accessor `bevy_pbr::mesh_view_bindings::view`
what were you expecting?
Field access to work like expected
what actually happened?
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:
It even lists the exact same example of view.view, so I think it is safe to assume so. Awesome to see it fixed already :) I'll just have to watch out for when the version is bumped
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: