r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning
authorBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2018 03:07:58 +0000 (21:07 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 Sep 2018 19:20:10 +0000 (13:20 -0600)
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/gallium/drivers/r300/r300_screen.c

index a464cfb650192668278fc41f5f6ebd6c49fa9b7f..19d3a1bae3028b479c158b7bf871737180c176a8 100644 (file)
@@ -397,6 +397,8 @@ static int r300_get_shader_param(struct pipe_screen *pscreen,
             return PIPE_SHADER_IR_TGSI;
         case PIPE_SHADER_CAP_SUPPORTED_IRS:
             return 0;
+        case PIPE_SHADER_CAP_SCALAR_ISA:
+            return 0;
         }
         break;
     case PIPE_SHADER_VERTEX:
@@ -463,6 +465,8 @@ static int r300_get_shader_param(struct pipe_screen *pscreen,
             return PIPE_SHADER_IR_TGSI;
         case PIPE_SHADER_CAP_SUPPORTED_IRS:
             return 0;
+        case PIPE_SHADER_CAP_SCALAR_ISA:
+            return 0;
         }
         break;
     default: