projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0137fd
)
vc4: Shut up runtime warnings about new pipe caps.
author
Eric Anholt
<eric@anholt.net>
Fri, 20 Feb 2015 07:34:37 +0000
(23:34 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 20 Feb 2015 07:35:13 +0000
(23:35 -0800)
src/gallium/drivers/vc4/vc4_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_screen.c
b/src/gallium/drivers/vc4/vc4_screen.c
index 74643512b9cf8a36d06b1ef34abc35a77861f1be..7c628470ea8ab2fb24d6955a09faa49be3b2b513 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_screen.c
+++ b/
src/gallium/drivers/vc4/vc4_screen.c
@@
-317,6
+317,8
@@
vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_CAP_INTEGERS:
return 1;
case PIPE_SHADER_CAP_DOUBLES:
+ case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
+ case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED:
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS: