DRI_CONF_SECTION_PERFORMANCE
DRI_CONF_MESA_GLTHREAD(true)
DRI_CONF_SECTION_END
+
+DRI_CONF_SECTION_QUALITY
+ DRI_CONF_OPT_B(zink_emulate_point_smooth, false, "Enable support for emulated GL_POINT_SMOOTH")
+DRI_CONF_SECTION_END
screen->driconf.dual_color_blend_by_location = driQueryOptionb(config->options, "dual_color_blend_by_location");
screen->driconf.glsl_correct_derivatives_after_discard = driQueryOptionb(config->options, "glsl_correct_derivatives_after_discard");
//screen->driconf.inline_uniforms = driQueryOptionb(config->options, "radeonsi_inline_uniforms");
+ screen->driconf.emulate_point_smooth = driQueryOptionb(config->options, "zink_emulate_point_smooth");
screen->instance_info.disable_xcb_surface = driQueryOptionb(config->options, "disable_xcb_surface");
}
!screen->driver_workarounds.no_linestipple &&
!screen->driver_workarounds.no_linesmooth &&
!screen->driver_workarounds.no_hw_gl_point &&
- !screen->driver_workarounds.lower_robustImageAccess2;
+ !screen->driver_workarounds.lower_robustImageAccess2 &&
+ !screen->driconf.emulate_point_smooth;
if (!screen->optimal_keys)
screen->info.have_EXT_graphics_pipeline_library = false;
bool dual_color_blend_by_location;
bool glsl_correct_derivatives_after_discard;
bool inline_uniforms;
+ bool emulate_point_smooth;
} driconf;
VkFormatProperties format_props[PIPE_FORMAT_COUNT];