From 7f4e6f4c9735e69d6c3b75cace3dd2ae1228dcff Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 Sep 2018 21:07:58 -0600 Subject: r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Mathias Fröhlich --- src/gallium/drivers/r300/r300_screen.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers') 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: -- cgit v1.2.3