mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 05:48:18 +02:00
asahi: Add >16 Sampler Access for Ryujinx
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
4779e9d574
commit
ff6722814a
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 (strcasestr(util_get_process_name(), "ryujinx") != NULL)
|
||||
return PIPE_MAX_SAMPLERS;
|
||||
else
|
||||
return 16;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue