From: Anuj Phogat Date: Fri, 18 Aug 2017 19:11:38 +0000 (-0700) Subject: i965/icl: Update switch statements X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02e91b6d62b121d7bd8574d708ea3aa826eaadab;p=mesa.git i965/icl: Update switch statements Signed-off-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_formatquery.c b/src/mesa/drivers/dri/i965/brw_formatquery.c index 4f3b9e467be..05991848029 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: 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 1c0fffa2e96..cc9b3486743 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -2251,6 +2251,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: