summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-05-30 13:28:02 -0400
committerIlia Mirkin <[email protected]>2016-08-30 20:25:15 -0400
commitbf47b2bf887ba15d318b6489c4e5116df771028c (patch)
tree2cab26a782bf31483ab252df2aa531c8c7fb8486 /src/mesa/state_tracker
parent891d7e3c9eb71ba42a7aea20dc45bdb3d624fc82 (diff)
st/mesa: provide the null implementation of bounding box outputs in tcs
Until hardware appears (in a gallium driver) that can make use of the TCS-outputted gl_BoundingBox, we just request that the variable gets assigned as a regular patch variable. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index f86a5a33c64..2238d1a8550 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1210,4 +1210,7 @@ void st_init_extensions(struct pipe_screen *screen,
extensions->ARB_texture_multisample &&
extensions->ARB_gpu_shader5 &&
extensions->EXT_shader_integer_mix;
+
+ extensions->OES_primitive_bounding_box = extensions->ARB_ES3_1_compatibility;
+ consts->NoPrimitiveBoundingBoxOutput = true;
}