[Mesa-dev] [PATCH 3/3] r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning
Brian Paul
brianp at vmware.com
Tue Sep 18 03:10:06 UTC 2018
---
src/gallium/drivers/r300/r300_screen.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index a464cfb..19d3a1b 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:
--
2.7.4
More information about the mesa-dev
mailing list