diff options
author | Kenneth Graunke <[email protected]> | 2014-03-21 15:58:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-03-24 14:45:03 -0700 |
commit | 630bf288de09e0fcf9734b297042cb751ec38376 (patch) | |
tree | 522c5bcbf5b7264a67b42aa0af92911294eab13c /m4/ax_prog_bison.m4 | |
parent | 92234b1b2aaf6ba68e786498806cefd4bd99dabc (diff) |
mesa: Skip clearing color buffers when color writes are disabled.
WebGL Aquarium in Chrome 24 actually hits this.
v2: Move to core Mesa (wisely suggested by Ian); only consider
components which actually exist.
v3: Use _mesa_format_has_color_component to determine whether components
actually exist, fixing alpha format handling.
v4: Add a comment, as requested by Brian. No actual code changes.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Tested-by: Dylan Baker <[email protected]>
Diffstat (limited to 'm4/ax_prog_bison.m4')
0 files changed, 0 insertions, 0 deletions