diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2014-07-26 11:36:33 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2014-08-02 05:14:42 -0700 |
commit | c2f231e18104e3300d9fab86600e7e0f6c77d1fb (patch) | |
tree | c3c39022135b9412f363cfa7fd2a466488d7360c /src/mesa/drivers/common | |
parent | 8fbc96ca74012d3f94564d88692e170bc4ef7937 (diff) | |
download | external_mesa3d-c2f231e18104e3300d9fab86600e7e0f6c77d1fb.zip external_mesa3d-c2f231e18104e3300d9fab86600e7e0f6c77d1fb.tar.gz external_mesa3d-c2f231e18104e3300d9fab86600e7e0f6c77d1fb.tar.bz2 |
i965: Make brw_upload_sampler_state_table handle Gen7+ as well.
This copies a few changes from gen7_upload_sampler_state_table; the next
patch will delete that function.
Gen7+ has per-stage sampler state pointer update packets, so we emit
them as soon as we emit a new table for a stage. On Gen6 and earlier,
we have a single packet, so we delay until we've changed everything
that's going to be changed.
v2: Split 3DSTATE_SAMPLER_STATE_POINTERS_XS packet emission into a
helper function (suggested by Topi Pohjolainen).
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/common')
0 files changed, 0 insertions, 0 deletions