projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed009e6
)
freedreno: PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT unreachable statement
author
Khaled Emara
<ekhaled1836@gmail.com>
Tue, 9 Apr 2019 08:19:22 +0000
(10:19 +0200)
committer
Rob Clark
<robdclark@gmail.com>
Tue, 9 Apr 2019 21:31:06 +0000
(17:31 -0400)
There seems to be a duplicate return statement,
as A2XX doesn't support shader buffers.
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/freedreno_screen.c
b/src/gallium/drivers/freedreno/freedreno_screen.c
index c27b1d362531d539a57b1ee07e1b1a6110d64de9..40dc16f82cdeea36fa33850839c8008ed7accad6 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/
src/gallium/drivers/freedreno/freedreno_screen.c
@@
-290,7
+290,6
@@
fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
if (is_a6xx(screen)) return 64;
if (is_a5xx(screen)) return 4;
- return 4;
return 0;
case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: