4 Replies Latest reply on Jul 25, 2014 9:53 AM by yan_qingsong

    warning,version 410 is not yet complete

    yan_qingsong

      I had code a vertexshader. Then I use it on an AMD card,but it didn't work. I can't find what's wrong with the vertexshader. So I run it on a NVIDIA card and it work well.

       

      Then I compile it through the reference compiler.The result shows that "warning,version 410 is not yet complete;most version-specific features are present, but some are missing."

       

      I know that AMD is rather rigidly following the GLSL's specification and nVidia is bit more relaxed. So it can work on a nVidia card.

       

      I just want to know how to solve this warning.

        • Re: warning,version 410 is not yet complete
          tonyhosier

          Hi,

           

          Could you post your shader code if possible? If not, I'm just guessing that maybe your shader is using code newer than shader version 410. Try increasing the shader version number in your shader and see if that helps.

           

          Thanks,

          Tony.

            • Re: warning,version 410 is not yet complete
              yan_qingsong

              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.

                • Re: warning,version 410 is not yet complete
                  ionutcava

                      That's just the reference compiler informing you that not all language features of ver 410+ are available for validation. It will try and check what it knows about, only. You'll get the same warning on NVidia and Intel cards as well.

                      The shader issue you are having on AMD is real (see the clip distance thread on the forum for more details), but the warning is nothing to worry about. I'm using it with 430 and 440 shaders.