OSDN Git Service

mesa: fix not having secondary color in ATI_fs in swrast
authorMiklós Máté <mtmkls@gmail.com>
Sat, 2 Dec 2017 22:35:21 +0000 (23:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Dec 2017 13:32:23 +0000 (14:32 +0100)
commita64d6fb7308e0ce79e0f1b8e9b7cda6403be1eb6
treea2a0af89214a9a7b0fb9d89cfebaebb9169cec2d
parent759d193ceb1823d3da6dd399f3934186e6c2ebae
mesa: fix not having secondary color in ATI_fs in swrast

ATI_fs in swrast only had secondary color if GL_COLOR_SUM was enabled.
This patch probably fixes the same issue in r200.

Piglit: spec/ati_fragment_shader/render-sources and render-precedence

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
src/mesa/main/state.h