summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorElie Tournier <[email protected]>2018-09-06 10:46:32 +0100
committerMarek Olšák <[email protected]>2018-09-10 15:30:17 -0400
commit9179c745f646a85274b7a295ee3577e48f8d0d3f (patch)
tree3715cbca0d75df6a1c45bd7bb6fbf9c7a3aca633 /src/gallium/include
parentf6e09db2e613c215257b80f40957d580165b5ddf (diff)
gallium: Correctly handle no config context creation
This patch fixes the following Piglit test: spec@egl_mesa_configless_context@basic It also fixes few test in a virgl guest. v2: Evaluate the value of no_config (Ilia) Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Elie Tournier <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 61152e35468..2b63b8a3d2a 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -190,6 +190,8 @@ struct st_egl_image
*/
struct st_visual
{
+ bool no_config;
+
/**
* Available buffers. Bitfield of ST_ATTACHMENT_*_MASK bits.
*/