diff options
author | Paul Berry <[email protected]> | 2013-11-19 18:51:48 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-11-21 18:16:42 -0800 |
commit | 08315233509f1fa7dc1e877aed2a8517296cf86e (patch) | |
tree | ff1495a23c1f29f744e4a3768716a28d94c7c644 /src/mesa/main/fbobject.c | |
parent | c1019670ea89505ea7411629c052d662c8eb6be6 (diff) |
i965: Fix fast clear of depth buffers.
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
cleared.
This patch fixes the fast depth clear path.
Fixes piglit test "spec/!OpenGL 3.2/layered-rendering/clear-depth".
Cc: "10.0" <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
0 files changed, 0 insertions, 0 deletions