summaryrefslogtreecommitdiffstats
path: root/docs/COPYING
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-01-29 05:52:47 -0800
committerPaul Berry <[email protected]>2013-02-04 10:36:44 -0800
commit53febac02c382fa163a9ad7280fc5f4d2707a665 (patch)
tree32af700cc40b057271d17f6a89851fa2c614a7b3 /docs/COPYING
parentb4db34cc4c047427a21efb9bde03d7e125f70e55 (diff)
glsl: Use parse_program_resource_name to parse transform feedback varyings.
Previously, transform feedback varyings were parsed in an ad-hoc fashion that wasn't compatible with structs (or array of structs). This patch makes it use parse_program_resource_name(), which correctly handles both. Note that parse_program_resource_name()'s technique for handling mal-formed input strings is to simply let them through and rely on the fact that a future name lookup will fail. Because of this, tfeedback_decl::init() no longer needs to return a boolean error code--it always succeeds, and if the input was mal-formed the error will be detected later. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'docs/COPYING')
0 files changed, 0 insertions, 0 deletions