drirc: add Mari application workaround
To allow using non-constant sampler array index. This prevent Mari render fail for any scene. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13304>
This commit is contained in:
@@ -334,6 +334,12 @@ TODO: document the other workarounds.
|
||||
<option name="do_dce_before_clip_cull_analysis" value="true" />
|
||||
</application>
|
||||
|
||||
<!-- Workaround for Mari with executable name like Mari4.5v2, Mari4.7v4 -->
|
||||
<application name="Mari" executable_regexp="Mari[0-9]+[.][0-9]+v[0-9]+">
|
||||
<!-- Need ARB_gpu_shader5 for non-const sampler array index support -->
|
||||
<option name="force_glsl_extensions_warn" value="true" />
|
||||
</application>
|
||||
|
||||
<!-- The GL thread allowlist is below, workarounds are above.
|
||||
Keep it that way. -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user