Closed GoogleCodeExporter closed 9 years ago
Hi Timur.
In strict GLSL you can't use structs for attributes. It just so happens that
NVIDIA allows this syntax, so the misconception is that it's ok. AMD's drivers
are more strict regarding this, and actively disallow this. I think (though not
sure) that Intel is the same as AMD on this one.
You can solve this taking out the attributes outside of the struct, and declare
each one independently in the definition of VSMain.
Original comment by max.snif...@gmail.com
on 8 Apr 2013 at 8:05
Very very very big thanks, i lost a day trying to figure out this and the
answer is so somple.
Thanks again Timur.
Original comment by timur.ku...@stripedarts.com
on 8 Apr 2013 at 10:22
You're welcome
Original comment by max.snif...@gmail.com
on 8 Apr 2013 at 10:25
Original comment by max.snif...@gmail.com
on 8 Apr 2013 at 10:27
Original issue reported on code.google.com by
timur.ku...@stripedarts.com
on 8 Apr 2013 at 5:28