Mesa (master): compiler: Add dual-source factors to blend_factor

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 15 01:54:45 UTC 2020


Module: Mesa
Branch: master
Commit: bedd4b44de3a5c4a06899a86eb8094e8877338d6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bedd4b44de3a5c4a06899a86eb8094e8877338d6

Author: Icecream95 <ixn at keemail.me>
Date:   Thu Jun 25 22:48:32 2020 +1200

compiler: Add dual-source factors to blend_factor

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5620>

---

 src/compiler/shader_enums.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index 11cd3b5b1da..440d853aec5 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -806,8 +806,10 @@ enum blend_factor
 {
    BLEND_FACTOR_ZERO,
    BLEND_FACTOR_SRC_COLOR,
+   BLEND_FACTOR_SRC1_COLOR,
    BLEND_FACTOR_DST_COLOR,
    BLEND_FACTOR_SRC_ALPHA,
+   BLEND_FACTOR_SRC1_ALPHA,
    BLEND_FACTOR_DST_ALPHA,
    BLEND_FACTOR_CONSTANT_COLOR,
    BLEND_FACTOR_CONSTANT_ALPHA,



More information about the mesa-commit mailing list