diff options
author | Anuj Phogat <[email protected]> | 2012-08-01 16:32:06 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2012-08-23 13:30:54 -0700 |
commit | e592f7df0361eb8b5c75944f0151c4e6b3f839dd (patch) | |
tree | 7a723da63fe271a673d1da74b8a62579c8f117bd /src/mapi/es2api | |
parent | ff996cafce511dd8a6c4e066e409c23e147a670c (diff) |
i965/msaa: Add sample-alpha-to-coverage support for multiple render targets
Render Target Write message should include source zero alpha value when
sample-alpha-to-coverage is enabled for an FBO with multiple render targets.
Source zero alpha value is used as fragment coverage for all the render
targets.
This patch makes piglit tests draw-buffers-alpha-to-coverage and
alpha-to-coverage-no-draw-buffer-zero to pass on Sandybridge. No
regressions are observed with piglit all.tests.
V2: Revert all the changes made in emit_color_write() function to
include src0 alpha for targets > 0. Now handling this case in a if
block.
V3: Correctly calculate the instruction length for buffer zero.
Properly handle the case of dual_src_blend when alpha-to-coverage
is enabled.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mapi/es2api')
0 files changed, 0 insertions, 0 deletions