compiler: Add enums for blend state
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 6 May 2019 01:58:56 +0000 (01:58 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 10 May 2019 15:49:01 +0000 (15:49 +0000)
commitf41be53a1706181be85a8ba41681e28b4780f6e1
tree83200e687adfd499067b3794e3389a47d02112b8
parentd0bff89159bead4ba850182e5a30d0745510f773
compiler: Add enums for blend state

We add enums corresponding to (GLES) blend state to shader_enums.h,
complementing the existing advanced blending enums in the file. This
allows us to represent blending state in a driver-agnostic, API-agnostic
way to permit lowering.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Eric Anholt <eric@anholt.net>
src/compiler/shader_enums.h