diff options
author | Kenneth Graunke <[email protected]> | 2012-08-26 00:34:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-08-27 14:23:40 -0700 |
commit | 85b24b07512c5f3f05c5a3eb9561598ace97526c (patch) | |
tree | 652d2c78b8032b037b7a075212f123740ca59dfb /doxygen | |
parent | f3d0daf7ea7e42ff9ce11e8bd6fba1059a2406e8 (diff) |
i965/fs: Assume shadow sampler swizzling is <X, X, X, 1>.
Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth
textures. There are no Y, Z, or W components.
DEPTH_TEXTURE_MODE has three options:
- GL_LUMINANCE: <X, X, X, 1>
- GL_INTENSITY: <X, X, X, X>
- GL_ALPHA: <0, 0, 0, X>
The default value is GL_LUMINANCE, and most applications don't seem to
alter DEPTH_TEXTURE_MODE. Make that our precompile guess.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions