aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_mipmap_tree.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-07-26 03:04:12 -0700
committerKenneth Graunke <[email protected]>2014-08-02 05:16:40 -0700
commita50b640dfe3580049e07bfdafb2e69410844359d (patch)
tree6ba8b391b8b7aa9a35d1e61aa26b14fda57b0875 /src/mesa/drivers/dri/i915/intel_mipmap_tree.c
parent05f0796eb68fe1be3e55b7c78c7660dccf44e0a1 (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 'src/mesa/drivers/dri/i915/intel_mipmap_tree.c')
0 files changed, 0 insertions, 0 deletions