8 |
- |
1 |
<!--
|
|
|
2 |
|
|
|
3 |
============================================
|
|
|
4 |
Application bugs worked around in this file:
|
|
|
5 |
============================================
|
|
|
6 |
|
|
|
7 |
* Various Unigine products don't use the #version and #extension GLSL
|
|
|
8 |
directives, meaning they only get GLSL 1.10 and no extensions for their
|
|
|
9 |
shaders.
|
|
|
10 |
Enabling all extensions for Unigine fixes most issues, but the GLSL version
|
|
|
11 |
is still 1.10.
|
|
|
12 |
|
|
|
13 |
* Unigine Heaven 3.0 with ARB_texture_multisample uses a "ivec4 * vec4"
|
33 |
- |
14 |
expression, which is illegal in GLSL 1.10.
|
8 |
- |
15 |
Adding "#version 130" fixes this.
|
|
|
16 |
|
|
|
17 |
* Unigine Heaven 3.0 with ARB_shader_bit_encoding uses the uint keyword, which
|
33 |
- |
18 |
is illegal in GLSL 1.10.
|
8 |
- |
19 |
Adding "#version 130" fixes this.
|
|
|
20 |
|
|
|
21 |
* Unigine Heaven 3.0 with ARB_shader_bit_encoding uses a "uint & int"
|
33 |
- |
22 |
expression, which is illegal in any GLSL version.
|
8 |
- |
23 |
Disabling ARB_shader_bit_encoding fixes this.
|
|
|
24 |
|
33 |
- |
25 |
* If ARB_sample_shading is supported, Unigine Heaven 4.0 and Valley 1.0 uses
|
|
|
26 |
an #extension directive in the middle of its shaders, which is illegal
|
|
|
27 |
in GLSL.
|
|
|
28 |
|
8 |
- |
29 |
TODO: document the other workarounds.
|
|
|
30 |
|
|
|
31 |
-->
|
|
|
32 |
|
3 |
- |
33 |
<driconf>
|
8 |
- |
34 |
<!-- Please always enable app-specific workarounds for all drivers and
|
|
|
35 |
screens. -->
|
|
|
36 |
<device>
|
3 |
- |
37 |
<application name="Unigine Sanctuary" executable="Sanctuary">
|
|
|
38 |
<option name="force_glsl_extensions_warn" value="true" />
|
|
|
39 |
<option name="disable_blend_func_extended" value="true" />
|
|
|
40 |
</application>
|
8 |
- |
41 |
|
3 |
- |
42 |
<application name="Unigine Tropics" executable="Tropics">
|
|
|
43 |
<option name="force_glsl_extensions_warn" value="true" />
|
|
|
44 |
<option name="disable_blend_func_extended" value="true" />
|
|
|
45 |
</application>
|
8 |
- |
46 |
|
3 |
- |
47 |
<application name="Unigine Heaven (32-bit)" executable="heaven_x86">
|
|
|
48 |
<option name="force_glsl_extensions_warn" value="true" />
|
|
|
49 |
<option name="disable_blend_func_extended" value="true" />
|
8 |
- |
50 |
<option name="force_glsl_version" value="130" />
|
|
|
51 |
<option name="disable_shader_bit_encoding" value="true" />
|
33 |
- |
52 |
<option name="allow_glsl_extension_directive_midshader" value="true" />
|
3 |
- |
53 |
</application>
|
8 |
- |
54 |
|
3 |
- |
55 |
<application name="Unigine Heaven (64-bit)" executable="heaven_x64">
|
|
|
56 |
<option name="force_glsl_extensions_warn" value="true" />
|
|
|
57 |
<option name="disable_blend_func_extended" value="true" />
|
8 |
- |
58 |
<option name="force_glsl_version" value="130" />
|
|
|
59 |
<option name="disable_shader_bit_encoding" value="true" />
|
33 |
- |
60 |
<option name="allow_glsl_extension_directive_midshader" value="true" />
|
3 |
- |
61 |
</application>
|
8 |
- |
62 |
|
33 |
- |
63 |
<application name="Unigine Valley (32-bit)" executable="valley_x86">
|
|
|
64 |
<option name="allow_glsl_extension_directive_midshader" value="true" />
|
|
|
65 |
</application>
|
|
|
66 |
|
|
|
67 |
<application name="Unigine Valley (64-bit)" executable="valley_x64">
|
|
|
68 |
<option name="allow_glsl_extension_directive_midshader" value="true" />
|
|
|
69 |
</application>
|
|
|
70 |
|
3 |
- |
71 |
<application name="Unigine OilRush (32-bit)" executable="OilRush_x86">
|
|
|
72 |
<option name="disable_blend_func_extended" value="true" />
|
|
|
73 |
</application>
|
8 |
- |
74 |
|
3 |
- |
75 |
<application name="Unigine OilRush (64-bit)" executable="OilRush_x64">
|
|
|
76 |
<option name="disable_blend_func_extended" value="true" />
|
|
|
77 |
</application>
|
8 |
- |
78 |
|
3 |
- |
79 |
<application name="Savage 2" executable="savage2.bin">
|
|
|
80 |
<option name="disable_glsl_line_continuations" value="true" />
|
|
|
81 |
</application>
|
8 |
- |
82 |
|
3 |
- |
83 |
<application name="Topogun (32-bit)" executable="topogun32">
|
|
|
84 |
<option name="always_have_depth_buffer" value="true" />
|
|
|
85 |
</application>
|
8 |
- |
86 |
|
3 |
- |
87 |
<application name="Topogun (64-bit)" executable="topogun64">
|
|
|
88 |
<option name="always_have_depth_buffer" value="true" />
|
|
|
89 |
</application>
|
|
|
90 |
</device>
|
|
|
91 |
</driconf>
|