projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: split depth_clip into depth_clip_near & depth_clip_far
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
nv50
/
nv50_state.c
diff --git
a/src/gallium/drivers/nouveau/nv50/nv50_state.c
b/src/gallium/drivers/nouveau/nv50/nv50_state.c
index a7d86b0f90c49ec1d5bff046f0f1b6930ae1703d..fb4a259ce1657b7d157007c205bf972bff18e35c 100644
(file)
--- a/
src/gallium/drivers/nouveau/nv50/nv50_state.c
+++ b/
src/gallium/drivers/nouveau/nv50/nv50_state.c
@@
-315,7
+315,7
@@
nv50_rasterizer_state_create(struct pipe_context *pipe,
SB_DATA (so, fui(cso->offset_clamp));
}
- if (cso->depth_clip) {
+ if (cso->depth_clip
_near
) {
reg = 0;
} else {
reg =