mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i965: Count occlusion query samples for CopyPixels using the 2D engine.
We accidentally "fixed" the piglit test for this when introducing Y tiling, since this path stopped being executed. In reenabling this path for Y tiling, we ended up regressing it again, so just fix it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59439 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
f8c3242682
commit
7a74808d78
1 changed files with 3 additions and 0 deletions
|
|
@ -213,6 +213,9 @@ do_blit_copypixels(struct gl_context * ctx,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (ctx->Query.CurrentOcclusionObject)
|
||||
ctx->Query.CurrentOcclusionObject->Result += width * height;
|
||||
|
||||
out:
|
||||
intel_check_front_buffer_rendering(intel);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue