1<!--
2
3============================================
4Application bugs worked around in this file:
5============================================
6
7* Unigine Heaven 3.0 and older contain too many bugs and can't be supported
8  by drivers that want to be compliant.
9
10* Various Unigine products don't use the #version and #extension GLSL
11  directives, meaning they only get GLSL 1.10 and no extensions for their
12  shaders.
13  Enabling all extensions for Unigine fixes most issues, but the GLSL version
14  is still 1.10.
15
16* If ARB_sample_shading is supported, Unigine Heaven 4.0 and Valley 1.0 uses
17  an #extension directive in the middle of its shaders, which is illegal
18  in GLSL.
19
20TODO: document the other workarounds.
21
22-->
23
24<driconf>
25    <!-- Please always enable app-specific workarounds for all drivers and
26         screens. -->
27    <device>
28        <application name="Unigine Sanctuary" executable="Sanctuary">
29            <option name="force_glsl_extensions_warn" value="true" />
30            <option name="disable_blend_func_extended" value="true" />
31	</application>
32
33        <application name="Unigine Tropics" executable="Tropics">
34            <option name="force_glsl_extensions_warn" value="true" />
35            <option name="disable_blend_func_extended" value="true" />
36	</application>
37
38        <application name="Unigine Heaven (32-bit)" executable="heaven_x86">
39            <option name="allow_glsl_extension_directive_midshader" value="true" />
40            <!-- remove dual_color_blend_by_location if 4.1 ever comes out -->
41            <option name="dual_color_blend_by_location" value="true" />
42	</application>
43
44        <application name="Unigine Heaven (64-bit)" executable="heaven_x64">
45            <option name="allow_glsl_extension_directive_midshader" value="true" />
46            <!-- remove dual_color_blend_by_location if 4.1 ever comes out -->
47            <option name="dual_color_blend_by_location" value="true" />
48	</application>
49
50        <application name="Unigine Valley (32-bit)" executable="valley_x86">
51            <option name="allow_glsl_extension_directive_midshader" value="true" />
52            <!-- remove dual_color_blend_by_location if 1.1 ever comes out -->
53            <option name="dual_color_blend_by_location" value="true" />
54	</application>
55
56        <application name="Unigine Valley (64-bit)" executable="valley_x64">
57            <option name="allow_glsl_extension_directive_midshader" value="true" />
58            <!-- remove dual_color_blend_by_location if 1.1 ever comes out -->
59            <option name="dual_color_blend_by_location" value="true" />
60	</application>
61
62        <application name="Unigine OilRush (32-bit)" executable="OilRush_x86">
63            <option name="disable_blend_func_extended" value="true" />
64            <option name="allow_glsl_extension_directive_midshader" value="true" />
65	</application>
66
67        <application name="Unigine OilRush (64-bit)" executable="OilRush_x64">
68            <option name="disable_blend_func_extended" value="true" />
69            <option name="allow_glsl_extension_directive_midshader" value="true" />
70	</application>
71
72        <application name="Savage 2" executable="savage2.bin">
73            <option name="disable_glsl_line_continuations" value="true" />
74        </application>
75
76        <application name="Topogun (32-bit)" executable="topogun32">
77            <option name="always_have_depth_buffer" value="true" />
78        </application>
79
80        <application name="Topogun (64-bit)" executable="topogun64">
81            <option name="always_have_depth_buffer" value="true" />
82        </application>
83
84        <application name="Dead Island" executable="DeadIslandGame">
85            <option name="allow_glsl_extension_directive_midshader" value="true" />
86        </application>
87
88        <application name="Second Life" executable="do-not-directly-run-secondlife-bin">
89            <option name="allow_glsl_extension_directive_midshader" value="true" />
90        </application>
91
92        <application name="Warsow (32-bit)" executable="warsow.i386">
93            <option name="allow_glsl_extension_directive_midshader" value="true" />
94        </application>
95
96        <application name="Warsow (64-bit)" executable="warsow.x86_64">
97            <option name="allow_glsl_extension_directive_midshader" value="true" />
98        </application>
99
100        <application name="Rust" executable="rust">
101            <option name="glsl_zero_init" value="true"/>
102        </application>
103
104        <application name="Divinity: Original Sin Enhanced Edition" executable="EoCApp">
105            <option name="allow_glsl_extension_directive_midshader" value="true" />
106        </application>
107    </device>
108</driconf>
109