Not sure which board this should go on, but here is the problem:
I'm getting the complier error:
error(#160) Cannot convert between 'unknown qualifier array of float' to 'default varying array of float'
The extact line of code that is causing the problem is
in float vInstance[3];
...
gl_Layer = int(vInstance[0]);
This code has no problems running on various Intel cards on Win7 or ipad's
Where this started being a problem is on a Integrated AMD Radeon HD 6310 card on a Win7 machine.
The processor on the offending machine is: 1.6 GHz AMD eOntario T56N Dual Core APU
What I'm looking for is why is this happening and what can I do to fix it?
Thank you
Cannot assign to gl_Layer without complie error
Where this started being a problem is on a Integrated AMD Radeon HD 6310 card on a Win7 machine.
How old is that card, did you update the drivers and are you sure that they even support the version of GLSL you're using? Also, for the ATI in my notebook I remember I had to explicitely tell it the GLSL version to use or it would stick with the "old" syntax that doesn't know "in"/"out" and uses "varying" instead (which your error message pretty much suggests).
Its a brand new card with the latest drivers. I'll try telling it which verision to use, however it may be a bit before I try it out.
This is happening at work and priorities have changed.
Thank you
This is happening at work and priorities have changed.
Thank you
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement