summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_hierarchical_visitor.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-02-16 09:49:11 -0800
committerPaul Berry <[email protected]>2013-04-11 09:25:24 -0700
commit09cd6e06d2c7a54ca6eb8d3102822efa78e01a9c (patch)
tree7eeaeae8072d0d373ddf031137e235b8115181c9 /src/glsl/ir_hierarchical_visitor.cpp
parentdeffbbed4e0f24e05fe5314ee7ccd47e4826f9ba (diff)
i965/vs: Remove brw_vs_prog_data pointer from brw_vs_compile.
In patches that follow, we'll be splitting structs brw_vs_prog_data and brw_vs_compile into a vec4-generic base struct and a VS-specific derived struct (this will allow the vec4-generic code to be re-used for geometry shaders). Having brw_vs_compile point to brw_vs_prog_data makes it difficult to do this cleanly. Fortunately most of the functions that use brw_vs_compile (those in the vec4_visitor class) already have access to brw_vs_prog_data through a separate pointer (vec4_visitor::prog_data). So all we have to do is use that pointer consistently, and plumb prog_data through the few remaining functions that need access to it. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_hierarchical_visitor.cpp')
0 files changed, 0 insertions, 0 deletions