Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

961 lines
44 KiB

  1. /***************************************************************************\
  2. |* *|
  3. |* Copyright NVIDIA Corporation. All rights reserved. *|
  4. |* *|
  5. |* NOTICE TO USER: *|
  6. |* *|
  7. |* This source code is subject to NVIDIA ownership rights under U.S. *|
  8. |* and international Copyright laws. Users and possessors of this *|
  9. |* source code are hereby granted a nonexclusive, royalty-free *|
  10. |* license to use this code in individual and commercial software. *|
  11. |* *|
  12. |* NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE *|
  13. |* CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR *|
  14. |* IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH *|
  15. |* REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF *|
  16. |* MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR *|
  17. |* PURPOSE. IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, *|
  18. |* INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES *|
  19. |* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN *|
  20. |* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING *|
  21. |* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE *|
  22. |* CODE. *|
  23. |* *|
  24. |* U.S. Government End Users. This source code is a "commercial item" *|
  25. |* as that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting *|
  26. |* of "commercial computer software" and "commercial computer software *|
  27. |* documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) *|
  28. |* and is provided to the U.S. Government only as a commercial end item. *|
  29. |* Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through *|
  30. |* 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the *|
  31. |* source code with only those rights set forth herein. *|
  32. |* *|
  33. |* Any use of this source code in individual and commercial software must *|
  34. |* include, in the user documentation and internal comments to the code, *|
  35. |* the above Disclaimer and U.S. Government End Users Notice. *|
  36. |* *|
  37. |* *|
  38. \***************************************************************************/
  39. #include "NvApiDriverSettings.h"
  40. EValues_OGL_AA_LINE_GAMMA g_valuesOGL_AA_LINE_GAMMA[OGL_AA_LINE_GAMMA_NUM_VALUES] =
  41. {
  42. OGL_AA_LINE_GAMMA_DISABLED,
  43. OGL_AA_LINE_GAMMA_ENABLED,
  44. OGL_AA_LINE_GAMMA_MIN,
  45. OGL_AA_LINE_GAMMA_MAX,
  46. };
  47. EValues_OGL_DEEP_COLOR_SCANOUT g_valuesOGL_DEEP_COLOR_SCANOUT[OGL_DEEP_COLOR_SCANOUT_NUM_VALUES] =
  48. {
  49. OGL_DEEP_COLOR_SCANOUT_DISABLE,
  50. OGL_DEEP_COLOR_SCANOUT_ENABLE,
  51. };
  52. EValues_OGL_DEFAULT_SWAP_INTERVAL g_valuesOGL_DEFAULT_SWAP_INTERVAL[OGL_DEFAULT_SWAP_INTERVAL_NUM_VALUES] =
  53. {
  54. OGL_DEFAULT_SWAP_INTERVAL_TEAR,
  55. OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE,
  56. OGL_DEFAULT_SWAP_INTERVAL_VSYNC,
  57. OGL_DEFAULT_SWAP_INTERVAL_VALUE_MASK,
  58. OGL_DEFAULT_SWAP_INTERVAL_FORCE_MASK,
  59. OGL_DEFAULT_SWAP_INTERVAL_FORCE_OFF,
  60. OGL_DEFAULT_SWAP_INTERVAL_FORCE_ON,
  61. OGL_DEFAULT_SWAP_INTERVAL_APP_CONTROLLED,
  62. OGL_DEFAULT_SWAP_INTERVAL_DISABLE,
  63. };
  64. EValues_OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL g_valuesOGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL[OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_NUM_VALUES] =
  65. {
  66. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ZERO_SCANLINES,
  67. OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ONE_FULL_FRAME_OF_SCANLINES,
  68. };
  69. EValues_OGL_DEFAULT_SWAP_INTERVAL_SIGN g_valuesOGL_DEFAULT_SWAP_INTERVAL_SIGN[OGL_DEFAULT_SWAP_INTERVAL_SIGN_NUM_VALUES] =
  70. {
  71. OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE,
  72. OGL_DEFAULT_SWAP_INTERVAL_SIGN_NEGATIVE,
  73. };
  74. EValues_OGL_EVENT_LOG_SEVERITY_THRESHOLD g_valuesOGL_EVENT_LOG_SEVERITY_THRESHOLD[OGL_EVENT_LOG_SEVERITY_THRESHOLD_NUM_VALUES] =
  75. {
  76. OGL_EVENT_LOG_SEVERITY_THRESHOLD_DISABLE,
  77. OGL_EVENT_LOG_SEVERITY_THRESHOLD_CRITICAL,
  78. OGL_EVENT_LOG_SEVERITY_THRESHOLD_WARNING,
  79. OGL_EVENT_LOG_SEVERITY_THRESHOLD_INFORMATION,
  80. OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL,
  81. };
  82. EValues_OGL_FORCE_BLIT g_valuesOGL_FORCE_BLIT[OGL_FORCE_BLIT_NUM_VALUES] =
  83. {
  84. OGL_FORCE_BLIT_ON,
  85. OGL_FORCE_BLIT_OFF,
  86. };
  87. EValues_OGL_FORCE_STEREO g_valuesOGL_FORCE_STEREO[OGL_FORCE_STEREO_NUM_VALUES] =
  88. {
  89. OGL_FORCE_STEREO_OFF,
  90. OGL_FORCE_STEREO_ON,
  91. };
  92. const wchar_t * g_valuesOGL_IMPLICIT_GPU_AFFINITY[OGL_IMPLICIT_GPU_AFFINITY_NUM_VALUES] =
  93. {
  94. OGL_IMPLICIT_GPU_AFFINITY_AUTOSELECT
  95. };
  96. EValues_OGL_MULTIMON g_valuesOGL_MULTIMON[OGL_MULTIMON_NUM_VALUES] =
  97. {
  98. OGL_MULTIMON_SINGLE_MONITOR,
  99. OGL_MULTIMON_COMPATIBILITY_LCD,
  100. OGL_MULTIMON_COMPATIBILITY_GCD,
  101. OGL_MULTIMON_PERFORMANCE_LCD,
  102. OGL_MULTIMON_PERFORMANCE_GCD,
  103. OGL_MULTIMON_EXTENDED_SINGLE_MONITOR,
  104. OGL_MULTIMON_PERFORMANCE_QUADRO,
  105. OGL_MULTIMON_MULTIMON_BUFFER,
  106. };
  107. EValues_OGL_OVERLAY_PIXEL_TYPE g_valuesOGL_OVERLAY_PIXEL_TYPE[OGL_OVERLAY_PIXEL_TYPE_NUM_VALUES] =
  108. {
  109. OGL_OVERLAY_PIXEL_TYPE_NONE,
  110. OGL_OVERLAY_PIXEL_TYPE_CI,
  111. OGL_OVERLAY_PIXEL_TYPE_RGBA,
  112. OGL_OVERLAY_PIXEL_TYPE_CI_AND_RGBA,
  113. };
  114. EValues_OGL_OVERLAY_SUPPORT g_valuesOGL_OVERLAY_SUPPORT[OGL_OVERLAY_SUPPORT_NUM_VALUES] =
  115. {
  116. OGL_OVERLAY_SUPPORT_OFF,
  117. OGL_OVERLAY_SUPPORT_ON,
  118. OGL_OVERLAY_SUPPORT_FORCE_SW,
  119. };
  120. EValues_OGL_QUALITY_ENHANCEMENTS g_valuesOGL_QUALITY_ENHANCEMENTS[OGL_QUALITY_ENHANCEMENTS_NUM_VALUES] =
  121. {
  122. OGL_QUALITY_ENHANCEMENTS_HQUAL,
  123. OGL_QUALITY_ENHANCEMENTS_QUAL,
  124. OGL_QUALITY_ENHANCEMENTS_PERF,
  125. OGL_QUALITY_ENHANCEMENTS_HPERF,
  126. };
  127. EValues_OGL_SINGLE_BACKDEPTH_BUFFER g_valuesOGL_SINGLE_BACKDEPTH_BUFFER[OGL_SINGLE_BACKDEPTH_BUFFER_NUM_VALUES] =
  128. {
  129. OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE,
  130. OGL_SINGLE_BACKDEPTH_BUFFER_ENABLE,
  131. OGL_SINGLE_BACKDEPTH_BUFFER_USE_HW_DEFAULT,
  132. };
  133. EValues_OGL_SLI_MULTICAST g_valuesOGL_SLI_MULTICAST[OGL_SLI_MULTICAST_NUM_VALUES] =
  134. {
  135. OGL_SLI_MULTICAST_DISABLE,
  136. OGL_SLI_MULTICAST_ENABLE,
  137. OGL_SLI_MULTICAST_FORCE_DISABLE,
  138. };
  139. EValues_OGL_THREAD_CONTROL g_valuesOGL_THREAD_CONTROL[OGL_THREAD_CONTROL_NUM_VALUES] =
  140. {
  141. OGL_THREAD_CONTROL_ENABLE,
  142. OGL_THREAD_CONTROL_DISABLE,
  143. };
  144. EValues_OGL_TRIPLE_BUFFER g_valuesOGL_TRIPLE_BUFFER[OGL_TRIPLE_BUFFER_NUM_VALUES] =
  145. {
  146. OGL_TRIPLE_BUFFER_DISABLED,
  147. OGL_TRIPLE_BUFFER_ENABLED,
  148. };
  149. EValues_OGL_VIDEO_EDITING_MODE g_valuesOGL_VIDEO_EDITING_MODE[OGL_VIDEO_EDITING_MODE_NUM_VALUES] =
  150. {
  151. OGL_VIDEO_EDITING_MODE_DISABLE,
  152. OGL_VIDEO_EDITING_MODE_ENABLE,
  153. };
  154. EValues_AA_BEHAVIOR_FLAGS g_valuesAA_BEHAVIOR_FLAGS[AA_BEHAVIOR_FLAGS_NUM_VALUES] =
  155. {
  156. AA_BEHAVIOR_FLAGS_NONE,
  157. AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_APP_CONTROLLED,
  158. AA_BEHAVIOR_FLAGS_TREAT_OVERRIDE_AS_ENHANCE,
  159. AA_BEHAVIOR_FLAGS_DISABLE_OVERRIDE,
  160. AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_APP_CONTROLLED,
  161. AA_BEHAVIOR_FLAGS_TREAT_ENHANCE_AS_OVERRIDE,
  162. AA_BEHAVIOR_FLAGS_DISABLE_ENHANCE,
  163. AA_BEHAVIOR_FLAGS_MAP_VCAA_TO_MULTISAMPLING,
  164. AA_BEHAVIOR_FLAGS_SLI_DISABLE_TRANSPARENCY_SUPERSAMPLING,
  165. AA_BEHAVIOR_FLAGS_DISABLE_CPLAA,
  166. AA_BEHAVIOR_FLAGS_SKIP_RT_DIM_CHECK_FOR_ENHANCE,
  167. AA_BEHAVIOR_FLAGS_DISABLE_SLIAA,
  168. AA_BEHAVIOR_FLAGS_DEFAULT,
  169. AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4,
  170. AA_BEHAVIOR_FLAGS_AA_RT_BPP_DIV_4_SHIFT,
  171. AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4,
  172. AA_BEHAVIOR_FLAGS_NON_AA_RT_BPP_DIV_4_SHIFT,
  173. AA_BEHAVIOR_FLAGS_MASK,
  174. };
  175. EValues_AA_MODE_ALPHATOCOVERAGE g_valuesAA_MODE_ALPHATOCOVERAGE[AA_MODE_ALPHATOCOVERAGE_NUM_VALUES] =
  176. {
  177. AA_MODE_ALPHATOCOVERAGE_MODE_MASK,
  178. AA_MODE_ALPHATOCOVERAGE_MODE_OFF,
  179. AA_MODE_ALPHATOCOVERAGE_MODE_ON,
  180. AA_MODE_ALPHATOCOVERAGE_MODE_MAX,
  181. };
  182. EValues_AA_MODE_GAMMACORRECTION g_valuesAA_MODE_GAMMACORRECTION[AA_MODE_GAMMACORRECTION_NUM_VALUES] =
  183. {
  184. AA_MODE_GAMMACORRECTION_MASK,
  185. AA_MODE_GAMMACORRECTION_OFF,
  186. AA_MODE_GAMMACORRECTION_ON_IF_FOS,
  187. AA_MODE_GAMMACORRECTION_ON_ALWAYS,
  188. AA_MODE_GAMMACORRECTION_MAX,
  189. AA_MODE_GAMMACORRECTION_DEFAULT,
  190. AA_MODE_GAMMACORRECTION_DEFAULT_TESLA,
  191. AA_MODE_GAMMACORRECTION_DEFAULT_FERMI,
  192. };
  193. EValues_AA_MODE_METHOD g_valuesAA_MODE_METHOD[AA_MODE_METHOD_NUM_VALUES] =
  194. {
  195. AA_MODE_METHOD_NONE,
  196. AA_MODE_METHOD_SUPERSAMPLE_2X_H,
  197. AA_MODE_METHOD_SUPERSAMPLE_2X_V,
  198. AA_MODE_METHOD_SUPERSAMPLE_1_5X1_5,
  199. AA_MODE_METHOD_FREE_0x03,
  200. AA_MODE_METHOD_FREE_0x04,
  201. AA_MODE_METHOD_SUPERSAMPLE_4X,
  202. AA_MODE_METHOD_SUPERSAMPLE_4X_BIAS,
  203. AA_MODE_METHOD_SUPERSAMPLE_4X_GAUSSIAN,
  204. AA_MODE_METHOD_FREE_0x08,
  205. AA_MODE_METHOD_FREE_0x09,
  206. AA_MODE_METHOD_SUPERSAMPLE_9X,
  207. AA_MODE_METHOD_SUPERSAMPLE_9X_BIAS,
  208. AA_MODE_METHOD_SUPERSAMPLE_16X,
  209. AA_MODE_METHOD_SUPERSAMPLE_16X_BIAS,
  210. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL,
  211. AA_MODE_METHOD_MULTISAMPLE_2X_QUINCUNX,
  212. AA_MODE_METHOD_MULTISAMPLE_4X,
  213. AA_MODE_METHOD_FREE_0x11,
  214. AA_MODE_METHOD_MULTISAMPLE_4X_GAUSSIAN,
  215. AA_MODE_METHOD_MIXEDSAMPLE_4X_SKEWED_4TAP,
  216. AA_MODE_METHOD_FREE_0x14,
  217. AA_MODE_METHOD_FREE_0x15,
  218. AA_MODE_METHOD_MIXEDSAMPLE_6X,
  219. AA_MODE_METHOD_MIXEDSAMPLE_6X_SKEWED_6TAP,
  220. AA_MODE_METHOD_MIXEDSAMPLE_8X,
  221. AA_MODE_METHOD_MIXEDSAMPLE_8X_SKEWED_8TAP,
  222. AA_MODE_METHOD_MIXEDSAMPLE_16X,
  223. AA_MODE_METHOD_MULTISAMPLE_4X_GAMMA,
  224. AA_MODE_METHOD_MULTISAMPLE_16X,
  225. AA_MODE_METHOD_VCAA_32X_8v24,
  226. AA_MODE_METHOD_CORRUPTION_CHECK,
  227. AA_MODE_METHOD_6X_CT,
  228. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_GAMMA,
  229. AA_MODE_METHOD_SUPERSAMPLE_4X_GAMMA,
  230. AA_MODE_METHOD_MULTISAMPLE_4X_FOSGAMMA,
  231. AA_MODE_METHOD_MULTISAMPLE_2X_DIAGONAL_FOSGAMMA,
  232. AA_MODE_METHOD_SUPERSAMPLE_4X_FOSGAMMA,
  233. AA_MODE_METHOD_MULTISAMPLE_8X,
  234. AA_MODE_METHOD_VCAA_8X_4v4,
  235. AA_MODE_METHOD_VCAA_16X_4v12,
  236. AA_MODE_METHOD_VCAA_16X_8v8,
  237. AA_MODE_METHOD_MIXEDSAMPLE_32X,
  238. AA_MODE_METHOD_SUPERVCAA_64X_4v12,
  239. AA_MODE_METHOD_SUPERVCAA_64X_8v8,
  240. AA_MODE_METHOD_MIXEDSAMPLE_64X,
  241. AA_MODE_METHOD_MIXEDSAMPLE_128X,
  242. AA_MODE_METHOD_COUNT,
  243. AA_MODE_METHOD_METHOD_MASK,
  244. AA_MODE_METHOD_METHOD_MAX,
  245. };
  246. EValues_AA_MODE_REPLAY g_valuesAA_MODE_REPLAY[AA_MODE_REPLAY_NUM_VALUES] =
  247. {
  248. AA_MODE_REPLAY_SAMPLES_MASK,
  249. AA_MODE_REPLAY_SAMPLES_ONE,
  250. AA_MODE_REPLAY_SAMPLES_TWO,
  251. AA_MODE_REPLAY_SAMPLES_FOUR,
  252. AA_MODE_REPLAY_SAMPLES_EIGHT,
  253. AA_MODE_REPLAY_SAMPLES_MAX,
  254. AA_MODE_REPLAY_MODE_MASK,
  255. AA_MODE_REPLAY_MODE_OFF,
  256. AA_MODE_REPLAY_MODE_ALPHA_TEST,
  257. AA_MODE_REPLAY_MODE_PIXEL_KILL,
  258. AA_MODE_REPLAY_MODE_DYN_BRANCH,
  259. AA_MODE_REPLAY_MODE_OPTIMAL,
  260. AA_MODE_REPLAY_MODE_ALL,
  261. AA_MODE_REPLAY_MODE_MAX,
  262. AA_MODE_REPLAY_TRANSPARENCY,
  263. AA_MODE_REPLAY_DISALLOW_TRAA,
  264. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT,
  265. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_TESLA,
  266. AA_MODE_REPLAY_TRANSPARENCY_DEFAULT_FERMI,
  267. AA_MODE_REPLAY_MASK,
  268. };
  269. EValues_AA_MODE_SELECTOR g_valuesAA_MODE_SELECTOR[AA_MODE_SELECTOR_NUM_VALUES] =
  270. {
  271. AA_MODE_SELECTOR_MASK,
  272. AA_MODE_SELECTOR_APP_CONTROL,
  273. AA_MODE_SELECTOR_OVERRIDE,
  274. AA_MODE_SELECTOR_ENHANCE,
  275. AA_MODE_SELECTOR_MAX,
  276. };
  277. EValues_AA_MODE_SELECTOR_SLIAA g_valuesAA_MODE_SELECTOR_SLIAA[AA_MODE_SELECTOR_SLIAA_NUM_VALUES] =
  278. {
  279. AA_MODE_SELECTOR_SLIAA_DISABLED,
  280. AA_MODE_SELECTOR_SLIAA_ENABLED,
  281. };
  282. EValues_ANISO_MODE_LEVEL g_valuesANISO_MODE_LEVEL[ANISO_MODE_LEVEL_NUM_VALUES] =
  283. {
  284. ANISO_MODE_LEVEL_MASK,
  285. ANISO_MODE_LEVEL_NONE_POINT,
  286. ANISO_MODE_LEVEL_NONE_LINEAR,
  287. ANISO_MODE_LEVEL_MAX,
  288. ANISO_MODE_LEVEL_DEFAULT,
  289. };
  290. EValues_ANISO_MODE_SELECTOR g_valuesANISO_MODE_SELECTOR[ANISO_MODE_SELECTOR_NUM_VALUES] =
  291. {
  292. ANISO_MODE_SELECTOR_MASK,
  293. ANISO_MODE_SELECTOR_APP,
  294. ANISO_MODE_SELECTOR_USER,
  295. ANISO_MODE_SELECTOR_COND,
  296. ANISO_MODE_SELECTOR_MAX,
  297. ANISO_MODE_SELECTOR_DEFAULT,
  298. };
  299. EValues_APPLICATION_PROFILE_NOTIFICATION_TIMEOUT g_valuesAPPLICATION_PROFILE_NOTIFICATION_TIMEOUT[APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NUM_VALUES] =
  300. {
  301. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED,
  302. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_NINE_SECONDS,
  303. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_FIFTEEN_SECONDS,
  304. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_THIRTY_SECONDS,
  305. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ONE_MINUTE,
  306. APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_TWO_MINUTES,
  307. };
  308. EValues_CPL_HIDDEN_PROFILE g_valuesCPL_HIDDEN_PROFILE[CPL_HIDDEN_PROFILE_NUM_VALUES] =
  309. {
  310. CPL_HIDDEN_PROFILE_DISABLED,
  311. CPL_HIDDEN_PROFILE_ENABLED,
  312. };
  313. const wchar_t * g_valuesCUDA_EXCLUDED_GPUS[CUDA_EXCLUDED_GPUS_NUM_VALUES] =
  314. {
  315. CUDA_EXCLUDED_GPUS_NONE
  316. };
  317. const wchar_t * g_valuesD3DOGL_GPU_MAX_POWER[D3DOGL_GPU_MAX_POWER_NUM_VALUES] =
  318. {
  319. D3DOGL_GPU_MAX_POWER_DEFAULTPOWER
  320. };
  321. EValues_EXPORT_PERF_COUNTERS g_valuesEXPORT_PERF_COUNTERS[EXPORT_PERF_COUNTERS_NUM_VALUES] =
  322. {
  323. EXPORT_PERF_COUNTERS_OFF,
  324. EXPORT_PERF_COUNTERS_ON,
  325. };
  326. EValues_FXAA_ALLOW g_valuesFXAA_ALLOW[FXAA_ALLOW_NUM_VALUES] =
  327. {
  328. FXAA_ALLOW_DISALLOWED,
  329. FXAA_ALLOW_ALLOWED,
  330. };
  331. EValues_FXAA_ENABLE g_valuesFXAA_ENABLE[FXAA_ENABLE_NUM_VALUES] =
  332. {
  333. FXAA_ENABLE_OFF,
  334. FXAA_ENABLE_ON,
  335. };
  336. EValues_FXAA_INDICATOR_ENABLE g_valuesFXAA_INDICATOR_ENABLE[FXAA_INDICATOR_ENABLE_NUM_VALUES] =
  337. {
  338. FXAA_INDICATOR_ENABLE_OFF,
  339. FXAA_INDICATOR_ENABLE_ON,
  340. };
  341. EValues_MCSFRSHOWSPLIT g_valuesMCSFRSHOWSPLIT[MCSFRSHOWSPLIT_NUM_VALUES] =
  342. {
  343. MCSFRSHOWSPLIT_DISABLED,
  344. MCSFRSHOWSPLIT_ENABLED,
  345. };
  346. EValues_NV_QUALITY_UPSCALING g_valuesNV_QUALITY_UPSCALING[NV_QUALITY_UPSCALING_NUM_VALUES] =
  347. {
  348. NV_QUALITY_UPSCALING_OFF,
  349. NV_QUALITY_UPSCALING_ON,
  350. };
  351. EValues_OPTIMUS_MAXAA g_valuesOPTIMUS_MAXAA[OPTIMUS_MAXAA_NUM_VALUES] =
  352. {
  353. OPTIMUS_MAXAA_MIN,
  354. OPTIMUS_MAXAA_MAX,
  355. };
  356. EValues_PHYSXINDICATOR g_valuesPHYSXINDICATOR[PHYSXINDICATOR_NUM_VALUES] =
  357. {
  358. PHYSXINDICATOR_DISABLED,
  359. PHYSXINDICATOR_ENABLED,
  360. };
  361. EValues_PREFERRED_PSTATE g_valuesPREFERRED_PSTATE[PREFERRED_PSTATE_NUM_VALUES] =
  362. {
  363. PREFERRED_PSTATE_ADAPTIVE,
  364. PREFERRED_PSTATE_PREFER_MAX,
  365. PREFERRED_PSTATE_DRIVER_CONTROLLED,
  366. PREFERRED_PSTATE_PREFER_CONSISTENT_PERFORMANCE,
  367. PREFERRED_PSTATE_PREFER_MIN,
  368. PREFERRED_PSTATE_MIN,
  369. PREFERRED_PSTATE_MAX,
  370. };
  371. EValues_PREVENT_UI_AF_OVERRIDE g_valuesPREVENT_UI_AF_OVERRIDE[PREVENT_UI_AF_OVERRIDE_NUM_VALUES] =
  372. {
  373. PREVENT_UI_AF_OVERRIDE_OFF,
  374. PREVENT_UI_AF_OVERRIDE_ON,
  375. };
  376. EValues_PS_FRAMERATE_LIMITER g_valuesPS_FRAMERATE_LIMITER[PS_FRAMERATE_LIMITER_NUM_VALUES] =
  377. {
  378. PS_FRAMERATE_LIMITER_DISABLED,
  379. PS_FRAMERATE_LIMITER_FPS_20,
  380. PS_FRAMERATE_LIMITER_FPS_30,
  381. PS_FRAMERATE_LIMITER_FPS_40,
  382. PS_FRAMERATE_LIMITER_FPSMASK,
  383. PS_FRAMERATE_LIMITER_FRL2,
  384. PS_FRAMERATE_LIMITER_FORCE_VSYNC_OFF,
  385. PS_FRAMERATE_LIMITER_GPS_WEB,
  386. PS_FRAMERATE_LIMITER_FORCE_OPTIMUS_POLICY,
  387. PS_FRAMERATE_LIMITER_DISALLOWED,
  388. PS_FRAMERATE_LIMITER_USE_CPU_WAIT,
  389. PS_FRAMERATE_LIMITER_THRESHOLD,
  390. PS_FRAMERATE_LIMITER_TEMPERATURE,
  391. PS_FRAMERATE_LIMITER_POWER,
  392. PS_FRAMERATE_LIMITER_MODEMASK,
  393. PS_FRAMERATE_LIMITER_ACCURATE,
  394. PS_FRAMERATE_LIMITER_ALLOW_WINDOWED,
  395. PS_FRAMERATE_LIMITER_FORCEON,
  396. PS_FRAMERATE_LIMITER_ENABLED,
  397. PS_FRAMERATE_LIMITER_OPENGL_REMOTE_DESKTOP,
  398. PS_FRAMERATE_LIMITER_MASK,
  399. };
  400. EValues_PS_FRAMERATE_LIMITER_2_CONTROL g_valuesPS_FRAMERATE_LIMITER_2_CONTROL[PS_FRAMERATE_LIMITER_2_CONTROL_NUM_VALUES] =
  401. {
  402. PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_CE,
  403. PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_3D,
  404. PS_FRAMERATE_LIMITER_2_CONTROL_AVOID_NOOP,
  405. PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL_MAXWELL,
  406. PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL,
  407. PS_FRAMERATE_LIMITER_2_CONTROL_FORCE_OFF,
  408. PS_FRAMERATE_LIMITER_2_CONTROL_DEFAULT_FOR_GM10X,
  409. };
  410. EValues_PS_FRAMERATE_LIMITER_GPS_CTRL g_valuesPS_FRAMERATE_LIMITER_GPS_CTRL[PS_FRAMERATE_LIMITER_GPS_CTRL_NUM_VALUES] =
  411. {
  412. PS_FRAMERATE_LIMITER_GPS_CTRL_DISABLED,
  413. PS_FRAMERATE_LIMITER_GPS_CTRL_DECREASE_FILTER_MASK,
  414. PS_FRAMERATE_LIMITER_GPS_CTRL_PAUSE_TIME_MASK,
  415. PS_FRAMERATE_LIMITER_GPS_CTRL_PAUSE_TIME_SHIFT,
  416. PS_FRAMERATE_LIMITER_GPS_CTRL_TARGET_RENDER_TIME_MASK,
  417. PS_FRAMERATE_LIMITER_GPS_CTRL_TARGET_RENDER_TIME_SHIFT,
  418. PS_FRAMERATE_LIMITER_GPS_CTRL_PERF_STEP_SIZE_MASK,
  419. PS_FRAMERATE_LIMITER_GPS_CTRL_PERF_STEP_SIZE_SHIFT,
  420. PS_FRAMERATE_LIMITER_GPS_CTRL_INCREASE_FILTER_MASK,
  421. PS_FRAMERATE_LIMITER_GPS_CTRL_INCREASE_FILTER_SHIFT,
  422. PS_FRAMERATE_LIMITER_GPS_CTRL_OPTIMAL_SETTING,
  423. };
  424. EValues_PS_FRAMERATE_MONITOR_CTRL g_valuesPS_FRAMERATE_MONITOR_CTRL[PS_FRAMERATE_MONITOR_CTRL_NUM_VALUES] =
  425. {
  426. PS_FRAMERATE_MONITOR_CTRL_DISABLED,
  427. PS_FRAMERATE_MONITOR_CTRL_THRESHOLD_PCT_MASK,
  428. PS_FRAMERATE_MONITOR_CTRL_MOVING_AVG_X_MASK,
  429. PS_FRAMERATE_MONITOR_CTRL_MOVING_AVG_X_SHIFT,
  430. PS_FRAMERATE_MONITOR_CTRL_ENABLE_ON_VSYNC,
  431. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OFFSET_MASK,
  432. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OFFSET_SHIFT,
  433. PS_FRAMERATE_MONITOR_CTRL_FPS_USE_FRL,
  434. PS_FRAMERATE_MONITOR_CTRL_FPS_30,
  435. PS_FRAMERATE_MONITOR_CTRL_FPS_60,
  436. PS_FRAMERATE_MONITOR_CTRL_FPS_MASK,
  437. PS_FRAMERATE_MONITOR_CTRL_FPS_SHIFT,
  438. PS_FRAMERATE_MONITOR_CTRL_OPTIMAL_SETTING,
  439. PS_FRAMERATE_MONITOR_CTRL_VSYNC_OPTIMAL_SETTING,
  440. };
  441. EValues_SHIM_MCCOMPAT g_valuesSHIM_MCCOMPAT[SHIM_MCCOMPAT_NUM_VALUES] =
  442. {
  443. SHIM_MCCOMPAT_INTEGRATED,
  444. SHIM_MCCOMPAT_ENABLE,
  445. SHIM_MCCOMPAT_USER_EDITABLE,
  446. SHIM_MCCOMPAT_MASK,
  447. SHIM_MCCOMPAT_VIDEO_MASK,
  448. SHIM_MCCOMPAT_VARYING_BIT,
  449. SHIM_MCCOMPAT_AUTO_SELECT,
  450. SHIM_MCCOMPAT_OVERRIDE_BIT,
  451. };
  452. EValues_SHIM_RENDERING_MODE g_valuesSHIM_RENDERING_MODE[SHIM_RENDERING_MODE_NUM_VALUES] =
  453. {
  454. SHIM_RENDERING_MODE_INTEGRATED,
  455. SHIM_RENDERING_MODE_ENABLE,
  456. SHIM_RENDERING_MODE_USER_EDITABLE,
  457. SHIM_RENDERING_MODE_MASK,
  458. SHIM_RENDERING_MODE_VIDEO_MASK,
  459. SHIM_RENDERING_MODE_VARYING_BIT,
  460. SHIM_RENDERING_MODE_AUTO_SELECT,
  461. SHIM_RENDERING_MODE_OVERRIDE_BIT,
  462. };
  463. EValues_SHIM_RENDERING_OPTIONS g_valuesSHIM_RENDERING_OPTIONS[SHIM_RENDERING_OPTIONS_NUM_VALUES] =
  464. {
  465. SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE,
  466. SHIM_RENDERING_OPTIONS_DISABLE_ASYNC_PRESENT,
  467. SHIM_RENDERING_OPTIONS_EHSHELL_DETECT,
  468. SHIM_RENDERING_OPTIONS_FLASHPLAYER_HOST_DETECT,
  469. SHIM_RENDERING_OPTIONS_VIDEO_DRM_APP_DETECT,
  470. SHIM_RENDERING_OPTIONS_IGNORE_OVERRIDES,
  471. SHIM_RENDERING_OPTIONS_RESERVED1,
  472. SHIM_RENDERING_OPTIONS_ENABLE_DWM_ASYNC_PRESENT,
  473. SHIM_RENDERING_OPTIONS_RESERVED2,
  474. SHIM_RENDERING_OPTIONS_ALLOW_INHERITANCE,
  475. SHIM_RENDERING_OPTIONS_DISABLE_WRAPPERS,
  476. SHIM_RENDERING_OPTIONS_DISABLE_DXGI_WRAPPERS,
  477. SHIM_RENDERING_OPTIONS_PRUNE_UNSUPPORTED_FORMATS,
  478. SHIM_RENDERING_OPTIONS_ENABLE_ALPHA_FORMAT,
  479. SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING,
  480. SHIM_RENDERING_OPTIONS_DISABLE_CUDA,
  481. SHIM_RENDERING_OPTIONS_ALLOW_CP_CAPS_FOR_VIDEO,
  482. SHIM_RENDERING_OPTIONS_IGPU_TRANSCODING_FWD_OPTIMUS,
  483. SHIM_RENDERING_OPTIONS_DISABLE_DURING_SECURE_BOOT,
  484. SHIM_RENDERING_OPTIONS_INVERT_FOR_QUADRO,
  485. SHIM_RENDERING_OPTIONS_INVERT_FOR_MSHYBRID,
  486. SHIM_RENDERING_OPTIONS_REGISTER_PROCESS_ENABLE_GOLD,
  487. SHIM_RENDERING_OPTIONS_HANDLE_WINDOWED_MODE_PERF_OPT,
  488. SHIM_RENDERING_OPTIONS_HANDLE_WIN7_ASYNC_RUNTIME_BUG,
  489. };
  490. EValues_SLI_GPU_COUNT g_valuesSLI_GPU_COUNT[SLI_GPU_COUNT_NUM_VALUES] =
  491. {
  492. SLI_GPU_COUNT_AUTOSELECT,
  493. SLI_GPU_COUNT_ONE,
  494. SLI_GPU_COUNT_TWO,
  495. SLI_GPU_COUNT_THREE,
  496. SLI_GPU_COUNT_FOUR,
  497. };
  498. EValues_SLI_PREDEFINED_GPU_COUNT g_valuesSLI_PREDEFINED_GPU_COUNT[SLI_PREDEFINED_GPU_COUNT_NUM_VALUES] =
  499. {
  500. SLI_PREDEFINED_GPU_COUNT_AUTOSELECT,
  501. SLI_PREDEFINED_GPU_COUNT_ONE,
  502. SLI_PREDEFINED_GPU_COUNT_TWO,
  503. SLI_PREDEFINED_GPU_COUNT_THREE,
  504. SLI_PREDEFINED_GPU_COUNT_FOUR,
  505. };
  506. EValues_SLI_PREDEFINED_GPU_COUNT_DX10 g_valuesSLI_PREDEFINED_GPU_COUNT_DX10[SLI_PREDEFINED_GPU_COUNT_DX10_NUM_VALUES] =
  507. {
  508. SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT,
  509. SLI_PREDEFINED_GPU_COUNT_DX10_ONE,
  510. SLI_PREDEFINED_GPU_COUNT_DX10_TWO,
  511. SLI_PREDEFINED_GPU_COUNT_DX10_THREE,
  512. SLI_PREDEFINED_GPU_COUNT_DX10_FOUR,
  513. };
  514. EValues_SLI_PREDEFINED_MODE g_valuesSLI_PREDEFINED_MODE[SLI_PREDEFINED_MODE_NUM_VALUES] =
  515. {
  516. SLI_PREDEFINED_MODE_AUTOSELECT,
  517. SLI_PREDEFINED_MODE_FORCE_SINGLE,
  518. SLI_PREDEFINED_MODE_FORCE_AFR,
  519. SLI_PREDEFINED_MODE_FORCE_AFR2,
  520. SLI_PREDEFINED_MODE_FORCE_SFR,
  521. SLI_PREDEFINED_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
  522. };
  523. EValues_SLI_PREDEFINED_MODE_DX10 g_valuesSLI_PREDEFINED_MODE_DX10[SLI_PREDEFINED_MODE_DX10_NUM_VALUES] =
  524. {
  525. SLI_PREDEFINED_MODE_DX10_AUTOSELECT,
  526. SLI_PREDEFINED_MODE_DX10_FORCE_SINGLE,
  527. SLI_PREDEFINED_MODE_DX10_FORCE_AFR,
  528. SLI_PREDEFINED_MODE_DX10_FORCE_AFR2,
  529. SLI_PREDEFINED_MODE_DX10_FORCE_SFR,
  530. SLI_PREDEFINED_MODE_DX10_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
  531. };
  532. EValues_SLI_RENDERING_MODE g_valuesSLI_RENDERING_MODE[SLI_RENDERING_MODE_NUM_VALUES] =
  533. {
  534. SLI_RENDERING_MODE_AUTOSELECT,
  535. SLI_RENDERING_MODE_FORCE_SINGLE,
  536. SLI_RENDERING_MODE_FORCE_AFR,
  537. SLI_RENDERING_MODE_FORCE_AFR2,
  538. SLI_RENDERING_MODE_FORCE_SFR,
  539. SLI_RENDERING_MODE_FORCE_AFR_OF_SFR__FALLBACK_3AFR,
  540. };
  541. EValues_VRPRERENDERLIMIT g_valuesVRPRERENDERLIMIT[VRPRERENDERLIMIT_NUM_VALUES] =
  542. {
  543. VRPRERENDERLIMIT_MIN,
  544. VRPRERENDERLIMIT_MAX,
  545. VRPRERENDERLIMIT_APP_CONTROLLED,
  546. VRPRERENDERLIMIT_DEFAULT,
  547. };
  548. EValues_VRRFEATUREINDICATOR g_valuesVRRFEATUREINDICATOR[VRRFEATUREINDICATOR_NUM_VALUES] =
  549. {
  550. VRRFEATUREINDICATOR_DISABLED,
  551. VRRFEATUREINDICATOR_ENABLED,
  552. };
  553. EValues_VRROVERLAYINDICATOR g_valuesVRROVERLAYINDICATOR[VRROVERLAYINDICATOR_NUM_VALUES] =
  554. {
  555. VRROVERLAYINDICATOR_DISABLED,
  556. VRROVERLAYINDICATOR_ENABLED,
  557. };
  558. EValues_VRRREQUESTSTATE g_valuesVRRREQUESTSTATE[VRRREQUESTSTATE_NUM_VALUES] =
  559. {
  560. VRRREQUESTSTATE_DISABLED,
  561. VRRREQUESTSTATE_FULLSCREEN_ONLY,
  562. VRRREQUESTSTATE_FULLSCREEN_AND_WINDOWED,
  563. };
  564. EValues_VRR_APP_OVERRIDE g_valuesVRR_APP_OVERRIDE[VRR_APP_OVERRIDE_NUM_VALUES] =
  565. {
  566. VRR_APP_OVERRIDE_ALLOW,
  567. VRR_APP_OVERRIDE_FORCE_OFF,
  568. VRR_APP_OVERRIDE_DISALLOW,
  569. VRR_APP_OVERRIDE_ULMB,
  570. VRR_APP_OVERRIDE_FIXED_REFRESH,
  571. };
  572. EValues_VRR_APP_OVERRIDE_REQUEST_STATE g_valuesVRR_APP_OVERRIDE_REQUEST_STATE[VRR_APP_OVERRIDE_REQUEST_STATE_NUM_VALUES] =
  573. {
  574. VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW,
  575. VRR_APP_OVERRIDE_REQUEST_STATE_FORCE_OFF,
  576. VRR_APP_OVERRIDE_REQUEST_STATE_DISALLOW,
  577. VRR_APP_OVERRIDE_REQUEST_STATE_ULMB,
  578. VRR_APP_OVERRIDE_REQUEST_STATE_FIXED_REFRESH,
  579. };
  580. EValues_VRR_MODE g_valuesVRR_MODE[VRR_MODE_NUM_VALUES] =
  581. {
  582. VRR_MODE_DISABLED,
  583. VRR_MODE_FULLSCREEN_ONLY,
  584. VRR_MODE_FULLSCREEN_AND_WINDOWED,
  585. };
  586. EValues_VSYNCSMOOTHAFR g_valuesVSYNCSMOOTHAFR[VSYNCSMOOTHAFR_NUM_VALUES] =
  587. {
  588. VSYNCSMOOTHAFR_OFF,
  589. VSYNCSMOOTHAFR_ON,
  590. };
  591. EValues_VSYNCVRRCONTROL g_valuesVSYNCVRRCONTROL[VSYNCVRRCONTROL_NUM_VALUES] =
  592. {
  593. VSYNCVRRCONTROL_DISABLE,
  594. VSYNCVRRCONTROL_ENABLE,
  595. VSYNCVRRCONTROL_NOTSUPPORTED,
  596. };
  597. EValues_VSYNC_BEHAVIOR_FLAGS g_valuesVSYNC_BEHAVIOR_FLAGS[VSYNC_BEHAVIOR_FLAGS_NUM_VALUES] =
  598. {
  599. VSYNC_BEHAVIOR_FLAGS_NONE,
  600. VSYNC_BEHAVIOR_FLAGS_DEFAULT,
  601. VSYNC_BEHAVIOR_FLAGS_IGNORE_FLIPINTERVAL_MULTIPLE,
  602. };
  603. EValues_WKS_API_STEREO_EYES_EXCHANGE g_valuesWKS_API_STEREO_EYES_EXCHANGE[WKS_API_STEREO_EYES_EXCHANGE_NUM_VALUES] =
  604. {
  605. WKS_API_STEREO_EYES_EXCHANGE_OFF,
  606. WKS_API_STEREO_EYES_EXCHANGE_ON,
  607. };
  608. EValues_WKS_API_STEREO_MODE g_valuesWKS_API_STEREO_MODE[WKS_API_STEREO_MODE_NUM_VALUES] =
  609. {
  610. WKS_API_STEREO_MODE_SHUTTER_GLASSES,
  611. WKS_API_STEREO_MODE_VERTICAL_INTERLACED,
  612. WKS_API_STEREO_MODE_TWINVIEW,
  613. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_AUTO,
  614. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC0,
  615. WKS_API_STEREO_MODE_NV17_SHUTTER_GLASSES_DAC1,
  616. WKS_API_STEREO_MODE_COLOR_LINE,
  617. WKS_API_STEREO_MODE_COLOR_INTERLEAVED,
  618. WKS_API_STEREO_MODE_ANAGLYPH,
  619. WKS_API_STEREO_MODE_HORIZONTAL_INTERLACED,
  620. WKS_API_STEREO_MODE_SIDE_FIELD,
  621. WKS_API_STEREO_MODE_SUB_FIELD,
  622. WKS_API_STEREO_MODE_CHECKERBOARD,
  623. WKS_API_STEREO_MODE_INVERSE_CHECKERBOARD,
  624. WKS_API_STEREO_MODE_TRIDELITY_SL,
  625. WKS_API_STEREO_MODE_TRIDELITY_MV,
  626. WKS_API_STEREO_MODE_SEEFRONT,
  627. WKS_API_STEREO_MODE_STEREO_MIRROR,
  628. WKS_API_STEREO_MODE_FRAME_SEQUENTIAL,
  629. WKS_API_STEREO_MODE_AUTODETECT_PASSIVE_MODE,
  630. WKS_API_STEREO_MODE_AEGIS_DT_FRAME_SEQUENTIAL,
  631. WKS_API_STEREO_MODE_OEM_EMITTER_FRAME_SEQUENTIAL,
  632. WKS_API_STEREO_MODE_USE_HW_DEFAULT,
  633. WKS_API_STEREO_MODE_DEFAULT_GL,
  634. };
  635. EValues_WKS_MEMORY_ALLOCATION_POLICY g_valuesWKS_MEMORY_ALLOCATION_POLICY[WKS_MEMORY_ALLOCATION_POLICY_NUM_VALUES] =
  636. {
  637. WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED,
  638. WKS_MEMORY_ALLOCATION_POLICY_MODERATE_PRE_ALLOCATION,
  639. WKS_MEMORY_ALLOCATION_POLICY_AGGRESSIVE_PRE_ALLOCATION,
  640. };
  641. EValues_WKS_STEREO_DONGLE_SUPPORT g_valuesWKS_STEREO_DONGLE_SUPPORT[WKS_STEREO_DONGLE_SUPPORT_NUM_VALUES] =
  642. {
  643. WKS_STEREO_DONGLE_SUPPORT_OFF,
  644. WKS_STEREO_DONGLE_SUPPORT_DAC,
  645. WKS_STEREO_DONGLE_SUPPORT_DLP,
  646. };
  647. EValues_WKS_STEREO_SUPPORT g_valuesWKS_STEREO_SUPPORT[WKS_STEREO_SUPPORT_NUM_VALUES] =
  648. {
  649. WKS_STEREO_SUPPORT_OFF,
  650. WKS_STEREO_SUPPORT_ON,
  651. };
  652. EValues_WKS_STEREO_SWAP_MODE g_valuesWKS_STEREO_SWAP_MODE[WKS_STEREO_SWAP_MODE_NUM_VALUES] =
  653. {
  654. WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL,
  655. WKS_STEREO_SWAP_MODE_PER_EYE,
  656. WKS_STEREO_SWAP_MODE_PER_EYE_PAIR,
  657. WKS_STEREO_SWAP_MODE_LEGACY_BEHAVIOR,
  658. };
  659. EValues_AO_MODE g_valuesAO_MODE[AO_MODE_NUM_VALUES] =
  660. {
  661. AO_MODE_OFF,
  662. AO_MODE_LOW,
  663. AO_MODE_MEDIUM,
  664. AO_MODE_HIGH,
  665. };
  666. EValues_AO_MODE_ACTIVE g_valuesAO_MODE_ACTIVE[AO_MODE_ACTIVE_NUM_VALUES] =
  667. {
  668. AO_MODE_ACTIVE_DISABLED,
  669. AO_MODE_ACTIVE_ENABLED,
  670. };
  671. EValues_AUTO_LODBIASADJUST g_valuesAUTO_LODBIASADJUST[AUTO_LODBIASADJUST_NUM_VALUES] =
  672. {
  673. AUTO_LODBIASADJUST_OFF,
  674. AUTO_LODBIASADJUST_ON,
  675. };
  676. EValues_LODBIASADJUST g_valuesLODBIASADJUST[LODBIASADJUST_NUM_VALUES] =
  677. {
  678. LODBIASADJUST_MIN,
  679. LODBIASADJUST_MAX,
  680. };
  681. EValues_MAXWELL_B_SAMPLE_INTERLEAVE g_valuesMAXWELL_B_SAMPLE_INTERLEAVE[MAXWELL_B_SAMPLE_INTERLEAVE_NUM_VALUES] =
  682. {
  683. MAXWELL_B_SAMPLE_INTERLEAVE_OFF,
  684. MAXWELL_B_SAMPLE_INTERLEAVE_ON,
  685. };
  686. EValues_NLS_ALLOW g_valuesNLS_ALLOW[NLS_ALLOW_NUM_VALUES] =
  687. {
  688. NLS_ALLOW_DISALLOWED,
  689. NLS_ALLOW_ALLOWED,
  690. };
  691. EValues_NLS_ENABLE g_valuesNLS_ENABLE[NLS_ENABLE_NUM_VALUES] =
  692. {
  693. NLS_ENABLE_OFF,
  694. NLS_ENABLE_ON,
  695. };
  696. EValues_PRERENDERLIMIT g_valuesPRERENDERLIMIT[PRERENDERLIMIT_NUM_VALUES] =
  697. {
  698. PRERENDERLIMIT_MIN,
  699. PRERENDERLIMIT_MAX,
  700. PRERENDERLIMIT_APP_CONTROLLED,
  701. };
  702. EValues_PS_SHADERDISKCACHE g_valuesPS_SHADERDISKCACHE[PS_SHADERDISKCACHE_NUM_VALUES] =
  703. {
  704. PS_SHADERDISKCACHE_OFF,
  705. PS_SHADERDISKCACHE_ON,
  706. };
  707. EValues_PS_TEXFILTER_ANISO_OPTS2 g_valuesPS_TEXFILTER_ANISO_OPTS2[PS_TEXFILTER_ANISO_OPTS2_NUM_VALUES] =
  708. {
  709. PS_TEXFILTER_ANISO_OPTS2_OFF,
  710. PS_TEXFILTER_ANISO_OPTS2_ON,
  711. };
  712. EValues_PS_TEXFILTER_BILINEAR_IN_ANISO g_valuesPS_TEXFILTER_BILINEAR_IN_ANISO[PS_TEXFILTER_BILINEAR_IN_ANISO_NUM_VALUES] =
  713. {
  714. PS_TEXFILTER_BILINEAR_IN_ANISO_OFF,
  715. PS_TEXFILTER_BILINEAR_IN_ANISO_ON,
  716. };
  717. EValues_PS_TEXFILTER_DISABLE_TRILIN_SLOPE g_valuesPS_TEXFILTER_DISABLE_TRILIN_SLOPE[PS_TEXFILTER_DISABLE_TRILIN_SLOPE_NUM_VALUES] =
  718. {
  719. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF,
  720. PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ON,
  721. };
  722. EValues_PS_TEXFILTER_NO_NEG_LODBIAS g_valuesPS_TEXFILTER_NO_NEG_LODBIAS[PS_TEXFILTER_NO_NEG_LODBIAS_NUM_VALUES] =
  723. {
  724. PS_TEXFILTER_NO_NEG_LODBIAS_OFF,
  725. PS_TEXFILTER_NO_NEG_LODBIAS_ON,
  726. };
  727. EValues_QUALITY_ENHANCEMENTS g_valuesQUALITY_ENHANCEMENTS[QUALITY_ENHANCEMENTS_NUM_VALUES] =
  728. {
  729. QUALITY_ENHANCEMENTS_HIGHQUALITY,
  730. QUALITY_ENHANCEMENTS_QUALITY,
  731. QUALITY_ENHANCEMENTS_PERFORMANCE,
  732. QUALITY_ENHANCEMENTS_HIGHPERFORMANCE,
  733. };
  734. EValues_REFRESH_RATE_OVERRIDE g_valuesREFRESH_RATE_OVERRIDE[REFRESH_RATE_OVERRIDE_NUM_VALUES] =
  735. {
  736. REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED,
  737. REFRESH_RATE_OVERRIDE_HIGHEST_AVAILABLE,
  738. REFRESH_RATE_OVERRIDE_LOW_LATENCY_RR_MASK,
  739. };
  740. EValues_SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE g_valuesSET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE[SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_NUM_VALUES] =
  741. {
  742. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF,
  743. SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ON,
  744. };
  745. EValues_SET_VAB_DATA g_valuesSET_VAB_DATA[SET_VAB_DATA_NUM_VALUES] =
  746. {
  747. SET_VAB_DATA_ZERO,
  748. SET_VAB_DATA_UINT_ONE,
  749. SET_VAB_DATA_FLOAT_ONE,
  750. SET_VAB_DATA_FLOAT_POS_INF,
  751. SET_VAB_DATA_FLOAT_NAN,
  752. SET_VAB_DATA_USE_API_DEFAULTS,
  753. };
  754. EValues_VSYNCMODE g_valuesVSYNCMODE[VSYNCMODE_NUM_VALUES] =
  755. {
  756. VSYNCMODE_PASSIVE,
  757. VSYNCMODE_FORCEOFF,
  758. VSYNCMODE_FORCEON,
  759. VSYNCMODE_FLIPINTERVAL2,
  760. VSYNCMODE_FLIPINTERVAL3,
  761. VSYNCMODE_FLIPINTERVAL4,
  762. };
  763. EValues_VSYNCTEARCONTROL g_valuesVSYNCTEARCONTROL[VSYNCTEARCONTROL_NUM_VALUES] =
  764. {
  765. VSYNCTEARCONTROL_DISABLE,
  766. VSYNCTEARCONTROL_ENABLE,
  767. };
  768. SettingDWORDNameString mapSettingDWORD[TOTAL_DWORD_SETTING_NUM] =
  769. {
  770. {OGL_AA_LINE_GAMMA_ID, OGL_AA_LINE_GAMMA_STRING, 4, (NvU32 *)g_valuesOGL_AA_LINE_GAMMA, OGL_AA_LINE_GAMMA_DISABLED},
  771. {OGL_DEEP_COLOR_SCANOUT_ID, OGL_DEEP_COLOR_SCANOUT_STRING, 2, (NvU32 *)g_valuesOGL_DEEP_COLOR_SCANOUT, OGL_DEEP_COLOR_SCANOUT_ENABLE},
  772. {OGL_DEFAULT_SWAP_INTERVAL_ID, OGL_DEFAULT_SWAP_INTERVAL_STRING, 9, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL, OGL_DEFAULT_SWAP_INTERVAL_VSYNC_ONE},
  773. {OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_ID, OGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL_STRING, 2, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL_FRACTIONAL, 0x00000000},
  774. {OGL_DEFAULT_SWAP_INTERVAL_SIGN_ID, OGL_DEFAULT_SWAP_INTERVAL_SIGN_STRING, 2, (NvU32 *)g_valuesOGL_DEFAULT_SWAP_INTERVAL_SIGN, OGL_DEFAULT_SWAP_INTERVAL_SIGN_POSITIVE},
  775. {OGL_EVENT_LOG_SEVERITY_THRESHOLD_ID, OGL_EVENT_LOG_SEVERITY_THRESHOLD_STRING, 5, (NvU32 *)g_valuesOGL_EVENT_LOG_SEVERITY_THRESHOLD, OGL_EVENT_LOG_SEVERITY_THRESHOLD_ALL},
  776. {OGL_EXTENSION_STRING_VERSION_ID, OGL_EXTENSION_STRING_VERSION_STRING, 0, NULL, 0x00000000},
  777. {OGL_FORCE_BLIT_ID, OGL_FORCE_BLIT_STRING, 2, (NvU32 *)g_valuesOGL_FORCE_BLIT, OGL_FORCE_BLIT_OFF},
  778. {OGL_FORCE_STEREO_ID, OGL_FORCE_STEREO_STRING, 2, (NvU32 *)g_valuesOGL_FORCE_STEREO, OGL_FORCE_STEREO_OFF},
  779. {OGL_MAX_FRAMES_ALLOWED_ID, OGL_MAX_FRAMES_ALLOWED_STRING, 0, NULL, 0x00000002},
  780. {OGL_MULTIMON_ID, OGL_MULTIMON_STRING, 8, (NvU32 *)g_valuesOGL_MULTIMON, OGL_MULTIMON_PERFORMANCE_LCD},
  781. {OGL_OVERLAY_PIXEL_TYPE_ID, OGL_OVERLAY_PIXEL_TYPE_STRING, 4, (NvU32 *)g_valuesOGL_OVERLAY_PIXEL_TYPE, OGL_OVERLAY_PIXEL_TYPE_CI},
  782. {OGL_OVERLAY_SUPPORT_ID, OGL_OVERLAY_SUPPORT_STRING, 3, (NvU32 *)g_valuesOGL_OVERLAY_SUPPORT, OGL_OVERLAY_SUPPORT_OFF},
  783. {OGL_QUALITY_ENHANCEMENTS_ID, OGL_QUALITY_ENHANCEMENTS_STRING, 4, (NvU32 *)g_valuesOGL_QUALITY_ENHANCEMENTS, OGL_QUALITY_ENHANCEMENTS_QUAL},
  784. {OGL_SINGLE_BACKDEPTH_BUFFER_ID, OGL_SINGLE_BACKDEPTH_BUFFER_STRING, 3, (NvU32 *)g_valuesOGL_SINGLE_BACKDEPTH_BUFFER, OGL_SINGLE_BACKDEPTH_BUFFER_DISABLE},
  785. {OGL_SLI_MULTICAST_ID, OGL_SLI_MULTICAST_STRING, 3, (NvU32 *)g_valuesOGL_SLI_MULTICAST, OGL_SLI_MULTICAST_DISABLE},
  786. {OGL_THREAD_CONTROL_ID, OGL_THREAD_CONTROL_STRING, 2, (NvU32 *)g_valuesOGL_THREAD_CONTROL, 0x00000000},
  787. {OGL_TRIPLE_BUFFER_ID, OGL_TRIPLE_BUFFER_STRING, 2, (NvU32 *)g_valuesOGL_TRIPLE_BUFFER, OGL_TRIPLE_BUFFER_DISABLED},
  788. {OGL_VIDEO_EDITING_MODE_ID, OGL_VIDEO_EDITING_MODE_STRING, 2, (NvU32 *)g_valuesOGL_VIDEO_EDITING_MODE, OGL_VIDEO_EDITING_MODE_DISABLE},
  789. {AA_BEHAVIOR_FLAGS_ID, AA_BEHAVIOR_FLAGS_STRING, 18, (NvU32 *)g_valuesAA_BEHAVIOR_FLAGS, AA_BEHAVIOR_FLAGS_DEFAULT},
  790. {AA_MODE_ALPHATOCOVERAGE_ID, AA_MODE_ALPHATOCOVERAGE_STRING, 4, (NvU32 *)g_valuesAA_MODE_ALPHATOCOVERAGE, 0x00000000},
  791. {AA_MODE_GAMMACORRECTION_ID, AA_MODE_GAMMACORRECTION_STRING, 8, (NvU32 *)g_valuesAA_MODE_GAMMACORRECTION, 0x00000000},
  792. {AA_MODE_METHOD_ID, AA_MODE_METHOD_STRING, 50, (NvU32 *)g_valuesAA_MODE_METHOD, AA_MODE_METHOD_NONE},
  793. {AA_MODE_REPLAY_ID, AA_MODE_REPLAY_STRING, 20, (NvU32 *)g_valuesAA_MODE_REPLAY, 0x00000000},
  794. {AA_MODE_SELECTOR_ID, AA_MODE_SELECTOR_STRING, 5, (NvU32 *)g_valuesAA_MODE_SELECTOR, AA_MODE_SELECTOR_APP_CONTROL},
  795. {AA_MODE_SELECTOR_SLIAA_ID, AA_MODE_SELECTOR_SLIAA_STRING, 2, (NvU32 *)g_valuesAA_MODE_SELECTOR_SLIAA, AA_MODE_SELECTOR_SLIAA_DISABLED},
  796. {ANISO_MODE_LEVEL_ID, ANISO_MODE_LEVEL_STRING, 5, (NvU32 *)g_valuesANISO_MODE_LEVEL, ANISO_MODE_LEVEL_DEFAULT},
  797. {ANISO_MODE_SELECTOR_ID, ANISO_MODE_SELECTOR_STRING, 6, (NvU32 *)g_valuesANISO_MODE_SELECTOR, ANISO_MODE_SELECTOR_DEFAULT},
  798. {APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_ID, APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_STRING, 6, (NvU32 *)g_valuesAPPLICATION_PROFILE_NOTIFICATION_TIMEOUT, APPLICATION_PROFILE_NOTIFICATION_TIMEOUT_DISABLED},
  799. {APPLICATION_STEAM_ID_ID, APPLICATION_STEAM_ID_STRING, 0, NULL, 0x00000000},
  800. {CPL_HIDDEN_PROFILE_ID, CPL_HIDDEN_PROFILE_STRING, 2, (NvU32 *)g_valuesCPL_HIDDEN_PROFILE, CPL_HIDDEN_PROFILE_DISABLED},
  801. {EXPORT_PERF_COUNTERS_ID, EXPORT_PERF_COUNTERS_STRING, 2, (NvU32 *)g_valuesEXPORT_PERF_COUNTERS, EXPORT_PERF_COUNTERS_OFF},
  802. {FXAA_ALLOW_ID, FXAA_ALLOW_STRING, 2, (NvU32 *)g_valuesFXAA_ALLOW, FXAA_ALLOW_ALLOWED},
  803. {FXAA_ENABLE_ID, FXAA_ENABLE_STRING, 2, (NvU32 *)g_valuesFXAA_ENABLE, FXAA_ENABLE_OFF},
  804. {FXAA_INDICATOR_ENABLE_ID, FXAA_INDICATOR_ENABLE_STRING, 2, (NvU32 *)g_valuesFXAA_INDICATOR_ENABLE, FXAA_INDICATOR_ENABLE_OFF},
  805. {MCSFRSHOWSPLIT_ID, MCSFRSHOWSPLIT_STRING, 2, (NvU32 *)g_valuesMCSFRSHOWSPLIT, MCSFRSHOWSPLIT_DISABLED},
  806. {NV_QUALITY_UPSCALING_ID, NV_QUALITY_UPSCALING_STRING, 2, (NvU32 *)g_valuesNV_QUALITY_UPSCALING, NV_QUALITY_UPSCALING_OFF},
  807. {OPTIMUS_MAXAA_ID, OPTIMUS_MAXAA_STRING, 2, (NvU32 *)g_valuesOPTIMUS_MAXAA, 0x00000000},
  808. {PHYSXINDICATOR_ID, PHYSXINDICATOR_STRING, 2, (NvU32 *)g_valuesPHYSXINDICATOR, PHYSXINDICATOR_DISABLED},
  809. {PREFERRED_PSTATE_ID, PREFERRED_PSTATE_STRING, 7, (NvU32 *)g_valuesPREFERRED_PSTATE, PREFERRED_PSTATE_ADAPTIVE},
  810. {PREVENT_UI_AF_OVERRIDE_ID, PREVENT_UI_AF_OVERRIDE_STRING, 2, (NvU32 *)g_valuesPREVENT_UI_AF_OVERRIDE, PREVENT_UI_AF_OVERRIDE_OFF},
  811. {PS_FRAMERATE_LIMITER_ID, PS_FRAMERATE_LIMITER_STRING, 21, (NvU32 *)g_valuesPS_FRAMERATE_LIMITER, PS_FRAMERATE_LIMITER_DISABLED},
  812. {PS_FRAMERATE_LIMITER_2_CONTROL_ID, PS_FRAMERATE_LIMITER_2_CONTROL_STRING, 7, (NvU32 *)g_valuesPS_FRAMERATE_LIMITER_2_CONTROL, PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_CE},
  813. {PS_FRAMERATE_LIMITER_GPS_CTRL_ID, PS_FRAMERATE_LIMITER_GPS_CTRL_STRING, 11, (NvU32 *)g_valuesPS_FRAMERATE_LIMITER_GPS_CTRL, PS_FRAMERATE_LIMITER_GPS_CTRL_DISABLED},
  814. {PS_FRAMERATE_MONITOR_CTRL_ID, PS_FRAMERATE_MONITOR_CTRL_STRING, 14, (NvU32 *)g_valuesPS_FRAMERATE_MONITOR_CTRL, PS_FRAMERATE_MONITOR_CTRL_DISABLED},
  815. {SHIM_MAXRES_ID, SHIM_MAXRES_STRING, 0, NULL, 0x00000000},
  816. {SHIM_MCCOMPAT_ID, SHIM_MCCOMPAT_STRING, 8, (NvU32 *)g_valuesSHIM_MCCOMPAT, SHIM_MCCOMPAT_AUTO_SELECT},
  817. {SHIM_RENDERING_MODE_ID, SHIM_RENDERING_MODE_STRING, 8, (NvU32 *)g_valuesSHIM_RENDERING_MODE, SHIM_RENDERING_MODE_AUTO_SELECT},
  818. {SHIM_RENDERING_OPTIONS_ID, SHIM_RENDERING_OPTIONS_STRING, 24, (NvU32 *)g_valuesSHIM_RENDERING_OPTIONS, SHIM_RENDERING_OPTIONS_DEFAULT_RENDERING_MODE},
  819. {SLI_GPU_COUNT_ID, SLI_GPU_COUNT_STRING, 5, (NvU32 *)g_valuesSLI_GPU_COUNT, SLI_GPU_COUNT_AUTOSELECT},
  820. {SLI_PREDEFINED_GPU_COUNT_ID, SLI_PREDEFINED_GPU_COUNT_STRING, 5, (NvU32 *)g_valuesSLI_PREDEFINED_GPU_COUNT, SLI_PREDEFINED_GPU_COUNT_AUTOSELECT},
  821. {SLI_PREDEFINED_GPU_COUNT_DX10_ID, SLI_PREDEFINED_GPU_COUNT_DX10_STRING, 5, (NvU32 *)g_valuesSLI_PREDEFINED_GPU_COUNT_DX10, SLI_PREDEFINED_GPU_COUNT_DX10_AUTOSELECT},
  822. {SLI_PREDEFINED_MODE_ID, SLI_PREDEFINED_MODE_STRING, 6, (NvU32 *)g_valuesSLI_PREDEFINED_MODE, SLI_PREDEFINED_MODE_AUTOSELECT},
  823. {SLI_PREDEFINED_MODE_DX10_ID, SLI_PREDEFINED_MODE_DX10_STRING, 6, (NvU32 *)g_valuesSLI_PREDEFINED_MODE_DX10, SLI_PREDEFINED_MODE_DX10_AUTOSELECT},
  824. {SLI_RENDERING_MODE_ID, SLI_RENDERING_MODE_STRING, 6, (NvU32 *)g_valuesSLI_RENDERING_MODE, SLI_RENDERING_MODE_AUTOSELECT},
  825. {VRPRERENDERLIMIT_ID, VRPRERENDERLIMIT_STRING, 4, (NvU32 *)g_valuesVRPRERENDERLIMIT, VRPRERENDERLIMIT_DEFAULT},
  826. {VRRFEATUREINDICATOR_ID, VRRFEATUREINDICATOR_STRING, 2, (NvU32 *)g_valuesVRRFEATUREINDICATOR, VRRFEATUREINDICATOR_ENABLED},
  827. {VRROVERLAYINDICATOR_ID, VRROVERLAYINDICATOR_STRING, 2, (NvU32 *)g_valuesVRROVERLAYINDICATOR, VRROVERLAYINDICATOR_ENABLED},
  828. {VRRREQUESTSTATE_ID, VRRREQUESTSTATE_STRING, 3, (NvU32 *)g_valuesVRRREQUESTSTATE, VRRREQUESTSTATE_FULLSCREEN_ONLY},
  829. {VRR_APP_OVERRIDE_ID, VRR_APP_OVERRIDE_STRING, 5, (NvU32 *)g_valuesVRR_APP_OVERRIDE, VRR_APP_OVERRIDE_ALLOW},
  830. {VRR_APP_OVERRIDE_REQUEST_STATE_ID, VRR_APP_OVERRIDE_REQUEST_STATE_STRING, 5, (NvU32 *)g_valuesVRR_APP_OVERRIDE_REQUEST_STATE, VRR_APP_OVERRIDE_REQUEST_STATE_ALLOW},
  831. {VRR_MODE_ID, VRR_MODE_STRING, 3, (NvU32 *)g_valuesVRR_MODE, VRR_MODE_FULLSCREEN_ONLY},
  832. {VSYNCSMOOTHAFR_ID, VSYNCSMOOTHAFR_STRING, 2, (NvU32 *)g_valuesVSYNCSMOOTHAFR, VSYNCSMOOTHAFR_OFF},
  833. {VSYNCVRRCONTROL_ID, VSYNCVRRCONTROL_STRING, 3, (NvU32 *)g_valuesVSYNCVRRCONTROL, VSYNCVRRCONTROL_ENABLE},
  834. {VSYNC_BEHAVIOR_FLAGS_ID, VSYNC_BEHAVIOR_FLAGS_STRING, 3, (NvU32 *)g_valuesVSYNC_BEHAVIOR_FLAGS, VSYNC_BEHAVIOR_FLAGS_DEFAULT},
  835. {WKS_API_STEREO_EYES_EXCHANGE_ID, WKS_API_STEREO_EYES_EXCHANGE_STRING, 2, (NvU32 *)g_valuesWKS_API_STEREO_EYES_EXCHANGE, WKS_API_STEREO_EYES_EXCHANGE_OFF},
  836. {WKS_API_STEREO_MODE_ID, WKS_API_STEREO_MODE_STRING, 24, (NvU32 *)g_valuesWKS_API_STEREO_MODE, WKS_API_STEREO_MODE_SHUTTER_GLASSES},
  837. {WKS_MEMORY_ALLOCATION_POLICY_ID, WKS_MEMORY_ALLOCATION_POLICY_STRING, 3, (NvU32 *)g_valuesWKS_MEMORY_ALLOCATION_POLICY, WKS_MEMORY_ALLOCATION_POLICY_AS_NEEDED},
  838. {WKS_STEREO_DONGLE_SUPPORT_ID, WKS_STEREO_DONGLE_SUPPORT_STRING, 3, (NvU32 *)g_valuesWKS_STEREO_DONGLE_SUPPORT, WKS_STEREO_DONGLE_SUPPORT_OFF},
  839. {WKS_STEREO_SUPPORT_ID, WKS_STEREO_SUPPORT_STRING, 2, (NvU32 *)g_valuesWKS_STEREO_SUPPORT, WKS_STEREO_SUPPORT_OFF},
  840. {WKS_STEREO_SWAP_MODE_ID, WKS_STEREO_SWAP_MODE_STRING, 4, (NvU32 *)g_valuesWKS_STEREO_SWAP_MODE, WKS_STEREO_SWAP_MODE_APPLICATION_CONTROL},
  841. {AO_MODE_ID, AO_MODE_STRING, 4, (NvU32 *)g_valuesAO_MODE, AO_MODE_OFF},
  842. {AO_MODE_ACTIVE_ID, AO_MODE_ACTIVE_STRING, 2, (NvU32 *)g_valuesAO_MODE_ACTIVE, AO_MODE_ACTIVE_DISABLED},
  843. {AUTO_LODBIASADJUST_ID, AUTO_LODBIASADJUST_STRING, 2, (NvU32 *)g_valuesAUTO_LODBIASADJUST, AUTO_LODBIASADJUST_ON},
  844. {LODBIASADJUST_ID, LODBIASADJUST_STRING, 2, (NvU32 *)g_valuesLODBIASADJUST, 0x00000000},
  845. {MAXWELL_B_SAMPLE_INTERLEAVE_ID, MAXWELL_B_SAMPLE_INTERLEAVE_STRING, 2, (NvU32 *)g_valuesMAXWELL_B_SAMPLE_INTERLEAVE, MAXWELL_B_SAMPLE_INTERLEAVE_OFF},
  846. {NLS_ALLOW_ID, NLS_ALLOW_STRING, 2, (NvU32 *)g_valuesNLS_ALLOW, NLS_ALLOW_ALLOWED},
  847. {NLS_ENABLE_ID, NLS_ENABLE_STRING, 2, (NvU32 *)g_valuesNLS_ENABLE, NLS_ENABLE_OFF},
  848. {PRERENDERLIMIT_ID, PRERENDERLIMIT_STRING, 3, (NvU32 *)g_valuesPRERENDERLIMIT, PRERENDERLIMIT_APP_CONTROLLED},
  849. {PS_SHADERDISKCACHE_ID, PS_SHADERDISKCACHE_STRING, 2, (NvU32 *)g_valuesPS_SHADERDISKCACHE, 0x00000000},
  850. {PS_TEXFILTER_ANISO_OPTS2_ID, PS_TEXFILTER_ANISO_OPTS2_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_ANISO_OPTS2, PS_TEXFILTER_ANISO_OPTS2_OFF},
  851. {PS_TEXFILTER_BILINEAR_IN_ANISO_ID, PS_TEXFILTER_BILINEAR_IN_ANISO_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_BILINEAR_IN_ANISO, PS_TEXFILTER_BILINEAR_IN_ANISO_OFF},
  852. {PS_TEXFILTER_DISABLE_TRILIN_SLOPE_ID, PS_TEXFILTER_DISABLE_TRILIN_SLOPE_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_DISABLE_TRILIN_SLOPE, PS_TEXFILTER_DISABLE_TRILIN_SLOPE_OFF},
  853. {PS_TEXFILTER_NO_NEG_LODBIAS_ID, PS_TEXFILTER_NO_NEG_LODBIAS_STRING, 2, (NvU32 *)g_valuesPS_TEXFILTER_NO_NEG_LODBIAS, PS_TEXFILTER_NO_NEG_LODBIAS_OFF},
  854. {QUALITY_ENHANCEMENTS_ID, QUALITY_ENHANCEMENTS_STRING, 4, (NvU32 *)g_valuesQUALITY_ENHANCEMENTS, QUALITY_ENHANCEMENTS_QUALITY},
  855. {REFRESH_RATE_OVERRIDE_ID, REFRESH_RATE_OVERRIDE_STRING, 3, (NvU32 *)g_valuesREFRESH_RATE_OVERRIDE, REFRESH_RATE_OVERRIDE_APPLICATION_CONTROLLED},
  856. {SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_ID, SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_STRING, 2, (NvU32 *)g_valuesSET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE, SET_POWER_THROTTLE_FOR_PCIe_COMPLIANCE_OFF},
  857. {SET_VAB_DATA_ID, SET_VAB_DATA_STRING, 6, (NvU32 *)g_valuesSET_VAB_DATA, SET_VAB_DATA_USE_API_DEFAULTS},
  858. {VSYNCMODE_ID, VSYNCMODE_STRING, 6, (NvU32 *)g_valuesVSYNCMODE, VSYNCMODE_PASSIVE},
  859. {VSYNCTEARCONTROL_ID, VSYNCTEARCONTROL_STRING, 2, (NvU32 *)g_valuesVSYNCTEARCONTROL, VSYNCTEARCONTROL_DISABLE},
  860. };
  861. SettingWSTRINGNameString mapSettingWSTRING[TOTAL_WSTRING_SETTING_NUM] =
  862. {
  863. {OGL_IMPLICIT_GPU_AFFINITY_ID, OGL_IMPLICIT_GPU_AFFINITY_STRING, 1, (const wchar_t **)g_valuesOGL_IMPLICIT_GPU_AFFINITY, L"autoselect"},
  864. {CUDA_EXCLUDED_GPUS_ID, CUDA_EXCLUDED_GPUS_STRING, 1, (const wchar_t **)g_valuesCUDA_EXCLUDED_GPUS, L"none"},
  865. {D3DOGL_GPU_MAX_POWER_ID, D3DOGL_GPU_MAX_POWER_STRING, 1, (const wchar_t **)g_valuesD3DOGL_GPU_MAX_POWER, L"0"},
  866. {ICAFE_LOGO_CONFIG_ID, ICAFE_LOGO_CONFIG_STRING, 0, NULL, L""},
  867. };