DRI_CONF_SECTION_DEBUG
DRI_CONF_DUAL_COLOR_BLEND_BY_LOCATION(false)
DRI_CONF_OPT_B(radeonsi_inline_uniforms, false, "Optimize shaders by replacing uniforms with literals")
+ DRI_CONF_OPT_B(disable_xcb_surface, false, \
+ "disable ext")
DRI_CONF_SECTION_END
DRI_CONF_SECTION_PERFORMANCE
Extension("VK_KHR_surface"),
Extension("VK_EXT_headless_surface"),
Extension("VK_KHR_wayland_surface"),
- Extension("VK_KHR_xcb_surface"),
+ Extension("VK_KHR_xcb_surface",
+ conditions=["!instance_info->disable_xcb_surface"]),
]
# constructor: Layer(name, conditions=[])
#include "MoltenVK/vk_mvk_moltenvk.h"
#endif
+struct pipe_screen;
struct zink_screen;
struct zink_instance_info {
uint32_t loader_version;
+ bool disable_xcb_surface;
%for ext in extensions:
bool have_${ext.name_with_vendor()};
NULL, NULL, NULL, 0, NULL, 0);
screen->driconf.dual_color_blend_by_location = driQueryOptionb(config->options, "dual_color_blend_by_location");
//screen->driconf.inline_uniforms = driQueryOptionb(config->options, "radeonsi_inline_uniforms");
+ screen->instance_info.disable_xcb_surface = driQueryOptionb(config->options, "disable_xcb_surface");
}
#endif
screen->instance = zink_create_instance(&screen->instance_info);
<option name="disable_arb_gpu_shader5" value="true" />
</application>
+ <!-- using vulkan wsi for xservers causes deadlocks -->
+ <application name="Xwayland" executable="Xwayland">
+ <option name="disable_xcb_surface" value="true" />
+ </application>
+
<application name="Unigine Heaven (32-bit)" executable="heaven_x86">
<option name="allow_glsl_extension_directive_midshader" value="true" />
<!-- remove dual_color_blend_by_location if 4.1 ever comes out -->