aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2020-07-18Fix style issuesDavid Marcec
2020-07-18Merge pull request #4364 from lioncash/desig5bunnei
vulkan: Make use of designated initializers where applicable
2020-07-17vk_device: Fix build error on old MSVC versionsReinUsesLisp
Designated initializers on old MSVC versions fail to build when they take the address of a constant.
2020-07-17Merge pull request #4322 from ReinUsesLisp/fix-dynstatebunnei
vk_state_tracker: Fix dirty flags for stencil_enable on VK_EXT_extended_dynamic_state
2020-07-17Merge pull request #4369 from lioncash/hle-macroLC
macro_hle: Remove unnecessary std::make_pair calls
2020-07-17Merge pull request #4340 from lioncash/removeLC
shader_cache: Make use of std::erase_if
2020-07-17Remove duplicate configDavid Marcec
2020-07-17Use conditional varDavid Marcec
2020-07-17Drop max workers from 8->2 for testingDavid Marcec
2020-07-17Rebase for per game settingsDavid Marcec
2020-07-17async shadersDavid Marcec
2020-07-16macro_hle: Remove unnecessary static keywordsLioncash
These functions are already in an anonymous namespace which makes the functions internally linked.
2020-07-17Merge pull request #4368 from lioncash/macroDavid
macro: Resolve missing parameter in doxygen comment
2020-07-17Merge pull request #4370 from lioncash/simplifyDavid
macro_hle: Simplify shift expression in HLE_771BB18C62444DA0()
2020-07-16macro_hle: Simplify shift expression in HLE_771BB18C62444DA0()Lioncash
Given the expression involves a 32-bit value, this simplifies down to just: 0x3ffffff. This is likely a remnant from testing that was never cleaned up. Resolves a -Wshift-overflow warning.
2020-07-16macro_hle: Remove unnecessary std::make_pair callsLioncash
The purpose of make_pair is generally to deduce the types within the pair without explicitly specifying the types, so these usages were generally unnecessary, particularly when the type is enforced by the array declaration.
2020-07-16macro: Resolve missing parameter in doxygen commentLioncash
Resolves a -Wdocumentation warning.
2020-07-16wrapper: Make use of designated initializers where applicableLioncash
2020-07-16vk_texture_cache: Make use of designated initializers where applicableLioncash
2020-07-16vk_texture_cache: Amend mismatched access masks and indices in UploadBufferLioncash
Discovered while converting relevant parts of the codebase over to designated initializers.
2020-07-16vk_swapchain: Make use of designated initializers where applicableLioncash
2020-07-16vk_stream_buffer: Make use of designated initializers where applicableLioncash
2020-07-16vk_staging_buffer_pool: Make use of designated initializers where applicableLioncash
2020-07-16vk_shader_util: Make use of designated initializers where applicableLioncash
2020-07-16vk_scheduler: Make use of designated initializers where applicableLioncash
2020-07-16vk_sampler_cache: Make use of designated initializers where applicableLioncash
2020-07-16vk_resource_manager: Make use of designated initializers where applicableLioncash
2020-07-16vk_renderpass_cache: Make use of designated initializers where applicableLioncash
2020-07-16vk_rasterizer: Make use of designated initializers where applicableLioncash
2020-07-16vk_query_cache: Make use of designated initializers where applicableLioncash
2020-07-16vk_pipeline_cache: Make use of designated initializers where applicableLioncash
2020-07-16vk_memory_manager: Make use of designated initializers where applicableLioncash
2020-07-16vk_image: Make use of designated initializers where applicableLioncash
2020-07-16vk_descriptor_pool: Make use of designated initializers where applicableLioncash
2020-07-16vk_graphics_pipeline: Resolve narrowing warningsLioncash
For whatever reason, VK_TRUE and VK_FALSE aren't defined as having a VkBool32 type, so we need to cast to it explicitly.
2020-07-16vk_compute_pipeline: Make use of designated initializers where applicableLioncash
2020-07-16vk_compute_pass: Make use of designated initializers where applicableLioncash
Note: Some barriers can't be converted over yet, as they ICE MSVC.
2020-07-16vk_buffer_cache: Make use of designated initializers where applicableLioncash
Note: An array within CopyFrom() cannot be converted over yet, as it ICEs MSVC when converted over.
2020-07-16Merge pull request #4333 from lioncash/desig3Rodrigo Locatti
vk_graphics_pipeline: Make use of designated initializers where applicable
2020-07-16Merge pull request #4332 from lioncash/vkdevRodrigo Locatti
vk_device: Make use of designated initializers where applicable
2020-07-16decode/other: Implement S2R.LaneIdReinUsesLisp
This maps to host's thread id. - Fixes graphical issues on Paper Mario.
2020-07-16gl_arb_decompiler: Execute BAR even when inside control flowReinUsesLisp
Unlike GLSL, GLASM allows us to call BAR inside control flow. - Fixes graphical artifacts in Paper Mario.
2020-07-16renderer_{opengl,vulkan}: Clamp shared memory to host's limitReinUsesLisp
This stops shaders from failing to build when the exceed host's shared memory size limit. An error is logged.
2020-07-16Merge pull request #4321 from lioncash/desigbunnei
vk_blit_screen: Make use of designated initializers where applicable
2020-07-14shader_cache: Make use of std::erase_ifLioncash
Now that we use C++20, we can also make use of std::erase_if instead of needing to do the erase-remove idiom.
2020-07-14Merge pull request #4242 from ReinUsesLisp/maxwell-dmabunnei
maxwell_dma: Match official doc and support pitch->voxel copies
2020-07-13vk_device: Make use of designated initializers where applicableLioncash
Avoids redundant repetitions of variable names, and allows assignment all in one statement.
2020-07-13vk_graphics_pipeline: Make use of designated initializers where applicableLioncash
Avoids redundant variable name repetitions.
2020-07-13video_core: Rearrange pixel format namesReinUsesLisp
Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs.
2020-07-13video_core: Fix DXT4 and RGB565ReinUsesLisp