i965/icl: Update switch statements
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 18 Aug 2017 19:11:38 +0000 (12:11 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 00:14:56 +0000 (16:14 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_formatquery.c
src/mesa/drivers/dri/i965/intel_screen.c

index 4f3b9e467be8495a82b3ec4fa7579e439a1f5170..059918480298f99aa4f86ccc0afbf13d406ec82e 100644 (file)
@@ -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;
index 1c0fffa2e96f73d6d231da4ad8bebe99cc46bba5..cc9b3486743728059b8177e25bacc567177c9406 100644 (file)
@@ -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: