diff options
author | Kenneth Graunke <[email protected]> | 2011-06-10 14:48:46 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-06-18 17:53:57 -0700 |
commit | 6430df37736d71dd2bd6f1fe447d39f0b68cb567 (patch) | |
tree | bd7537dcc15de887aa2413dddc2f9df5cf358d59 /src/gallium | |
parent | 01fa9addf447120e994415ad8fc8246ac234ec27 (diff) |
i965/fs: Add support for TXD with shadow comparisons.
Our hardware doesn't have a sample_d_c message, so we have to do a
regular sample_d and emit instructions to manually perform the
comparison.
This requires a state dependent recompile whenever the sampler's compare
mode or function change. This adds the per-sampler comparison functions
to brw_wm_prog_key, but only sets them when the sampler's compare mode
is GL_COMPARE_R_TO_TEXTURE (i.e. only for shadow sampling).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions