mirror of https://gitlab.freedesktop.org/mesa/mesa
driconf: drop param for setting default gpu vendor id in DRI_CONF_FORCE_VK_VENDOR()
The macro was ignoring the param and hard-coding 0, and it doesn't make much sense to allow drivers to override it by default, so remove the appearance of the ability to do so. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29632>
This commit is contained in:
parent
53b99d766e
commit
99af53c6fd
|
@ -103,7 +103,7 @@ static const driOptionDescription anv_dri_options[] = {
|
|||
DRI_CONF_VK_X11_IGNORE_SUBOPTIMAL(false)
|
||||
DRI_CONF_LIMIT_TRIG_INPUT_RANGE(false)
|
||||
DRI_CONF_ANV_MESH_CONV_PRIM_ATTRS_TO_VERT_ATTRS(-2)
|
||||
DRI_CONF_FORCE_VK_VENDOR(0)
|
||||
DRI_CONF_FORCE_VK_VENDOR()
|
||||
DRI_CONF_FAKE_SPARSE(false)
|
||||
#if DETECT_OS_ANDROID && ANDROID_API_LEVEL >= 34
|
||||
DRI_CONF_VK_REQUIRE_ASTC(true)
|
||||
|
|
|
@ -85,7 +85,7 @@ static const driOptionDescription nvk_dri_options[] = {
|
|||
DRI_CONF_SECTION_END
|
||||
|
||||
DRI_CONF_SECTION_DEBUG
|
||||
DRI_CONF_FORCE_VK_VENDOR(0)
|
||||
DRI_CONF_FORCE_VK_VENDOR()
|
||||
DRI_CONF_VK_WSI_FORCE_SWAPCHAIN_TO_CURRENT_EXTENT(false)
|
||||
DRI_CONF_VK_X11_IGNORE_SUBOPTIMAL(false)
|
||||
DRI_CONF_SECTION_END
|
||||
|
|
|
@ -317,7 +317,7 @@
|
|||
DRI_CONF_OPT_B(ignore_discard_framebuffer, def, \
|
||||
"Ignore glDiscardFramebuffer/glInvalidateFramebuffer, workaround for games that use it incorrectly")
|
||||
|
||||
#define DRI_CONF_FORCE_VK_VENDOR(def) \
|
||||
#define DRI_CONF_FORCE_VK_VENDOR() \
|
||||
DRI_CONF_OPT_I(force_vk_vendor, 0, -1, 2147483647, "Override GPU vendor id")
|
||||
|
||||
#define DRI_CONF_FAKE_SPARSE(def) \
|
||||
|
|
Loading…
Reference in New Issue