diff options
author | Kenneth Graunke <[email protected]> | 2012-06-16 13:50:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-07-12 14:17:44 -0700 |
commit | fe911c1d433c6fddc8f1e1226286b26d635d6ad4 (patch) | |
tree | e0480dd097cec6d1e4142cab93877c7b126d9b4c /src/mesa/main/image.c | |
parent | 86e401b771ce4a6f9a728f76c5061c339f012d0a (diff) |
i965: Move loop over texture units into brw_populate_sampler_prog_key.
The whole reason I avoided this was because it might operate on a
brw_vertex_program or a brw_fragment_program. However, that isn't a
problem: all we need is the gl_program base type.
This avoids awkwardly passing the loop counter 'i' as a parameter,
simplifies both callers, and also plumbs prog in place for future use.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/image.c')
0 files changed, 0 insertions, 0 deletions