Browse Source

Minor adjustement

pull/3042/head
MaranBr 3 months ago
committed by crueter
parent
commit
32e3b58d70
  1. 2
      src/common/settings.h
  2. 2
      src/qt_common/config/shared_translation.cpp
  3. 2
      src/video_core/vulkan_common/vulkan_device.cpp

2
src/common/settings.h

@ -546,7 +546,7 @@ struct Values {
Category::RendererExtensions,
Specialization::Scalar};
SwitchableSetting<bool> enable_vertex_input_dynamic_state{linkage, false, "enable_vertex_input_dynamic_state", Category::RendererExtensions};
SwitchableSetting<bool> vertex_input_dynamic_state{linkage, true, "vertex_input_dynamic_state", Category::RendererExtensions};
SwitchableSetting<bool> provoking_vertex{linkage, false, "provoking_vertex", Category::RendererExtensions};
SwitchableSetting<bool> descriptor_indexing{linkage, false, "descriptor_indexing", Category::RendererExtensions};
SwitchableSetting<bool> sample_shading{linkage, false, "sample_shading", Category::RendererExtensions, Specialization::Paired};

2
src/qt_common/config/shared_translation.cpp

@ -330,7 +330,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent)
tr("Controls the number of features that can be used in Extended Dynamic State.\nHigher numbers allow for more features and can increase performance, but may cause issues.\nThe default value is per-system."));
INSERT(Settings,
enable_vertex_input_dynamic_state,
vertex_input_dynamic_state,
tr("Vertex Input Dynamic State"),
tr("Enables vertex input dynamic state feature for better quality and performance."));

2
src/video_core/vulkan_common/vulkan_device.cpp

@ -757,7 +757,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
break;
}
if (!Settings::values.enable_vertex_input_dynamic_state.GetValue()) {
if (!Settings::values.vertex_input_dynamic_state.GetValue()) {
RemoveExtensionFeature(extensions.vertex_input_dynamic_state, features.vertex_input_dynamic_state, VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
}

Loading…
Cancel
Save