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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user