Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

Re: GLSL compiler bug (possibly) using 13.12 / 14.3

$
0
0

It also seems to be some kind of graphical bug caused by the subroutines. This is the image generated when the above shader managed to compile:

subroutines.png

Notice the edges not being shaded? It shouldn't be like that. The cube should be as it is when no subroutines are used at all, like this:

nosubroutines.png

This is produced when no subroutines are used, however the implementation is identical apart from the fact that instead of calling functions I simply run the code inline. Also note that this is only using subroutines within the fragment shader.


Viewing all articles
Browse latest Browse all 631

Trending Articles