diff options
author | Chad Versace <chad@chad-versace.us> | 2011-06-08 19:08:14 -0700 |
---|---|---|
committer | Chad Versace <chad@chad-versace.us> | 2011-06-21 11:21:57 -0700 |
commit | 23ed3b90c7f9056182307f9a69a56f748da331a3 (patch) | |
tree | 9d33d2908712dbff7d30f967a5524ccc0a8e9942 /src/mesa/drivers/dri/intel/intel_fbo.h | |
parent | 0cb356dd5c93f745bb1b17987d206a24ab708f31 (diff) | |
download | external_mesa3d-23ed3b90c7f9056182307f9a69a56f748da331a3.zip external_mesa3d-23ed3b90c7f9056182307f9a69a56f748da331a3.tar.gz external_mesa3d-23ed3b90c7f9056182307f9a69a56f748da331a3.tar.bz2 |
intel: Unconditionally enable support for S8_Z24 texture format
Commit b5c847c7ca06823af3b72324056a2e478caca70b erroneously disabled
support for S8_Z24 texture format when the context required separate
stencil (intel_context.must_use_separate_stencil).
But the GL spec requires implementations to support GL_DEPTH24_STENCIL8.
So we better find a way to fake it...
From page 180 (196 of pdf) of the OpenGL 3.0 spec:
In addition, implementations are required to support the following
sized internal [texture] formats.
[...]
- Combined depth+stencil formats: DEPTH32F_STENCIL8 and and
DEPTH24_STENCIL8.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
0 files changed, 0 insertions, 0 deletions