aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/00-mesa-defaults.conf
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-08-29 15:48:47 +1000
committerTimothy Arceri <[email protected]>2018-08-30 09:54:40 +1000
commit9c47c39687a320bedcc0d674ab963c38390ab5c5 (patch)
tree25a9f7317b95a4be7869f04c55fcd275c7973aeb /src/util/00-mesa-defaults.conf
parent9ce7d79cdc503ffddfa11609ffb91e297953c2ce (diff)
st/mesa, gallium: add a workaround for No Mans Sky
The spec seems clear this is not allowed but the Nvidia binary forces apps to add layout qualifiers so this works around the issue for No Mans Sky until the CTS can be sorted out. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/00-mesa-defaults.conf')
-rw-r--r--src/util/00-mesa-defaults.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 5d15b3819fb..a68bc03027a 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -195,6 +195,7 @@ TODO: document the other workarounds.
<application name="No Mans Sky" executable="NMS.exe">
<option name="force_glsl_extensions_warn" value="true" />
+ <option name="allow_glsl_layout_qualifier_on_function_parameters" value="true" />
</application>
<!-- The GL thread whitelist is below, workarounds are above.