llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Oct 2013 01:08:26 +0000 (18:08 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Oct 2013 01:22:57 +0000 (18:22 -0700)
Actually implemented by draw module.

Tested piglit ARB_depth_clamp tests, which pass 100%.

Trivial.

src/gallium/drivers/llvmpipe/lp_screen.c

index b3cd77fe8d4f4085890f7c6fc505de013d0eb8ea..723e40ee41d60eee9e54c3dd2c2fe97c4ceb9e80 100644 (file)
@@ -163,7 +163,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_PRIMITIVE_RESTART:
       return 1;
    case PIPE_CAP_DEPTH_CLIP_DISABLE:
-      return 0;
+      return 1;
    case PIPE_CAP_SHADER_STENCIL_EXPORT:
       return 0;
    case PIPE_CAP_TGSI_INSTANCEID: