r600_state_common.c:761:r600_draw_vbo: Assertion `0' failed
Submitted by Marko Srebre
Assigned to Default DRI bug account
Description
Created attachment 60568 R600_DUMP_SHADERS
Hello,
I have an application using a rather complex shader with some branching - while/if. Applications fails with r600 driver giving the following error:
EE r600_shader.c:140 r600_pipe_shader_create - translation from TGSI failed ! r600_state_common.c:761:r600_draw_vbo: Assertion `0' failed.
It seems something goes wrong in the branching section, since it works if I comment it. The same shader works fine using either LIBGL_ALWAYS_SOFTWARE=1 or fglrx. Also, I can remember working it fine with some older revision of R600, unfortunately I don't know which one exactly.
I have attached R600_DUMP_SHADERS output. If needed I can also provide links to source code or any other data that may be helpful in debugging.
Some relevant parts of glxinfo:
OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD RV770 OpenGL version string: 2.1 Mesa 8.1-devel (git-1a33c1b2 precise-oibaf-ppa)
Best regards, Marko
Attachment 60568, "R600_DUMP_SHADERS":
R600_DUMP_SHADERS
Version: git