aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_screen.h
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-05-27 16:26:25 +0200
committerGert Wollny <[email protected]>2019-06-20 08:50:38 +0200
commit22edafb23942f98b3e805f0871dcad839f20b977 (patch)
tree281f7ab3cfba981b84c42732b2c88e73fe54d51b /src/gallium/drivers/virgl/virgl_screen.h
parentd8967b79518c54f6e8a9444819b28e6e70df46bf (diff)
virgl: Add code to accept BGRx_SRGB as RGBx_SRGB
This will be enabled in later patches by the emulation tweak. Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.h b/src/gallium/drivers/virgl/virgl_screen.h
index 93b52b5138d..62001421936 100644
--- a/src/gallium/drivers/virgl/virgl_screen.h
+++ b/src/gallium/drivers/virgl/virgl_screen.h
@@ -46,6 +46,7 @@ struct virgl_screen {
struct slab_parent_pool transfer_pool;
uint32_t sub_ctx_id;
+ bool tweak_gles_emulate_bgra;
};