dolphin/Source/Core/VideoCommon
Pokechu22 3949698acf Verify graphics config validity after populating the backend info
... and refresh the config before populating the backend info, as the config (specifically iAdapter) needs to be set to correctly populate the backend info.

Before, the list of valid antialiasing modes was always determined from the first adapter on the list on startup, regardless of the adapter the user selected.
2022-05-16 16:59:57 -07:00
..
AbstractFramebuffer.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AbstractFramebuffer.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AbstractPipeline.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AbstractShader.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AbstractStagingTexture.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
AbstractStagingTexture.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AbstractTexture.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
AbstractTexture.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AsyncRequests.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
AsyncRequests.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
AsyncShaderCompiler.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
AsyncShaderCompiler.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
BoundingBox.cpp VideoCommon: Add missing algorithm include for std::none_of 2021-11-02 13:50:21 +01:00
BoundingBox.h VideoCommon: Abstract bounding box 2021-10-04 15:51:24 -04:00
BPFunctions.cpp VideoCommon: Rework scissor handling 2022-04-16 10:26:11 -07:00
BPFunctions.h Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
BPMemory.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
BPMemory.h fmt: fix 'ambigous overload' error 2022-05-10 19:19:52 -07:00
BPStructs.cpp VideoCommon: Rework scissor handling 2022-04-16 10:26:11 -07:00
BPStructs.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CMakeLists.txt Eliminate SamplerCommon 2021-11-17 20:04:34 -08:00
CommandProcessor.cpp CommandProcessor: Add FIFO_BP_LO/HI to directly_mapped_vars 2022-02-15 22:34:31 -08:00
CommandProcessor.h CommandProcessor: Remove redundant GATHER_PIPE_SIZE constant 2022-02-12 16:17:03 -08:00
ConstantManager.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
CPMemory.cpp Common/PointerWrap: Hide internals. 2022-04-18 03:41:14 +02:00
CPMemory.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
DataReader.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DriverDetails.cpp DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUs 2022-04-20 14:56:34 -04:00
DriverDetails.h DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUs 2022-04-20 14:56:34 -04:00
Fifo.cpp Common/PointerWrap: Hide internals. 2022-04-18 03:41:14 +02:00
Fifo.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FPSCounter.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
FPSCounter.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FramebufferManager.cpp FramebufferManager: Flush pending EFB pokes in PopulateEFBCache 2022-02-21 13:23:22 -08:00
FramebufferManager.h Make all fmt::formatter constructors constexpr 2022-01-13 11:11:08 -08:00
FramebufferShaderGen.cpp VideoCommon: Remove redundant in qualifiers 2022-03-21 22:16:25 +01:00
FramebufferShaderGen.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FrameDump.cpp Merge pull request #10571 from AdmiralCurtiss/ffmpeg-custom-pix-fmt 2022-04-09 14:19:39 -04:00
FrameDump.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
FreeLookCamera.cpp Common/PointerWrap: Hide internals. 2022-04-18 03:41:14 +02:00
FreeLookCamera.h VideoCommon: update Free Look camera's 'FieldOfView' function to 'FieldOfViewMultiplier' to better reflect usage 2021-10-08 18:17:20 -05:00
GeometryShaderGen.cpp GeometryShaderGen: Write the layer for every vertex 2022-01-22 12:16:48 -08:00
GeometryShaderGen.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
GeometryShaderManager.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
GeometryShaderManager.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GXPipelineTypes.h GXPipelineUid: remove explicit shallow copy where it's the default 2022-01-16 22:34:39 -08:00
HiresTextures.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
HiresTextures.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
HiresTextures_DDSLoader.cpp IOFile: Make origin parameter to Seek() an enum class. 2022-01-29 06:49:21 +01:00
IndexGenerator.cpp Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
IndexGenerator.h Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
LightingShaderGen.cpp VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal 2022-04-22 16:54:36 -07:00
LightingShaderGen.h LightingShaderGen: Make s_lighting_struct not inline 2021-12-22 15:17:52 -08:00
LookUpTables.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NativeVertexFormat.h VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal 2022-04-22 16:54:36 -07:00
NetPlayChatUI.cpp Externals: Update imgui to 1.85 2021-10-26 15:07:57 -07:00
NetPlayChatUI.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NetPlayGolfUI.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NetPlayGolfUI.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
OnScreenDisplay.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
OnScreenDisplay.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
OpcodeDecoding.cpp VideoCommon: Move logging/seen check for unknown opcodes into CommandProcessor 2022-01-22 22:04:15 -08:00
OpcodeDecoding.h VideoCommon: Move logging/seen check for unknown opcodes into CommandProcessor 2022-01-22 22:04:15 -08:00
PerfQueryBase.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
PerfQueryBase.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
PixelEngine.cpp PixelEngine: Convert to BitField and enum class 2022-03-29 15:34:43 -07:00
PixelEngine.h PixelEngine: Convert to BitField and enum class 2022-03-29 15:34:43 -07:00
PixelShaderGen.cpp Merge pull request #10290 from OatmealDome/m1-earlyz-bug 2022-04-24 13:30:04 -04:00
PixelShaderGen.h PixelShaderGen: Add logic ops to pixel_shader_uid_data 2021-12-06 22:36:34 -05:00
PixelShaderManager.cpp ConstantManager: Add logic ops to PixelShaderConstants 2021-11-24 17:52:26 -05:00
PixelShaderManager.h VideoCommon: Expose SamplerState to shaders 2021-11-17 20:04:34 -08:00
PostProcessing.cpp VideoCommon: Convert OptionType to enum class 2022-02-17 10:03:08 -08:00
PostProcessing.h VideoCommon: Convert OptionType to enum class 2022-02-17 10:03:08 -08:00
RenderBase.cpp Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
RenderBase.h VideoCommon: Abstract bounding box 2021-10-04 15:51:24 -04:00
RenderState.cpp RenderState: Set source and destination alpha factors in logic op workaround 2022-02-07 16:03:22 -05:00
RenderState.h VideoCommon: Expose SamplerState to shaders 2021-11-17 20:04:34 -08:00
sfont.inc treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ShaderCache.cpp IOFile: Make origin parameter to Seek() an enum class. 2022-01-29 06:49:21 +01:00
ShaderCache.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
ShaderGenCommon.cpp ShaderGenCommon: Add bit for LOD bias 2021-12-28 02:10:39 -05:00
ShaderGenCommon.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
Statistics.cpp Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
Statistics.h Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
TextureCacheBase.cpp TextureCacheBase: Don't log error while measuring state size. 2022-04-26 21:26:42 +02:00
TextureCacheBase.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
TextureConfig.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
TextureConfig.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureConversionShader.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureConversionShader.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureConverterShaderGen.cpp TextureConverterShaderGen: Add missing newline 2022-01-25 13:22:56 -08:00
TextureConverterShaderGen.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
TextureDecoder.h Make all fmt::formatter constructors constexpr 2022-01-13 11:11:08 -08:00
TextureDecoder_Common.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureDecoder_Generic.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
TextureDecoder_Util.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureDecoder_x64.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
TextureInfo.cpp Eliminate SamplerCommon::AreBpTexMode0MipmapsEnabled 2021-11-17 20:04:34 -08:00
TextureInfo.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TMEM.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
TMEM.h Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
UberShaderCommon.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
UberShaderCommon.h VideoCommon: Allow BitfieldExtract in specialized shaders 2021-11-17 20:04:33 -08:00
UberShaderPixel.cpp DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUs 2022-04-20 14:56:34 -04:00
UberShaderPixel.h UberShaderPixel: Rename ApiType to api_type 2021-08-01 15:09:20 -07:00
UberShaderVertex.cpp VideoCommon: Add comment explaining why only the first normal gets normalized 2022-04-22 16:54:38 -07:00
UberShaderVertex.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoader.cpp VertexLoader: Convert count register to remaining register 2022-04-22 16:54:38 -07:00
VertexLoader.h VertexLoader: Convert count register to remaining register 2022-04-22 16:54:38 -07:00
VertexLoader_Color.cpp VertexLoader_Color: Use Common::swap24 2021-12-18 15:21:48 -08:00
VertexLoader_Color.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoader_Normal.cpp VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexLoader_Normal.h VertexLoader: Convert to EnumMap 2021-12-18 12:51:55 -08:00
VertexLoader_Position.cpp VertexLoader: Convert count register to remaining register 2022-04-22 16:54:38 -07:00
VertexLoader_Position.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoader_TextCoord.cpp Create and use CPArray enum class 2021-12-18 12:51:56 -08:00
VertexLoader_TextCoord.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoaderARM64.cpp VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexLoaderARM64.h Create and use CPArray enum class 2021-12-18 12:51:56 -08:00
VertexLoaderBase.cpp VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal 2022-04-22 16:54:36 -07:00
VertexLoaderBase.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
VertexLoaderManager.cpp VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexLoaderManager.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexLoaderUtils.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoaderX64.cpp VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexLoaderX64.h Create and use CPArray enum class 2021-12-18 12:51:56 -08:00
VertexManagerBase.cpp VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexManagerBase.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
VertexShaderGen.cpp VideoCommon: Add comment explaining why only the first normal gets normalized 2022-04-22 16:54:38 -07:00
VertexShaderGen.h VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal 2022-04-22 16:54:36 -07:00
VertexShaderManager.cpp Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
VertexShaderManager.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VideoBackendBase.cpp Verify graphics config validity after populating the backend info 2022-05-16 16:59:57 -07:00
VideoBackendBase.h VI: Implement post-scanout XFB output 2021-08-03 23:37:50 -04:00
VideoCommon.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VideoConfig.cpp Verify graphics config validity after populating the backend info 2022-05-16 16:59:57 -07:00
VideoConfig.h Implement ImGui window for scissor rectangles 2022-04-16 12:35:00 -07:00
VideoState.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
VideoState.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
XFMemory.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
XFMemory.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
XFStructs.cpp Fix non-constexpr format strings 2022-01-13 11:11:08 -08:00
XFStructs.h Refactor OpcodeDecoding and FIFO analyzer to use callbacks 2021-12-18 15:21:36 -08:00