Skip to content

Conversation

@pushrax
Copy link

@pushrax pushrax commented Mar 7, 2015

Some NVIDIA GLSL compilers have a discrepancy causing array-typed function arguments declared with the "out" parameter qualifier to not update the caller's input. Whether this is a driver bug or not is debatable, but in any event this workaround should support all cases.

This was reported on the NVIDIA forums a little while ago by someone else: https://devtalk.nvidia.com/default/topic/777925/opengl/varying-array-set-inside-function-using-quot-out-quot-fails/

@xthexder thanks for finding this one!

The NVIDIA GLSL compiler has a discrepancy causing array-typed function
arguments declared with the "out" parameter qualifier to not update the
caller's input.

Whether this is a driver bug or not is debatable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants