commit | 91735e2d4a25df0685e5f4c8f0a064f9d58c6b8e | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Fri Jul 21 10:37:36 2017 -0600 |
committer | Brian Paul <brianp@vmware.com> | Tue Jul 25 15:40:24 2017 -0600 |
tree | fe7bc1ef952fbc3067faa836287c27da54e7697d | |
parent | 71d3b69b239c2e2eb8b154229c5defc013b7c7b5 [diff] |
svga: implement MSAA alpha_to_one feature The device doesn't directly support this feature so we implement it with additional shader code which sets the color output(s) w component to 1.0 (or max_int or max_uint). Fixes 16 Piglit ext_framebuffer_multisample/*alpha-to-one* tests. v2: only support unorm/float buffers, not int/uint, per Roland. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>