Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

Re: why the gl_ClipDistance[] doesn't work?

$
0
0

Hi!

Try to size the gl_ClipDistance array in the shader and see if that solves it. (e.g. "out float gl_ClipDistance[6]").

Although this shouldn't be needed if indexed with a constant integer (like you already are), I found that it solved a similar issue for me on my R9 290. (note: my notebook's GTX550M didn't complain, similar to your findings)


Viewing all articles
Browse latest Browse all 631

Trending Articles