summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
commitca11beabae33eb59fb981b8adf50b1d47a2a98f0 (patch)
tree3e4691a396e6e54cd54224a190663d5cf976625b /lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c
parent27c8a50e8bbde7d28b1fc46d715a4c469e24f2c4 (diff)
Import Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c')
-rw-r--r--lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c b/lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c
index dbe4c0eb6..d645abf3f 100644
--- a/lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c
+++ b/lib/mesa/src/gallium/drivers/softpipe/sp_quad_pipe.c
@@ -43,9 +43,9 @@ void
sp_build_quad_pipeline(struct softpipe_context *sp)
{
boolean early_depth_test =
- (sp->depth_stencil->depth.enabled &&
+ (sp->depth_stencil->depth_enabled &&
sp->framebuffer.zsbuf &&
- !sp->depth_stencil->alpha.enabled &&
+ !sp->depth_stencil->alpha_enabled &&
!sp->fs_variant->info.uses_kill &&
!sp->fs_variant->info.writes_z &&
!sp->fs_variant->info.writes_stencil) ||