Menu

#45 Bug in basicshader.glfx

1.0
closed
nobody
None
2021-01-24
2021-01-16
iaakki
No

VPVR fails to start any table on latest Radeon drivers. For example Adrenalin 20.12.2 fails; 20.10.1 works.

Issue is that shader compilation fails for BasicShader.glfx. And the error message is:
0x09dc0ac0 "Geometry shader failed to compile with the following errors:\nERROR: 0:77: error(#375) Redeclaration of built-in name: gl_ViewportIndex\nERROR: error(#273) 1 compilation errors. No code generated\n\n"

This can be fixed by removing line ~284 from BasicShader.glfx:
out int gl_ViewportIndex;

After removing this redeclaration VPVR works great with Radeon 6900xt and one friend tested that it works also with Nvidia GPU. I suspect that Adrenalin got more strict on shader notation or something??

Discussion

  • Sebastian

    Sebastian - 2021-01-24

    Should be fixed in the latest release.

     
  • Sebastian

    Sebastian - 2021-01-24
    • status: open --> closed
     

Log in to post a comment.