summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_screen.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-11-01 16:45:13 -0400
committerIlia Mirkin <[email protected]>2016-11-08 19:28:35 -0500
commitbef4a48d1c68d74ad42d242483f440b5256e7adf (patch)
tree9f0e30cc8a43a4a8bd2a06d1a37f9dbe7a0580f0 /src/gallium/drivers/swr/swr_screen.cpp
parentaa62fa8fb79699e117f0285bd5a045f541aa9771 (diff)
swr: add support for EXT_depth_bounds_test
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index 704a6842dc1..fa16edd1250 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -332,7 +332,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
return 0;
case PIPE_CAP_DEPTH_BOUNDS_TEST:
- return 0; // xxx
+ return 1;
case PIPE_CAP_TEXTURE_FLOAT_LINEAR:
case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
return 1;