summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VertexManager.cpp
AgeCommit message (Collapse)Author
2021-01-27normalize common filenames in VideoBackends/VulkanShawn Hoffman
2020-12-02General: Convert PanicAlerts over to fmt equivalentLioncash
Converts lingering panic alert calls over to the fmt-capable ones.
2020-11-09Vulkan: Migrate logging over to fmtLioncash
Migrates the vulkan backend over to the fmt-capable logger.
2019-12-09Vulkan: Call VertexManagerBase initializeStenzek
2019-12-05VideoCommon/IndexGenerator: Eliminate static stateLioncash
Now that we've extracted all of the stateless functions that can be hidden, it's time to make the index generator a regular class with active data members. This can just be a member that sits within the vertex manager base class. By deglobalizing the state of the index generator we also get rid of the wonky dual-initializing that was going on within the OpenGL backend. Since the renderer is always initialized before the vertex manager, we now only call Init() once throughout the execution lifecycle.
2019-07-10VideoCommon/Statistics: Rename stats global to g_statsLioncash
Makes the global variable follow our convention of prefixing g_ on global variables to make it obvious in surrounding code that it's not a local variable.
2019-07-10VideoCommon/Statistics: Normalize statistic variable namesLioncash
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
2019-03-29Vulkan: Simplify command buffer fence trackingStenzek
2019-02-28VideoBackends: Fix GPU decoding of XFB buffersStenzek
Was using UNORM instead of UINT, resulting in invalid values.
2019-02-19Move most backend functionality to VideoCommonStenzek
2018-12-04Use main buffers for utility drawsStenzek
2018-12-03vulkan: fx index buffer reserve sizeweihuoya
2018-10-28Vulkan: Add missing increment of draw call countStenzek
2018-03-26Implement "Skip" ubershader modeStenzek
Skip ubershader mode works the same as hybrid ubershaders in that the shaders are compiled asynchronously. However, instead of using the ubershader to draw the object, it skips it entirely until the specialized shader is made available. This mode will likely result in broken effects where a game creates an EFB copy, and does not redraw it every frame. Therefore, it is not a recommended option, however, it may result in better performance on low-end systems.
2018-03-10Move shader caches to VideoCommonStenzek
2017-09-11Renderer: Move cull mode to a rasterization state objectStenzek
Also moves logic for primitive handling to VideoCommon.
2017-02-18Merge pull request #4924 from stenzek/vulkan-list-restartStenzek
Vulkan: Fix GPU hangs on AMD Polaris
2017-02-18VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptrLioncash
Much safer as opposed to just returning raw allocated memory.
2017-02-18Vulkan: Use TRIANGLE_LIST when primitive restart is not supportedStenzek
2017-02-01ShaderGenCommon: Remove unnecessary includesLioncash
2017-02-01LightingShaderGen: Remove unnecessary includesLioncash
2017-01-04VideoCommon: Make dst_alpha state implicit.degasus
2017-01-04OGL/Vulkan: Drop dual pass alpha.degasus
2016-11-30Vulkan: Fix case where a draw's vertices could be overwrittenStenzek
This could happen because the vertex memory was already committed, if a uniform buffer allocation failed and caused a command buffer to be executed, it would be associated with the previous command buffer rather than the buffer containing the draw that consumed these vertices.
2016-11-03Vulkan: Remove parameters/members of single-instance classesStenzek
There's not a lot of point in passing these around or storing them (texture cache/state tracker mainly) as there will only ever be a single instance of the class. Also adds downcast helpers such as Vulkan::Renderer::GetInstance().
2016-10-03Vulkan: Handle both destination alpha and logic ops being enabledStenzek
Same way as GL with the dual-pass fallback. Not highly accurate, but does fix the Kirby shadow bug.
2016-10-01Implement experimental Vulkan backendStenzek