From 6ec286935aee9d095d06a23669dec02c60439eb7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 20 Aug 2020 10:30:23 -0500 Subject: [PATCH] iris: Stop advertising PIPE_SHADER_IR_NIR_SERIALIZED This prevents clover from trying to initialize and crashing. Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/iris/iris_screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index c30626c132c..4cc98754567 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -422,8 +422,7 @@ iris_get_shader_param(struct pipe_screen *pscreen, case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_NIR; case PIPE_SHADER_CAP_SUPPORTED_IRS: - return (1 << PIPE_SHADER_IR_NIR) | - (1 << PIPE_SHADER_IR_NIR_SERIALIZED); + return (1 << PIPE_SHADER_IR_NIR); case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: case PIPE_SHADER_CAP_TGSI_LDEXP_SUPPORTED: return 1; -- 2.30.2