mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 18:10:17 +01:00
i965: Add support for Z16 depth formats.
v2: Don't flag the format as being HiZ ready (there's DRI2 handshake
pain to go through).
Fixes piglit gl-3.0-required-sized-texture-formats
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
f0d5c92a4c
commit
2f868f1ddd
1 changed files with 1 additions and 0 deletions
|
|
@ -553,6 +553,7 @@ brw_init_surface_formats(struct brw_context *brw)
|
|||
ctx->TextureFormatSupported[MESA_FORMAT_X8_Z24] = true;
|
||||
ctx->TextureFormatSupported[MESA_FORMAT_Z32_FLOAT] = true;
|
||||
ctx->TextureFormatSupported[MESA_FORMAT_Z32_FLOAT_X24S8] = true;
|
||||
ctx->TextureFormatSupported[MESA_FORMAT_Z16] = true;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue