iris: Stop advertising PIPE_SHADER_IR_NIR_SERIALIZED
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 20 Aug 2020 15:30:23 +0000 (10:30 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 Aug 2020 22:49:53 +0000 (22:49 +0000)
This prevents clover from trying to initialize and crashing.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6405>

src/gallium/drivers/iris/iris_screen.c

index c30626c132cf3e739355d4e15545d92fffabad7e..4cc98754567dd93f8335237472eacdd41de67e00 100644 (file)
@@ -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;