[Mesa-dev] [PATCH 0/5] i965: Fix glClear of layered framebuffers.

Paul Berry stereotype441 at gmail.com
Tue Nov 19 20:47:01 PST 2013

>From section 4.4.7 (Layered Framebuffers) of the GLSL 3.2 spec:

    When the Clear or ClearBuffer* commands are used to clear a
    layered framebuffer attachment, all layers of the attachment are

Patch 1 adds logic to the framebuffer completeness check to record the
number of layers in a layered framebuffer, so that when we later clear
it we will know how many layers need clearing.  Patch 2 fixes the Meta
path for layered clears.  Patches 3 and 4 fix the i965 blorp path
(which is used for most color buffer clears).  Patch 5 fixes the i965
fast depth clear path.

This patch series depends on "[PATCH] glsl: Fix cross-version linking
between VS and GS.", which was sent out for review earlier today.

[PATCH 1/5] mesa: Track number of layers in layered framebuffers.
[PATCH 2/5] meta: fix meta clear of layered framebuffers
[PATCH 3/5] i965: refactor blorp clear code in preparation for layered clears.
[PATCH 4/5] i965: Fix blorp clear of layered framebuffers.
[PATCH 5/5] i965: Fix fast clear of depth buffers.

More information about the mesa-dev mailing list