projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df11f3
)
broadcom/vc4: Ignore PIPE_BIND_DISPLAY_TARGET in is_format_supported().
author
Eric Anholt
<eric@anholt.net>
Fri, 23 Feb 2018 01:38:50 +0000
(17:38 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 23 Feb 2018 16:42:13 +0000
(08:42 -0800)
We were failing the retval == usage check at the end.
Fixes: f7604d8af521 ("st/dri: only expose config formats that are display targets")
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 e341211f5bdc8804ca97714cc8bade9b85c328ff..5339864f7f875c07abf4b3ed30a8338c07ce708f 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_screen.c
+++ b/
src/gallium/drivers/vc4/vc4_screen.c
@@
-550,6
+550,8
@@
vc4_screen_is_format_supported(struct pipe_screen *pscreen,
retval |= PIPE_BIND_INDEX_BUFFER;
}
+ retval |= usage & PIPE_BIND_DISPLAY_TARGET;
+
#if 0
if (retval != usage) {
fprintf(stderr,