Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AMD hangs with multidraw on Linux #9
Ubuntu 14.04 LTS
The multidraw examples do not work on my linux config. Examples that use Shader Draw Params hang my config. Requiring a kill -9 on the process
GLMultiDraw-NoSDP only renders one of the cubes.
If you replace gl_DrawIDARB with gl_BaseInstanceARB for GLMultiDraw-SDP, the driver does not hang. The output then matches GLMultiDraw-NoSDP. But note that output is still incorrect.
I believe glMultiDrawElementsIndirect only works on AMD linux drivers when a GL_DRAW_INDIRECT_BUFFER is bound. I added a new solution TextureArrayMultiDrawBuffer that works while TextureArrayMultiDraw does not.
Note that SDP & NoSDP work when a GL_DRAW_INDIRECT_BUFFER is bound. When one isn't bound, NoSDP renders incorrectly while SDP hangs the driver.