I’ve having some issues linking a shader program on our current Linux platform. It works perfectly on any Windows platform I’ve tried using. I’m getting the following errors:
Link info
error: type mismatch for varying parameter (named FragData.kVSPos)
between shader stages
error: type mismatch for varying parameter (named FragData.fRadius)
between shader stages
error: type mismatch for varying parameter (named FragData.kColor)
between shader stages
error: type mismatch for varying parameter (named FragData.kMapping)
between shader stages
which are defined in a geometry shader and a fragment shader.
Then in your shader use “vars.fRadius”, etc. I’m not going to claim that I “get” this syntax, but it works. Try it. Then add your interpolation qualifiers.
BTW, are you saying your example works with Windows NVidia drivers but not Linux NVidia drivers? Which versions of each?
This is driving me nuts. It’s a work related thing so I have to get it working one way or another.
Link info
error: type mismatch for varying parameter (named ShaderVars.vars.kVSPos)
between shader stages
error: type mismatch for varying parameter (named ShaderVars.vars.fRadius)
between shader stages
error: type mismatch for varying parameter (named ShaderVars.vars.kColor)
between shader stages
error: type mismatch for varying parameter (named ShaderVars.vars.kMapping)
between shader stages
GLSL 3.30 has geometry shader functionality built into it. Geometry shader functionality that is very different from that exposed by the EXT version. I would suggest not confusing the driver by telling it that you could be using two different interfaces to the same tech. Your shader seems to be 3.30, so just call it that and drop the extension part.