OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5b87e
)
swr: set halfz rasterizer setting
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 9 Nov 2016 06:19:34 +0000
(
01:19
-0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 10 Nov 2016 01:11:10 +0000
(20:11 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_state.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/swr/swr_state.cpp
b/src/gallium/drivers/swr/swr_state.cpp
index
01cadce
..
d19acfb
100644
(file)
--- a/
src/gallium/drivers/swr/swr_state.cpp
+++ b/
src/gallium/drivers/swr/swr_state.cpp
@@
-921,6
+921,7
@@
swr_update_derived(struct pipe_context *pipe,
rastState->depthFormat = swr_resource(zb->texture)->swr.format;
rastState->depthClipEnable = rasterizer->depth_clip;
+ rastState->clipHalfZ = rasterizer->clip_halfz;
rastState->clipDistanceMask =
ctx->vs->info.base.num_written_clipdistance ?