[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Unused varyings.

Hmm, but is it legal to declare a varying in the fragment shader, but not in the vertex shader, if the one in the FS is unused?  That sounds like what might be happening here.

"The only error case is when a varying is _declared_and_read_ by the fragment shader but is not declared in the vertex shader."

That's legal, but icky.

-- Kenneth Waters