[Mesa-dev] [PATCH 12/16] i965/icl: Update switch statements
Kenneth Graunke
kenneth at whitecape.org
Tue Feb 13 23:54:36 UTC 2018
On Tuesday, February 13, 2018 11:15:12 AM PST Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
> src/mesa/drivers/dri/i965/brw_formatquery.c | 1 +
> src/mesa/drivers/dri/i965/intel_screen.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_formatquery.c b/src/mesa/drivers/dri/i965/brw_formatquery.c
> index 4f3b9e467b..0599184802 100644
> --- a/src/mesa/drivers/dri/i965/brw_formatquery.c
> +++ b/src/mesa/drivers/dri/i965/brw_formatquery.c
> @@ -38,6 +38,7 @@ brw_query_samples_for_format(struct gl_context *ctx, GLenum target,
> (void) internalFormat;
>
> switch (devinfo->gen) {
> + case 11:
This looks right.
> case 10:
> case 9:
> samples[0] = 16;
> diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
> index a4e34e9f2c..f78328c146 100644
> --- a/src/mesa/drivers/dri/i965/intel_screen.c
> +++ b/src/mesa/drivers/dri/i965/intel_screen.c
> @@ -2225,6 +2225,7 @@ set_max_gl_versions(struct intel_screen *screen)
> const bool has_astc = screen->devinfo.gen >= 9;
>
> switch (screen->devinfo.gen) {
> + case 11:
> case 10:
> case 9:
> case 8:
>
There's some stuff missing, but this is the level of support we want to
advertise when everything's said and done, so I'm OK with this for now.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- 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/20180213/e5674e9a/attachment.sig>
More information about the mesa-dev
mailing list