aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-10-15gl_shader_decompiler: Avoid unnecessary copies of MetaImageLioncash
MetaImage contains a std::vector, so copying here could result in unnecessary reallocations. Given the operation lives throughout the entire scope, this is safe to do.
2019-10-15maxwell_3d: Silence truncation warningsLioncash
A trivial warning caused by not using size_t as the argument types instead of u32.
2019-10-15Merge pull request #2972 from lioncash/systembunnei
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
2019-10-15video_core/gpu: Remove use of the global system accessorLioncash
We can just make use of the reference member variable instead of accessing the global system instance.
2019-10-15video_core/texture_cache: Amend Doxygen referencesLioncash
Amends the doxygen comments so that they properly resolve. While we're at it, we can correct some typos and fix up some of the comments' formatting in order to make them slightly nicer to read.
2019-10-15common: Rename binary_find.h to algorithm.hLioncash
Makes the header more general for other potential algorithms in the future. While we're at it, include a missing <functional> include to satisfy the use of std::less.
2019-10-11AsyncGpu: Address FeedbackFernando Sahmkow
2019-10-09Merge pull request #2928 from ReinUsesLisp/dirty-depth-boundsbunnei
maxwell_3d: Add dirty flags for depth bounds values
2019-10-09Merge pull request #2927 from ReinUsesLisp/polygon-offset-unitsbunnei
gl_rasterizer: Fix polygon offset units
2019-10-09Surfaces: Implement R4G4B4A4U format.Fernando Sahmkow
2019-10-09Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5Fernando Sahmkow
2019-10-07shader/half_set_predicate: Fix HSETP2 for constant buffersReinUsesLisp
HSETP2 when used with a constant buffer parses the second operand type as F32. This is not configurable.
2019-10-07shader/half_set_predicate: Reduce DEBUG_ASSERT to LOG_DEBUGReinUsesLisp
2019-10-06gl_shader_disk_cache: Properly ignore existing cacheReinUsesLisp
Previously old entries where appended to the file even if the shader cache was ignored at boot. Address that issue.
2019-10-05video_core/control_flow: Eliminate variable shadowing warningsLioncash
2019-10-05video_core/control_flow: Eliminate pessimizing movesLioncash
These can inhibit the ability of a compiler to perform RVO.
2019-10-05video_core/ast: Unindent most of IsFullyDecompiled() by one levelLioncash
2019-10-05video_core/ast: Make ShowCurrentState() take a string_view instead of ↵Lioncash
std::string Allows the function to be non-allocating in terms of the output string.
2019-10-05video_core/ast: Eliminate variable shadowing warningsLioncash
2019-10-05video_core/ast: Replace std::string with a constexpr std::string_viewLioncash
Same behavior, but without the need to heap allocate
2019-10-05video_core/ast: Default the move constructor and assignment operatorLioncash
This is behaviorally equivalent and also fixes a bug where some members weren't being moved over.
2019-10-05video_core/{ast, expr}: Organize forward declarationLioncash
Keeps them alphabetically sorted for readability.
2019-10-05video_core/expr: Supply operator!= along with operator==Lioncash
Provides logical symmetry to the interface.
2019-10-05video_core/{ast, expr}: Use std::move where applicableLioncash
Avoids unnecessary atomic reference count increments and decrements.
2019-10-05video_core/ast: Supply const accessors for data where applicableLioncash
Provides const equivalents of data accessors for use within const contexts.
2019-10-05Merge pull request #2888 from FernandoS27/decompiler2David
Shader_IR: Implement a full control flow decompiler for the shader IR.
2019-10-05maxwell_3d: Add dirty flags for depth bounds valuesReinUsesLisp
This is useful in Vulkan where we want to update depth bounds without caring if it's enabled or disabled through vkCmdSetDepthBounds.
2019-10-04GL_Renderer: Remove lefting snippet.Fernando Sahmkow
2019-10-04Gl_Rasterizer: Protect CPU Memory mapping from multiple threads.Fernando Sahmkow
2019-10-04Core: Wait for GPU to be idle before shutting down.Fernando Sahmkow
2019-10-04Nvdrv: Do framelimiting only in the CPU ThreadFernando Sahmkow
2019-10-04GPU_Async: Correct fences, display events and more.Fernando Sahmkow
This commit uses guest fences on vSync event instead of an articial fake fence we had. It also corrects to keep signaling display events while loading the game as the OS is suppose to send buffers to vSync during that time.
2019-10-04Texture_Cache: Blit Deduction corrections and simplifications.Fernando Sahmkow
2019-10-04TextureCache: Add the ability to deduce if two textures are depth on blit.Fernando Sahmkow
2019-10-04Shader_ir: Address feedbackFernando Sahmkow
2019-10-04Shader_Ir: Address Feedback and clang format.Fernando Sahmkow
2019-10-04vk_shader_decompiler: Correct Branches inside conditionals.Fernando Sahmkow
2019-10-04vk_shader_decompiler: Clean code and be const correct.Fernando Sahmkow
2019-10-04Shader_IR: clean up AST handling and add documentation.Fernando Sahmkow
2019-10-04Shader_IR: Correct OutwardMoves for IfsFernando Sahmkow
2019-10-04vk_shader_compiler: Don't enclose branches with if(true) to avoid crashing AMDFernando Sahmkow
2019-10-04gl_shader_decompiler: Refactor and address feedback.Fernando Sahmkow
2019-10-04Shader_IR: corrections and clang-formatFernando Sahmkow
2019-10-04vk_shader_compiler: Correct SPIR-V AST DecompilingFernando Sahmkow
2019-10-04Shader_IR: allow else derivation to be optional.Fernando Sahmkow
2019-10-04vk_shader_compiler: Implement the decompiler in SPIR-VFernando Sahmkow
2019-10-04Shader_IR: mark labels as unused for partial decompile.Fernando Sahmkow
2019-10-04Shader_Ir: Refactor Decompilation process and allow multiple decompilation ↵Fernando Sahmkow
modes.
2019-10-04gl_shader_decompiler: Implement AST decompilingFernando Sahmkow
2019-10-04shader_ir: Declare Manager and pass it to appropiate programs.Fernando Sahmkow