Re: [Mesa-dev] [PATCH 2/7] gallium: Add helper to convert PIPE blending to shader_enum style

2019-05-09 Thread Eric Anholt
Alyssa Rosenzweig writes: > Complementing the new API-agnostic shader_enum blending style, we add > helpers to translate between the two forms. Ideally, we could just use > PIPE blending directly, but that makes Vulkan support challenging. > > Signed-off-by: Alyssa Rosenzweig > Cc: Eric Anholt

[Mesa-dev] [PATCH 2/7] gallium: Add helper to convert PIPE blending to shader_enum style

2019-05-05 Thread Alyssa Rosenzweig
Complementing the new API-agnostic shader_enum blending style, we add helpers to translate between the two forms. Ideally, we could just use PIPE blending directly, but that makes Vulkan support challenging. Signed-off-by: Alyssa Rosenzweig Cc: Eric Anholt Cc: Kenneth Graunke ---