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
Describe the bug
Drawing the same indexed vertices multiple times with some uniforms set only once per pipeline/frame and other uniforms set differently for each draw call, the resulting render looks strange (out of sync, appears to be drawn over the span of multiple frames).
Expected behavior
See the video where the OpenGL backend is being used.
Execution Environment:
Host system (where you compile your code): Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz - Linux 6.6.3-zen1-1-zen Update VertexBufferImpl.cpp #1 ZEN SMP PREEMPT_DYNAMIC Wed, 29 Nov 2023 00:40:39 +0000 x86_64 GNU/Linux
Target system (where you run your code): same as host
So at the moment your 1st instance uses all constants and the rest are only using off_loc and rot_loc.
1st cube:
2nd cube:
Edit:
The cubes eventually appear because each frame the mvp and v uniform constants are set on a different offset location
1st cube now has offset 344064:
Describe the bug
Drawing the same indexed vertices multiple times with some uniforms set only once per pipeline/frame and other uniforms set differently for each draw call, the resulting render looks strange (out of sync, appears to be drawn over the span of multiple frames).
using G4onG5 with Vulkan backend
rec-2023-12-03--15-17-42.mp4
using OpenGL backend
rec-2023-12-03--15-22-18.mp4
To Reproduce
A repro repo can be found here: weird-vulkan-behavior
Expected behavior
See the video where the OpenGL backend is being used.
Execution Environment:
Running with Vulkan validation layers enabled.
The text was updated successfully, but these errors were encountered: