C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
glVertexAttribDivisor + instanced draw doesn't work correctly with latest PVRVFrame, it will result in messy rendering result.
incorrect result with PVRVFrame:
correct result with Angle:
Repro steps
The code has nothing fancy, just regular instancing rendering code. We have a vertex buffer which contains 10 world matrix for 10 instances, and use glVertexAttribDivisor(..., 1) to specify its "step rate".
If you want, I can send you RenderDoc capture files which can reproduce the bug.
Environment
SDK version: R19.2-v5.4
Operating System/Device: Windows 10/ GTX 2080 Ti (driver : 441.66)
Description
glVertexAttribDivisor + instanced draw doesn't work correctly with latest PVRVFrame, it will result in messy rendering result.
incorrect result with PVRVFrame:![pvr](https://user-images.githubusercontent.com/2784749/71706560-b8a6ed00-2e20-11ea-998f-3c933d1dbb1f.PNG)
correct result with Angle:![angle](https://user-images.githubusercontent.com/2784749/71706564-c2c8eb80-2e20-11ea-98c0-6b70f5f599aa.PNG)
Repro steps
The code has nothing fancy, just regular instancing rendering code. We have a vertex buffer which contains 10 world matrix for 10 instances, and use
glVertexAttribDivisor(..., 1)
to specify its "step rate".If you want, I can send you RenderDoc capture files which can reproduce the bug.
Environment
Additional Info