-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Add support for IndexFormat::Uint16 #2990
[Merged by Bors] - Add support for IndexFormat::Uint16 #2990
Conversation
Would this need to be done at other place, like bevy/pipelined/bevy_pbr2/src/render/light.rs Line 805 in 432ce72
|
Good point, fixed. |
f917756
to
ba8835a
Compare
just rebased / resolved conflicts. this looks good to me! |
bors r+ |
# Objective while testing wgpu/WebGL on mobile GPU I've noticed bevy always forces vertex index format to 32bit (and ignores mesh settings). ## Solution the solution is to pass proper vertex index format in GpuIndexInfo to render_pass
Pull request successfully merged into pipelined-rendering. Build succeeded: |
Objective
while testing wgpu/WebGL on mobile GPU I've noticed bevy always forces vertex index format to 32bit (and ignores mesh settings).
Solution
the solution is to pass proper vertex index format in GpuIndexInfo to render_pass