-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need size for uniforms #258
Comments
It is not strictly needed but developers will appreciate that, especially to allocate the memory needed upfront if they want to do it while reading techniques.
But (of course) it is there on GL ES 2.0...
|
This is OK with me. Have we thought about uniform arrays in general, e.g., is the |
the count will be only for arrays, and thus will actually indicate we deal with an array. mat4 joint[1] has to be differentiated from just mat4 joint; |
So lack of |
exactly |
Spec updated in d10b1d0. This impacts both uniforms and vertex attributes since both can reference parameters. This also keeps A material parameter needs to override the entire array, not just individual elements. Is this OK for 1.0? We could add more fine-grained control later without a breaking change by adding Is there anything else we need to consider for this change? |
That sounds fine to me, thanks @pjcozzi closing now. |
split from #100
need to add count to uniforms when it is a multiple of the size defined in the type.
for example
will become
The text was updated successfully, but these errors were encountered: