[Mesa-dev] [PATCH] i965: Disable KHR_texture_compression_astc_hdr on Gen9

Kenneth Graunke kenneth at whitecape.org
Fri Apr 22 23:25:37 UTC 2016


On Tuesday, April 12, 2016 5:34:49 PM PDT Nanley Chery wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
> 
> Although Gen9 samples from most HDR ASTC surfaces of correctly,
> there currently are no software workarounds to fix the incorrect
> sampling that occurs in others of certain color endpoint modes.
> 
> With this change, we are no longer failing the 14 tests from:
>    dEQP-GLES3.functional.texture.compressed.astc.endpoint_value_hdr_cem_15.*
> 
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/mesa/drivers/dri/i965/brw_surface_formats.c | 6 +++---
>  src/mesa/drivers/dri/i965/intel_extensions.c    | 1 -
>  2 files changed, 3 insertions(+), 4 deletions(-)

This seems like the right thing to do, given that we believe the Windows
driver isn't planning on exposing this either.  We could probably store
alpha separately and double-sample, but I'm not sure whether it's worth
doing or not.

Acked-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160422/a30d0663/attachment.sig>


More information about the mesa-dev mailing list