diff options
author | Tapani Pälli <[email protected]> | 2015-10-26 11:13:14 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-10-26 12:52:17 +0200 |
commit | 8ae4317c3643f1728f99172812df6df2d30456bb (patch) | |
tree | 0c3972566af451fe03a1d9d2d89804d81c3a4a14 /src/gallium | |
parent | a305d59baa4ad9f8ebbe74b53f022e8ff6636c29 (diff) |
mesa: add additional checks for uniform location query
Patch adds additional check to make sure we don't return locations for
structures or arrays of structures.
From page 79 of the OpenGL 4.2 spec:
"A valid name cannot be a structure, an array of structures, or any
portion of a single vector or a matrix."
v2: use without-array() to simplify code (Timothy)
No Piglit or CTS regressions observed.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions