projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198c50f
)
r300g: add PIPE_SHADER_CAP_SCALAR_ISA switch case to silence warning
author
Brian Paul
<brianp@vmware.com>
Tue, 18 Sep 2018 03:07:58 +0000
(21:07 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen.c
b/src/gallium/drivers/r300/r300_screen.c
index a464cfb650192668278fc41f5f6ebd6c49fa9b7f..19d3a1bae3028b479c158b7bf871737180c176a8 100644
(file)
--- 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: