projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06237fc
)
virgl: add BPTC support.
author
Dave Airlie
<airlied@redhat.com>
Wed, 2 Aug 2017 03:29:22 +0000
(13:29 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 2 Aug 2017 03:54:38 +0000
(13:54 +1000)
This just adds the guest checks for BPTC, the host renderer
also needs code to support these.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/virgl/virgl_screen.c
b/src/gallium/drivers/virgl/virgl_screen.c
index e155b4a7bf0319a04b805a453aea9dcfd7deadeb..bad57e07b95494061ec44a2bee098d6afab571d4 100644
(file)
--- a/
src/gallium/drivers/virgl/virgl_screen.c
+++ b/
src/gallium/drivers/virgl/virgl_screen.c
@@
-488,6
+488,9
@@
virgl_is_format_supported( struct pipe_screen *screen,
if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
goto out_lookup;
}
+ if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
+ goto out_lookup;
+ }
if (format == PIPE_FORMAT_R11G11B10_FLOAT) {
goto out_lookup;