Commit 88481143 authored by Marek Olšák's avatar Marek Olšák
Browse files

st/mesa: don't do glCopyPixels via blit if depth bounds test is enabled

Fixes: 36a6f848

 - st/mesa: add EXT_depth_bounds_test
Reviewed-by: Zoltán Böszörményi's avatarZoltán Böszörményi <zboszor@gmail.com>
Part-of: <mesa/mesa!7720>
parent 767f70df
......@@ -1563,6 +1563,7 @@ blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy,
!ctx->Color.BlendEnabled &&
!ctx->Color.AlphaEnabled &&
(!ctx->Color.ColorLogicOpEnabled || ctx->Color.LogicOp == GL_COPY) &&
!ctx->Depth.BoundsTest &&
!ctx->Depth.Test &&
!ctx->Fog.Enabled &&
!ctx->Stencil.Enabled &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment