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

Re: Shader Storage Buffer object : type or qualifier changed between vertex and fragment ?

$
0
0

The interface is between pipeline stages, fragment shader would not have an output interface because there is no exposed pipeline stage after the fragment shader. With that said the fragment shader takes input from previous pipeline stages and as such the input in your case from the vertex shader ( you are declaring out gl_PerVertex ) must match the input the fragment shader is expecting

 

As per in vec4 gl_FragCoord... the gl_FragCoord builtin is NOT an input for the fragment shader..it is an output.

 

Finally from the looks of things and as explained before..this does not seems to be an AMD error or a driver issue so far. How is the error meaningless ?


Viewing all articles
Browse latest Browse all 631

Trending Articles