diff options
author | Kenneth Graunke <[email protected]> | 2012-07-09 21:25:37 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-07-12 10:20:26 -0700 |
commit | b546aebae922214dced54c75e6f64830aabd5d1c (patch) | |
tree | c7b9d5d7da95c0e1a75b94108018b164be112742 /src/mesa/drivers/dri/i965/brw_program.h | |
parent | b0c8d3be73ea777e1fd5870c344afb1d31921411 (diff) |
i965: Delete previous workaround for textureGrad with shadow samplers.
It had many problems:
- The shadow comparison was done post-filtering.
- It required state-dependent recompiles whenever the comparison
function changed.
- It didn't even work: many cases hit assertion failures.
- I never implemented it for the VS.
The new lowering pass which converts textureGrad to textureLod by
computing the LOD value works much better.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.h b/src/mesa/drivers/dri/i965/brw_program.h index a2698cf2e29..287994f5262 100644 --- a/src/mesa/drivers/dri/i965/brw_program.h +++ b/src/mesa/drivers/dri/i965/brw_program.h @@ -29,18 +29,6 @@ */ struct brw_sampler_prog_key_data { /** - * Per-sampler comparison functions: - * - * If comparison mode is GL_COMPARE_R_TO_TEXTURE, then this is set to one - * of GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, - * GL_GEQUAL, or GL_ALWAYS. Otherwise (comparison mode is GL_NONE), this - * field is irrelevant so it's left as GL_NONE (0). - * - * While this is a GLenum, all possible values fit in 16-bits. - */ - uint16_t compare_funcs[BRW_MAX_TEX_UNIT]; - - /** * EXT_texture_swizzle and DEPTH_TEXTURE_MODE swizzles. */ uint16_t swizzles[BRW_MAX_TEX_UNIT]; |