summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-08-18 12:11:38 -0700
committerAnuj Phogat <[email protected]>2018-02-15 16:14:56 -0800
commit02e91b6d62b121d7bd8574d708ea3aa826eaadab (patch)
treee4ef03c53d49667dd96f8eaf09ea575376bebb58
parent27d0034938a8cee86a5a85cc22f610b1afdc9530 (diff)
i965/icl: Update switch statements
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_formatquery.c1
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c1
2 files changed, 2 insertions, 0 deletions
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: