dolphin/Source/Core/VideoCommon
Pokechu22 581a575042 VertexLoader: Remove "too many initializer values" workaround functions
I originally added these in 2b1d1038a6, for both the TPipelineFunction and the size. The size was moved into the header in fdcd2b7d00 (making the size functions obsolete), but it seems that the functions themselves are no longer needed now.

I think I didn't use this approach before because it would have required ComponentFormatTable and ComponentCountRow to be templated, which would end up resulting in lines that were too long and thus wrapped in awkward places. (I *think* they didn't get inferred properly.) Now that we only need TPipelineFunction, the templating is not needed, and this ends up being a more readable version of the version with the wrapper functions.
2022-10-25 15:29:09 -07:00
..
GraphicsModSystem VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead 2022-10-09 00:00:01 -05: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 VideoCommon: Add separate pipeline usage for UberShaders 2022-09-19 16:28:24 -05: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 Fix crashes in dual core mode on a PI_FIFO_RESET 2022-08-18 13:38:37 -07:00
AsyncRequests.h Fix crashes in dual core mode on a PI_FIFO_RESET 2022-08-18 13:38:37 -07:00
AsyncShaderCompiler.cpp Allow to interrupt shader precompilation by stopping emulation 2022-06-10 17:11:32 +02:00
AsyncShaderCompiler.h Allow to interrupt shader precompilation by stopping emulation 2022-06-10 17:11:32 +02:00
BoundingBox.cpp Common: Refactor PointerWrap 2022-05-25 13:06:41 -07: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 Resolve GCC Warnings 2022-06-30 15:26:48 -05:00
BPMemory.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
BPMemory.h Fifo analyzer: Improve some BP descriptions 2022-08-29 11:10:05 -07:00
BPStructs.cpp VideoCommon: Update EFB peek cache on draw done and tokens 2022-10-01 18:08:38 +02:00
BPStructs.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CMakeLists.txt VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead 2022-10-09 00:00:01 -05:00
CommandProcessor.cpp Common/PointerWrap: Remove DoPOD 2022-10-06 11:25:36 -07:00
CommandProcessor.h CommandProcessor: Remove redundant GATHER_PIPE_SIZE constant 2022-02-12 16:17:03 -08:00
ConstantManager.h VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
CPMemory.cpp Simplify saving CP state 2022-10-09 19:32:59 -07:00
CPMemory.h Simplify saving CP state 2022-10-09 19:32:59 -07:00
DataReader.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DriverDetails.cpp VideoBackends:Multiple: More GPUs with broken subgroup ops 2022-10-08 04:44:48 -05:00
DriverDetails.h VideoBackends:Multiple: More GPUs with broken subgroup ops 2022-10-08 04:44:48 -05:00
Fifo.cpp VideoCommon: Update EFB peek cache on draw done and tokens 2022-10-01 18:08:38 +02:00
Fifo.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FPSCounter.cpp Common::Timer: use chrono::steady_clock internally 2022-08-02 22:24:06 -07:00
FPSCounter.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FramebufferManager.cpp VideoCommon: Update EFB peek cache on draw done and tokens 2022-10-01 18:08:38 +02:00
FramebufferManager.h VideoCommon: Update EFB peek cache on draw done and tokens 2022-10-01 18:08:38 +02:00
FramebufferShaderGen.cpp VideoBackends:Metal: MSAA support 2022-07-21 20:44:19 -05:00
FramebufferShaderGen.h VideoBackends:Metal: MSAA support 2022-07-21 20:44:19 -05:00
FrameDump.cpp Common: Refactor PointerWrap 2022-05-25 13:06:41 -07:00
FrameDump.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
FreeLookCamera.cpp Common: Refactor PointerWrap 2022-05-25 13:06:41 -07: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 VideoCommon: Move repeated point/line expansion code to ShaderGenCommon 2022-10-22 20:13:24 -05:00
GeometryShaderGen.h Fix ambiguous uses of format_to 2022-01-13 11:11:08 -08:00
GeometryShaderManager.cpp VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
GeometryShaderManager.h VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
GXPipelineTypes.h VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
HiresTextures.cpp Timer: protect usages of ms timers from rollover 2022-08-02 22:24:06 -07:00
HiresTextures.h VideoCommon: trigger mod calls in TextureCacheBase (efb/xfb calls), VertexManagerBase (draw calls), and VertexShaderManager (projection calls) 2022-06-27 18:20:52 -05:00
HiresTextures_DDSLoader.cpp IOFile: Make origin parameter to Seek() an enum class. 2022-01-29 06:49:21 +01:00
IndexGenerator.cpp VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
IndexGenerator.h VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05: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: Use std::array in PortableVertexDeclaration 2022-09-19 16:28:24 -05: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 Timer: protect usages of ms timers from rollover 2022-08-02 22:24:06 -07:00
OnScreenDisplay.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
OpcodeDecoding.cpp OpcodeDecoding: Get vertex size from the loader 2022-09-19 01:14:53 +02:00
OpcodeDecoding.h OpcodeDecoding: Get vertex size from the loader 2022-09-19 01:14:53 +02: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 Common/PointerWrap: Remove DoPOD 2022-10-06 11:25:36 -07:00
PixelEngine.h PixelEngine: Convert to BitField and enum class 2022-03-29 15:34:43 -07:00
PixelShaderGen.cpp Merge pull request #10836 from iwubcode/d3d_uint_fix 2022-10-18 12:12:08 -04:00
PixelShaderGen.h BPMemory: Make TevKSel more clear 2022-08-29 11:10:05 -07:00
PixelShaderManager.cpp VideoCommon: Better driver bug handling 2022-07-13 21:51:24 -05:00
PixelShaderManager.h VideoCommon: Expose SamplerState to shaders 2021-11-17 20:04:34 -08:00
PostProcessing.cpp Common::Timer: use chrono::steady_clock internally 2022-08-02 22:24:06 -07:00
PostProcessing.h VideoCommon: Convert OptionType to enum class 2022-02-17 10:03:08 -08:00
RenderBase.cpp VideoCommon: Support hot reloading of VS expand 2022-10-22 20:18:02 -05:00
RenderBase.h VideoBackends: Add Metal renderer 2022-07-21 20:44:19 -05:00
RenderState.cpp VideoCommon: Fix IsDualSrc check for dst blend factors 2022-07-17 20:50:53 -05:00
RenderState.h VideoCommon: Remove dstalpha from BlendingState 2022-07-15 15:31:47 -05:00
sfont.inc Use fmt::to_string for texture format overlay 2022-07-15 12:29:40 -07:00
ShaderCache.cpp VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
ShaderCache.h VideoCommon: Add separate pipeline usage for UberShaders 2022-09-19 16:28:24 -05:00
ShaderGenCommon.cpp VideoCommon: Move repeated point/line expansion code to ShaderGenCommon 2022-10-22 20:13:24 -05:00
ShaderGenCommon.h VideoCommon: Move repeated point/line expansion code to ShaderGenCommon 2022-10-22 20:13:24 -05:00
Spirv.cpp Merge pull request #10946 from Pokechu22/remove-iLog 2022-08-05 22:42:09 +12:00
Spirv.h VideoBackends / VideoCommon: refactor Vulkan to use new SPIRV functionality 2022-06-24 18:09:53 -05:00
Statistics.cpp VideoCommon: Add statistics for draw done and token commands 2022-09-26 16:19:54 -07:00
Statistics.h VideoCommon: Add statistics for draw done and token commands 2022-09-26 16:19:54 -07:00
TextureCacheBase.cpp VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead 2022-10-09 00:00:01 -05:00
TextureCacheBase.h Restructure parameters to TetxureConverterShaderGen/TextureConversionShader 2022-07-16 00:07:10 -07: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 VideoCommon: Fix OpenGL ES GPU texture decoding 2022-08-20 23:21:23 +02:00
TextureConversionShader.h VideoCommon: Reduce duplicates of non-palette-requiring texture decode shaders 2022-06-16 02:08:45 -05:00
TextureConverterShaderGen.cpp Fix OpenGL error on M1 Mac. 2022-07-17 08:54:39 -04:00
TextureConverterShaderGen.h Restructure parameters to TetxureConverterShaderGen/TextureConversionShader 2022-07-16 00:07:10 -07:00
TextureDecoder.h VideoCommon: add function to check whether TextureFormat is a valid value 2022-06-26 00:45:13 -05:00
TextureDecoder_Common.cpp Add notes about precision of YUV->RGB conversion factors for XFB 2022-07-16 00:07:10 -07: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 Remove casts to integers for texture and EFB formats 2022-07-15 12:29:40 -07:00
TextureInfo.cpp TextureInfo: Reorder members in constructor 2022-08-29 21:16:21 +01:00
TextureInfo.h VideoCommon: add support for setting and getting the stage from the texture info 2022-06-26 00:45:13 -05: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 D3D / VideoCommon: generate HLSL from SPIRV 2022-06-24 18:09:53 -05:00
UberShaderCommon.h VideoCommon: Allow BitfieldExtract in specialized shaders 2021-11-17 20:04:33 -08:00
UberShaderPixel.cpp Merge pull request #10836 from iwubcode/d3d_uint_fix 2022-10-18 12:12:08 -04:00
UberShaderPixel.h VideoCommon: Better driver bug handling 2022-07-13 21:51:24 -05:00
UberShaderVertex.cpp VideoCommon: Move repeated point/line expansion code to ShaderGenCommon 2022-10-22 20:13:24 -05:00
UberShaderVertex.h VideoCommon: Name ubershaders 2022-06-16 02:08:45 -05:00
VertexLoader.cpp Rename CP and XF normal component count enums and update their descriptions 2022-05-18 14:43:14 -07:00
VertexLoader.h VertexLoader: Convert count register to remaining register 2022-04-22 16:54:38 -07:00
VertexLoader_Color.cpp VertexLoader: Remove "too many initializer values" workaround functions 2022-10-25 15:29:09 -07:00
VertexLoader_Color.h VertexLoader: Inline GetSize 2022-09-15 12:50:15 +02:00
VertexLoader_Normal.cpp VertexLoader: Inline GetSize 2022-09-15 12:50:15 +02:00
VertexLoader_Normal.h VertexLoader: Inline GetSize 2022-09-15 12:50:15 +02:00
VertexLoader_Position.cpp VertexLoader: Remove "too many initializer values" workaround functions 2022-10-25 15:29:09 -07:00
VertexLoader_Position.h VertexLoader: Inline GetSize 2022-09-15 12:50:15 +02:00
VertexLoader_TextCoord.cpp VertexLoader: Remove "too many initializer values" workaround functions 2022-10-25 15:29:09 -07:00
VertexLoader_TextCoord.h VertexLoader: Inline GetSize 2022-09-15 12:50:15 +02:00
VertexLoaderARM64.cpp VertexLoaderARM64: Fix direct normal+tangent+binormal with index3 set 2022-09-18 23:33:24 -07:00
VertexLoaderARM64.h VertexLoaderARM64: Fix direct normal+tangent+binormal with index3 set 2022-09-18 23:33:24 -07:00
VertexLoaderBase.cpp VertexLoader: Optimize GetVertexSize 2022-09-15 02:47:23 +02:00
VertexLoaderBase.h VertexLoader: Optimize GetVertexSize 2022-09-15 02:47:23 +02:00
VertexLoaderManager.cpp VideoCommon: Treat invalid normal count as NormalTangentBinormal 2022-10-24 22:36:43 -07:00
VertexLoaderManager.h VertexLoaderManager: Clean up and slightly speed up with templates 2022-09-19 01:14:49 +02:00
VertexLoaderUtils.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VertexLoaderX64.cpp VertexLoaderX64: Fix direct normal+tangent+binormal with index3 set 2022-09-18 23:33:23 -07:00
VertexLoaderX64.h VertexLoaderX64: Fix direct normal+tangent+binormal with index3 set 2022-09-18 23:33:23 -07:00
VertexManagerBase.cpp VideoCommon: Support hot reloading of VS expand 2022-10-22 20:18:02 -05:00
VertexManagerBase.h VideoCommon: Support hot reloading of VS expand 2022-10-22 20:18:02 -05:00
VertexShaderGen.cpp VideoCommon: Move repeated point/line expansion code to ShaderGenCommon 2022-10-22 20:13:24 -05:00
VertexShaderGen.h VideoCommon: Add vertex shader point and line expansion 2022-10-22 20:13:24 -05:00
VertexShaderManager.cpp VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead 2022-10-09 00:00:01 -05:00
VertexShaderManager.h VideoCommon: Add dynamic vertex loader to ubershaders 2022-09-19 16:28:23 -05:00
VideoBackendBase.cpp VideoCommon: Add reasons for disabled VS expand 2022-10-22 20:18:02 -05:00
VideoBackendBase.h VI: Implement post-scanout XFB output 2021-08-03 23:37:50 -04:00
VideoCommon.h Use __VA_OPT__(, ) __VA_ARGS__ instead of ##__VA_ARGS__ 2022-08-23 12:09:57 -07:00
VideoConfig.cpp Merge pull request #11028 from tellowkrinkle/MetalFixes 2022-10-24 15:22:37 -04:00
VideoConfig.h Merge pull request #11028 from tellowkrinkle/MetalFixes 2022-10-24 15:22:37 -04:00
VideoState.cpp Simplify saving CP state 2022-10-09 19:32:59 -07: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 VideoCommon: Treat invalid normal count as NormalTangentBinormal 2022-10-24 22:36:43 -07:00
XFStructs.cpp Fifo analyzer: Fix various XF mistakes 2022-08-29 11:10:05 -07:00
XFStructs.h Refactor OpcodeDecoding and FIFO analyzer to use callbacks 2021-12-18 15:21:36 -08:00