llvmpipe: say no to depth clamp
authorMarek Olšák <maraeo@gmail.com>
Wed, 21 Jul 2010 20:31:59 +0000 (22:31 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 21 Jul 2010 20:54:34 +0000 (22:54 +0200)
The other drivers just return 0 without the assert.

src/gallium/drivers/llvmpipe/lp_screen.c

index f7f1635ef96b5163363b0e8d0430ef667031df90..167cb2ee2e05cde6710f0754582715038f7e90fb 100644 (file)
@@ -169,6 +169,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 1;
    case PIPE_CAP_GEOMETRY_SHADER4:
       return 1;
+   case PIPE_CAP_DEPTH_CLAMP:
+      return 0;
    default:
       assert(0);
       return 0;