History log of /external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a80a1e2a702228501fd298b9b176efa8c2c6258 05-Apr-2012 Kenneth Graunke <kenneth@whitecape.org> i965: Actually upload sampler state pointers for the VS unit on Gen6.

We already program all the sampler state correctly, we just didn't give
the GPU a pointer to it for the VS stage. Thus, any texturing other
than texelFetch() wouldn't work.

Fixes piglit test vs-textureLod-miplevels and 99 of oglconform's
glsl-bif-tex subtests.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
32dfa6e5ef3d1fb703ec34942c55408be22e7ec3 28-Oct-2011 Kenneth Graunke <kenneth@whitecape.org> i965: Move and rename "wm sampler" fields to just "sampler".

brw_wm_samplers actually enables any active samplers regardless of what
pipeline stage is using them, so it doesn't make much sense for it to be
WM-specific. So, rename it to "brw_samplers."

To properly generalize it, move sampler_count and sampler_offset from
brw_context::wm to a new brw_context::sampler that can be shared without
looking strange.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
a09c5c2e3053c48a33134cf28229105bfef52e6f 19-Jun-2011 Eric Anholt <eric@anholt.net> i965: Reissue PIPELINE_POINTERS and BINDING_TABLE_POINTERS on SBA change.

This was a requirement we didn't run into until we started using
STATE_BASE_ADDRESS for instruction data.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
a82a43e8d99e1715dd11c9c091b5ab734079b6a6 23-Apr-2011 Eric Anholt <eric@anholt.net> i965/gen6: Use the dynamic state base address to reduce relocations.

Now that all the dynamic state is streamed through the top of the
batchbuffer, we can cut out many of our relocations to that state by
using the base address.

Improves 3DMMES taiji performance 3.3% +/- 0.4% (n=15).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
5c742ea1ee0cea031cb99651155d0c7521f42b4e 23-Apr-2011 Eric Anholt <eric@anholt.net> i965: Move sampler state to state streaming.

Overall, across this series since the last set of numbers, gen6 3DMMES
taiji performance has dropped 0.8% +/- 0.3% (n=15), probably due to
the increased reissuing of state from some of the state objects that
otherwise never changed, and increased occurrence of the per-batch
overhead as we've increased how much we put in the batch BO without
increasing the batch BO's size.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
e31defc825ee94f1d1092e277954abad7097c552 04-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> i965: Rename various gen6 #defines to match the documentation.

This should make it easier to cross-reference the code and hardware
documentation, as well as clear up any confusion on whether constants
like CMD_3D_WM_STATE mean WM_STATE (pre-gen6) or 3DSTATE_WM (gen6+).

This does not rename any pre-gen6 defines.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
2595589f1df351895bc5b1a92f19e995a19da15b 19-Oct-2010 Eric Anholt <eric@anholt.net> i965: Remove the gen6 emit_mi_flushes I sprinkled around the driver.

These were for debugging in bringup. Now that relatively complicated
apps are working, they haven't helped debug anything in quite a while.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
c76d4db25260dd68684bf784efacd7323c7cab8b 26-Feb-2010 Vinson Lee <vlee@vmware.com> i965: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
54ea39f768871eb10286b195e1cd77f757c99752 26-Feb-2010 Eric Anholt <eric@anholt.net> i965: Don't set a nonexistent enable bit in several SNB state pointers.

The modify bit is now usually in the instruction header. The
exception is CC state pointers.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c
c791f8a1e532834ae7a517c042e9efe262b62233 01-Feb-2010 Eric Anholt <eric@anholt.net> i965: Set up the SNB sampler state pointers.
/external/mesa3d/src/mesa/drivers/dri/i965/gen6_sampler_state.c