projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7ead0
)
llvmpipe: say no to depth clamp
author
Marek Olšák
<maraeo@gmail.com>
Wed, 21 Jul 2010 20:31:59 +0000
(22:31 +0200)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index f7f1635ef96b5163363b0e8d0430ef667031df90..167cb2ee2e05cde6710f0754582715038f7e90fb 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-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;