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

Hi Graham !

Thanks for your reply and your great work.

 

But i still cannot to realise what i need to do.

 

gl_PerVertex used as input in geometry shader, not fragment.

 

If i try to declare gl_PerVertex in my fragment shader as

in gl_PerVertex { vec4 gl_Position; };

i am getting an error:

 

error #168 : reserved built-in name 'Fragment Shader in'

 

Also that page Built-in Variable (GLSL) - OpenGL.org doesn't say that fragment shader have any interface built-ins.

Also i'm not using any of fragment shader built-ins in my fragment shader.

If i try to declare some built-in as you suggested for example

 

invec4gl_FragCoord;


an error is still here.


Please investigate in that bad error

I really love amd's hardware but that meaningless error makes me unhappy.


Viewing all articles
Browse latest Browse all 631

Trending Articles