diff options
author | Ilia Mirkin <[email protected]> | 2015-02-10 03:02:09 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-02-19 00:28:34 -0500 |
commit | 53bf7c8fd2e11a6c64d6ff3a98b56d64d2242505 (patch) | |
tree | 7214d2697606da847ffbaa0ba6878c125efdd1dd /src/gallium/docs/source/cso.rst | |
parent | 1ec715ce8b126da3cfe3b383054f9a176960c218 (diff) |
glsl: fix uniform linking logic in the presence of structs
Add a enter/leave record callback so that the offset may be aligned to
the proper value. Otherwise only leaf fields are called, and the first
field needs to be aligned to the outer struct's base alignment while the
last field needs to be aligned to the inner struct's base alignment.
This removes most usage of the last field/record type values passed into
visit_field.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/cso.rst')
0 files changed, 0 insertions, 0 deletions