From 0b462c8b9e3d7272d9b5a2d6ab958d2283cf118a Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Tue, 31 Oct 2023 13:07:37 -0700 Subject: [PATCH] iris: Enable simpleFloatBlendEnable on Xe3+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sagar Ghuge Reviewed-by: José Roberto de Souza Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/iris/iris_state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 8da872f4208..0012e54379a 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1773,6 +1773,9 @@ iris_create_blend_state(struct pipe_context *ctx, be.WriteDisableGreen = !(rt->colormask & PIPE_MASK_G); be.WriteDisableBlue = !(rt->colormask & PIPE_MASK_B); be.WriteDisableAlpha = !(rt->colormask & PIPE_MASK_A); +#if GFX_VER >= 30 + be.SimpleFloatBlendEnable = true; +#endif } blend_entry += GENX(BLEND_STATE_ENTRY_length); }