projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0197d46
)
asahi: Advertise Z16_UNORM
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Thu, 20 Jul 2023 14:52:42 +0000
(10:52 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 20 Jul 2023 15:33:29 +0000
(15:33 +0000)
This works (on the downstream kernel, anyway).
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
src/gallium/drivers/asahi/agx_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/asahi/agx_pipe.c
b/src/gallium/drivers/asahi/agx_pipe.c
index
950877c
..
720242f
100644
(file)
--- a/
src/gallium/drivers/asahi/agx_pipe.c
+++ b/
src/gallium/drivers/asahi/agx_pipe.c
@@
-1969,8
+1969,8
@@
agx_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format,
if (usage & PIPE_BIND_DEPTH_STENCIL) {
switch (format) {
- /* natively supported
- * TODO: we could also support Z16_UNORM */
+ /* natively supported
*/
+ case PIPE_FORMAT_Z16_UNORM:
case PIPE_FORMAT_Z32_FLOAT:
case PIPE_FORMAT_S8_UINT: