[Mesa-dev] [PATCH 2/3] i965/extensions: Enable ASTC HDR on CannonLake
Kenneth Graunke
kenneth at whitecape.org
Tue Mar 6 08:20:58 UTC 2018
On Monday, March 5, 2018 2:07:54 PM PST Nanley Chery wrote:
> Cc: Rafael Antognolli <rafael.antognolli at intel.com>
> ---
> src/mesa/drivers/dri/i965/intel_extensions.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 73a6c73f537..c451f6cf749 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -297,7 +297,7 @@ intelInitExtensions(struct gl_context *ctx)
> ctx->Extensions.ARB_post_depth_coverage = true;
> }
>
> - if (gen_device_info_is_9lp(devinfo))
> + if (devinfo->gen == 10 || gen_device_info_is_9lp(devinfo))
> ctx->Extensions.KHR_texture_compression_astc_hdr = true;
>
> if (devinfo->gen >= 6)
>
What about Icelake? Shouldn't this be gen >= 10 || gen9lp?
--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180306/7f6654af/attachment.sig>
More information about the mesa-dev
mailing list