[Mesa-dev] [PATCH 01/12] intel: Only prefer separate stencil when we can do HiZ.
Chad Versace
chad.versace at linux.intel.com
Tue Dec 6 09:57:32 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/05/2011 11:42 AM, Eric Anholt wrote:
> This required is_hiz_depth_format to start returning true on S8_Z24 as
> well, since that's the format we have here. The two previous callers
> are only calling it on non-depthstencil formats.
>
> This avoids us needing to have HiZ working on a new Z format
> immediately upon exposing the format (particularly painful for
> Z32_FLOAT_X24S8, which means all the fake packed depth/stencil paths).
> ---
> src/mesa/drivers/dri/i965/brw_vtbl.c | 12 ++++++++++--
> src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 6 ++++--
> 2 files changed, 14 insertions(+), 4 deletions(-)
This looks right to me.
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJO3leIAAoJEAIvNt057x8iTnMP/jpfAiDcGpb06u+A/lGC3zwd
0d1qLct4OH0tsRU6ZZM82OVK0OlHPwjHwDnDuPKW3InwKHWeqs4+nKVHLFPYFhHY
VuwmtZ3o15g6hOUsm/KisDGns6lj5FiAPlS2BwXuopEiuWF+HgpB1naTkCo8Hate
AK3EfdxspaR4HiGF678BPPzRj5JP7HdaFjR4bP7pl4KZ69bxcpzLLCA9bWEYlVp/
GkN6gDDqbkDCjSyjjWrlQcuCMFLWiQsKT1u4oer3EiyTXxAGcPYkBGvpPy/5nSBI
XE1vd85uyDUNC+DRRsyfYjJP0WAhBDPbZzEZWJ4JikUjrgubFx0LjfQjT1HCz28M
iRa2esXTo5PuApMaiaQFc/u+UQSYCigZNFaLByvEzqC/2r4wNCF1u2e9zdSS+4Vj
lK1oB8vwnmaXxQGOFXrVZrs/S7dib06Qj9z8MStsOVRtG+g63KFQiC6bx1fl7T1S
PkmzhfW/Jr5nxUYlRi9OXS6QvgeHEI9ZbEbyvrcjg7lglTyMF8BHhtm16/k/chP/
9J6icyHjj/VoVuccOpHa6nWHYiicH+k1Yaz5x9V7fdl8UV6SHOgLSY/E1MrhOhlf
bCUkHExBTAQ7eVxW/IVDf854af6xVlLn0DiClO24gmBbeMcDeAXTT7L0ob8ZJoym
6vIStmgBmb5v54/K8wbL
=8Nfb
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list