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

Re: warning,version 410 is not yet complete

$
0
0

Hi Tony,

Even if I use a very simple vertex shader, it still show that "warning,version 410 is not yet complete;most version-specific features are present, but some are missing."

Such as the following vertex shader:

 

#version 410

uniform mat4 mvpMatrix;

in vec4 vVertex;

void main(void)

    {

    gl_ClipDistance[0]=-1.0;

    gl_Position = mvpMatrix * vVertex;

    }

 

But when I change the version to 140 or 130, the warning is gone. And when I change the version to 120 or 110,it shows that the version don't support gl_ClipDistance.

In my shader, I used variable array that the version 140 don't support, so I have to use newer version.


Viewing all articles
Browse latest Browse all 631

Trending Articles