diff options
author | Kenneth Graunke <[email protected]> | 2014-01-18 13:29:39 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-01-22 17:18:48 -0800 |
commit | 6943ac0bd9d0d07019cffbbcb5189aa8d67b729b (patch) | |
tree | cf9131731e900326022d6220105edd371de7af2b /docs/perf.html | |
parent | d7450e52e67125bfff74510ee4e48bb1ce0751e7 (diff) |
i965/fs: Support arbitrarily large sampler state indices on Haswell+.
The message descriptor's "Sampler Index" field is only 4 bits (on all
generations of hardware), so it can only represent indices 0 through 15.
Haswell introduced a new field in the message header - "Sampler State
Pointer". Normally, this is copied straight from g0, but we can also
add a byte offset (as long as it's a multiple of 32).
This patch uses a "Sampler State Pointer" offset to select a group of
16 sampler states, and then uses the "Sampler Index" field to select
the state within that group.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'docs/perf.html')
0 files changed, 0 insertions, 0 deletions