aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-10-15gl_shader_decompiler: Resolve fallthrough within ExprDecompiler's ↵Lioncash
ExprCondCode operator() This would previously result in NeverExecute and UnusedIndex being treated as regular predicates.
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-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-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-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
2019-10-04shader_ir: Corrections to outward movements and misc stuffsFernando Sahmkow
2019-10-04shader_ir: Add basic goto eliminationFernando Sahmkow
2019-10-04shader_ir: Initial Decompile SetupFernando Sahmkow
2019-10-01gl_rasterizer: Fix polygon offset unitsReinUsesLisp
For some reason hardware divides polygon offset units by two. This is visible since drivers multiply the application requested polygon offset by two.
2019-09-24gl_shader_decompiler: Add tailing return for HUnpack2ReinUsesLisp
2019-09-24gl_shader_decompiler: Fix clang build issuesReinUsesLisp
2019-09-23Merge pull request #2869 from ReinUsesLisp/suldbunnei
shader/image: Implement SULD and fix SUATOM
2019-09-22Merge pull request #2870 from FernandoS27/multi-drawDavid
Implement a MME Draw commands Inliner and correct host instance drawing
2019-09-22Merge pull request #2891 from FearlessTobi/rod-texFernando Sahmkow
video_core: Implement RGBX16F and lower Surface Copy log severity
2019-09-22Merge pull request #2867 from ReinUsesLisp/configure-framebuffers-cleanDavid
gl_rasterizer: Remove unused code paths from ConfigureFramebuffers
2019-09-22Maxwell3D: Corrections and refactors to MME instance refactorFernando Sahmkow
2019-09-22Fix clang-formatFearlessTobi