From: Brian Paul Date: Tue, 18 Sep 2018 03:07:58 +0000 (-0600) Subject: r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f4e6f4c9735e69d6c3b75cace3dd2ae1228dcff;p=mesa.git r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning Reviewed-by: Mathias Fröhlich --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index a464cfb6501..19d3a1bae30 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -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: