driconf: remove leftover code for allow_incorrect_primitive_id
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Sep 2021 08:50:03 +0000 (04:50 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Sep 2021 22:23:27 +0000 (22:23 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12809>

src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/auxiliary/util/u_driconf.c
src/gallium/include/frontend/api.h
src/util/00-mesa-defaults.conf
src/util/driconf.h

index 2ec793e..051d74a 100644 (file)
@@ -31,7 +31,6 @@ DRI_CONF_SECTION_DEBUG
    DRI_CONF_GLSL_CORRECT_DERIVATIVES_AFTER_DISCARD(false)
    DRI_CONF_GLSL_IGNORE_WRITE_TO_READONLY_VAR(false)
    DRI_CONF_ALLOW_DRAW_OUT_OF_ORDER(false)
-   DRI_CONF_ALLOW_INCORRECT_PRIMITIVE_ID(false)
    DRI_CONF_FORCE_COMPAT_PROFILE(false)
    DRI_CONF_FORCE_GL_NAMES_REUSE(false)
    DRI_CONF_TRANSCODE_ETC(false)
index 0cd84e9..3098ade 100644 (file)
@@ -57,7 +57,6 @@ u_driconf_fill_st_options(struct st_config_options *options,
    query_bool_option(force_glsl_abs_sqrt);
    query_bool_option(allow_glsl_cross_stage_interpolation_mismatch);
    query_bool_option(allow_draw_out_of_order);
-   query_bool_option(allow_incorrect_primitive_id);
    query_bool_option(ignore_map_unsynchronized);
    query_bool_option(force_gl_names_reuse);
    query_bool_option(transcode_etc);
index 4fa1256..1b13136 100644 (file)
@@ -233,7 +233,6 @@ struct st_config_options
    bool force_glsl_abs_sqrt;
    bool allow_glsl_cross_stage_interpolation_mismatch;
    bool allow_draw_out_of_order;
-   bool allow_incorrect_primitive_id;
    bool ignore_map_unsynchronized;
    bool force_integer_tex_nearest;
    bool force_gl_names_reuse;
index 0650adf..a8e1a6f 100644 (file)
@@ -306,8 +306,6 @@ TODO: document the other workarounds.
             <option name="force_gl_vendor" value="NVIDIA Corporation" />
             <!-- creo-02 doesn't enable GL_EXT_shader_image_load_store in GLSL -->
             <option name="force_glsl_extensions_warn" value="true" />
-            <!-- Enable draw merging inside display list for snx-03 -->
-            <option name="allow_incorrect_primitive_id" value="true" />
             <option name="allow_draw_out_of_order" value="true" />
             <option name="mesa_glthread" value="true" />
             <option name="mesa_no_error" value="true" />
index 35f1941..6248957 100644 (file)
    DRI_CONF_OPT_B(allow_draw_out_of_order, def, \
                   "Allow out-of-order draw optimizations. Set when Z fighting doesn't have to be accurate.")
 
-#define DRI_CONF_ALLOW_INCORRECT_PRIMITIVE_ID(def) \
-   DRI_CONF_OPT_B(allow_incorrect_primitive_id, def, \
-                  "Allows drawing display list using merged draws (might cause invalid gl_PrimitiveID values).")
-
 #define DRI_CONF_FORCE_GL_VENDOR() \
    DRI_CONF_OPT_S_NODEF(force_gl_vendor, "Override GPU vendor string.")