projects
/
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 01cadcebbc4cd13ad88d6f96e8c493fb85c45aa0..d19acfbb347ba4026e92ab6b405b08a8a6c9b0b7 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 ?