From d6800d5cc678791ea3ded5a91645128bb5bcb9d4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 29 Feb 2024 13:42:57 -0400 Subject: [PATCH] asahi: allow more samplers for shaderdb Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index aedd4914db2..e31ed3ca3ec 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1905,6 +1905,8 @@ agx_get_shader_param(struct pipe_screen *pscreen, enum pipe_shader_type shader, /* TODO: Enable when fully baked */ if (strcmp(util_get_process_name(), "blender") == 0) return PIPE_MAX_SAMPLERS; + else if (strcmp(util_get_process_name(), "run") == 0) + return PIPE_MAX_SAMPLERS; else if (strcasestr(util_get_process_name(), "ryujinx") != NULL) return PIPE_MAX_SAMPLERS; else