summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2018-09-17 21:07:58 -0600
committerBrian Paul <brianp@vmware.com>2018-09-20 13:20:10 -0600
commit7f4e6f4c9735e69d6c3b75cace3dd2ae1228dcff (patch)
tree84ff1e59f35870aa3dfc2483a5a45b7058da1e01 /src/gallium/drivers/r300
parent198c50f4873758e9f64d89eea262af5dd1644df9 (diff)
r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 4 insertions, 0 deletions
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: