diff options
author | Gert Wollny <[email protected]> | 2019-05-27 16:32:40 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-06-20 08:50:38 +0200 |
commit | 59757dbad68ae51c63bff61277ffdd24a7e85839 (patch) | |
tree | f28d768e6cbc765310903f776dec23347ce573f1 /src/gallium/drivers/virgl/virgl_driinfo.h.in | |
parent | b79366344929c6e477c64a63f246c6db0766a71c (diff) |
virgl: Add tweak to apply a swizzle when drawing/blitting to a emulated BGRA texture
With Qemu this final swizzle is not needed, but with vtest it is, i.e. it depends on
how a program using virglrenderer uses the surface that is rendered to, hence
a tweak is added.
v2: Update description and fix spelling (Emil)
v3: Send tweak as binary value instead of using strings (Gurchetan)
Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_driinfo.h.in')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_driinfo.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_driinfo.h.in b/src/gallium/drivers/virgl/virgl_driinfo.h.in index 66d547d4712..d6162b3f39a 100644 --- a/src/gallium/drivers/virgl/virgl_driinfo.h.in +++ b/src/gallium/drivers/virgl/virgl_driinfo.h.in @@ -8,5 +8,6 @@ // 5. Implement the tweak in virglrenderer DRI_CONF_SECTION_MISCELLANEOUS DRI_CONF_GLES_EMULATE_BGRA("false") + DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE("false") DRI_CONF_SECTION_END |