diff options
author | Kenneth Graunke <[email protected]> | 2014-07-26 03:04:12 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-02 05:16:40 -0700 |
commit | a50b640dfe3580049e07bfdafb2e69410844359d (patch) | |
tree | 6ba8b391b8b7aa9a35d1e61aa26b14fda57b0875 /scons/custom.py | |
parent | 05f0796eb68fe1be3e55b7c78c7660dccf44e0a1 (diff) |
i965: Make brw_update_sampler_state() use brw_emit_sampler_state().
Instead of stuffing bits directly into the brw_sampler_state structure,
we now store them in local variables, then use brw_emit_sampler_state()
to assemble the packet. This separates the decision about what values
to use from the actual packet emission, which makes the code more
reusable across generations.
v2: Put const on a bunch of local variables and move declarations,
as suggested by Topi Pohjolainen.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'scons/custom.py')
0 files changed, 0 insertions, 0 deletions