mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
st/mesa: don't do glCopyPixels via blit if depth bounds test is enabled
Fixes:36a6f848bb- st/mesa: add EXT_depth_bounds_test Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7720> (cherry picked from commit8848114345)
This commit is contained in:
parent
636a917ca4
commit
99ff47e853
2 changed files with 2 additions and 1 deletions
|
|
@ -202,7 +202,7 @@
|
|||
"description": "st/mesa: don't do glCopyPixels via blit if depth bounds test is enabled",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "36a6f848bb03828aa9c4dc28774acf09055f2831"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1570,6 +1570,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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue