projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5b6be
)
broadcom/vc5: Fix driver for new PIPE_SHADER_CAP_MAX_HW_ATOMIC_*.
author
Eric Anholt
<eric@anholt.net>
Wed, 15 Nov 2017 00:01:32 +0000
(16:01 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 18 Nov 2017 00:09:54 +0000
(16:09 -0800)
src/gallium/drivers/vc5/vc5_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_screen.c
b/src/gallium/drivers/vc5/vc5_screen.c
index 6e3a342ce3f6517c6f4a2545a3228b6b16ca7cdb..36e34dedd59f9edd96c3da0fed440c23bd1d6616 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_screen.c
+++ b/
src/gallium/drivers/vc5/vc5_screen.c
@@
-387,6
+387,8
@@
vc5_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED:
case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE:
case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED:
+ case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS:
+ case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS:
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS: