mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 05:48:18 +02:00
asahi: allow more samplers for shaderdb
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
ff6722814a
commit
d6800d5cc6
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue