summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-01-29 07:34:52 -0800
committerPaul Berry <[email protected]>2013-02-04 10:36:47 -0800
commit99b78337e38308480ee491493b045179f10ed579 (patch)
tree1dc5e072f1a84a9a96dc1ada1a8ba0a2063cea6a /src/glsl/glsl_parser_extras.h
parent53febac02c382fa163a9ad7280fc5f4d2707a665 (diff)
glsl: Support transform feedback of varying structs.
Since transform feedback needs to be able to access individual fields of varying structs, we can no longer match up the arguments to glTransformFeedbackVaryings() with variables in the vertex shader. Instead, we build up a hashtable which records information about each possible name that is a candidate for transform feedback, and then match up the arguments to glTransformFeedbackVaryings() with the contents of that hashtable. Populating the hashtable uses the program_resource_visitor infrastructure, so the logic is shared with how we handle uniforms. 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 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions