diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-10-01 14:46:01 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-10-09 08:13:55 +0200 |
commit | d0992fa15a4bfaff59de50e6084a0a14882d3bdb (patch) | |
tree | 4f4d2254ffaecb046d2fe83048e4079bebcbe38a /src/util/.gitignore | |
parent | 66ca8e6632b2623425f848b9efc16edbed56f306 (diff) |
main: buffer array variables can have array size of 0 if they are unsized
From ARB_program_query_interface:
For the property ARRAY_SIZE, a single integer identifying the number of
active array elements of an active variable is written to <params>. The
array size returned is in units of the type associated with the property
TYPE. For active variables not corresponding to an array of basic types,
the value one is written to <params>. If the variable is a shader
storage block member in an array with no declared size, the value zero
is written to <params>.
v2:
- Unsized arrays of arrays have an array size different than zero
v3:
- Arrays and unsized arrays will have an array_stride > 0. Use it
instead of is_unsized_array flag (Timothy).
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/util/.gitignore')
0 files changed, 0 insertions, 0 deletions