commit | e299661166a77c3cfc8a59c874bdb1e2179aa160 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Tue Jun 28 09:02:42 2016 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Thu Aug 25 19:22:10 2016 -0700 |
tree | b3a5181aba218d4c5d611d13297eacde693cce8a | |
parent | acf57fcf7ff7e60c3550da7b6dda7ad8b69195bd [diff] |
compiler: Add a new STATE_VAR_ADVANCED_BLENDING_MODE built-in uniform. This will be used for emulating GL_KHR_advanced_blend_equation features in shader code. We'll pass in the blending mode that's in use, and use that in (effectively) a switch statement in the shader. v2: Use the new _AdvancedBlendMode field. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>