aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro
AgeCommit message (Collapse)Author
2022-11-19Merge pull request #9252 from liamwhite/radv-superioritybunnei
maxwell3d: HLE multi-layer clear macro
2022-11-17maxwell3d: full HLE for multi-layer clearsLiam
2022-11-16maxwell3d: HLE multi-layer clear macroLiam
2022-11-13Add break for default casesKyle Kienapfel
Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return
2022-11-09Initial ARM64 supportLiam
2022-10-21video_coare: Reimplementing the maxwell drawing trigger mechanismFengChen
2022-10-07Update 3D regsKelebek1
2022-10-06VideoCore: Add option to dump the macros.Fernando Sahmkow
2022-10-04Merge pull request #9005 from liamwhite/micro-fitbunnei
macro_jit_x64: cancel exit for taken branch
2022-10-04Merge pull request #9010 from liamwhite/buttwisebunnei
macro_jit_x64: fix miscompilation of bit extraction operations
2022-10-01MacroHLE: Add MultidrawIndirect HLE Macro.Fernando Sahmkow
2022-10-01macro_jit_x64: fix miscompilation of bit extraction operationsLiam
2022-10-01macro_jit_x64: cancel exit for taken branchLiam
2022-06-13general: fix compilation on MinGW GCC 12Liam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-05-10video_core/macro: clear code on upload address assignmentLiam
2022-05-08VideoCore: Add option to dump the macros.Fernando Sahmkow
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2022-05-08video_core/macro_jit_x64: warn on invalid parameter accessLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-01-26common/xbyak_api: Make BuildRegSet() constexprLioncash
This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr.
2022-01-25video_core/macro: Add missing <cstring> headerLioncash
Necessary since memcpy is used.
2022-01-25video_core/macro_interpreter: Move impl class to the cpp fileLioncash
Keeps the implementation hidden from the intended API and lessens the header dependencies on the interpreter's header.
2022-01-25video_core/macro_hle: Return unique_ptr directly from GetHLEProgram()Lioncash
Same behavior, but less code and header dependencies.
2022-01-25video_core/macro: Remove unused parameter from Execute()Lioncash
Simplifies the function interface.
2022-01-25video_core/macro_jit_x64: Remove unused impl class memberLioncash
Reduces the size of the impl class a tiny bit.
2022-01-25video_core/macro_jit_x64: Decouple PersistentCallerSavedRegs() from implLioncash
This doesn't depend on class state and can just be a regular function.
2022-01-25video_core/macro_jit_x64: Move impl class into cpp fileLioncash
Keeps the implementation internalized and also reduces API-facing header dependencies. Notably, this fully internalizes all of the xbyak externals.
2022-01-25video_core/macro_hle: Move impl class into cpp fileLioncash
Given it's intended to be an internal implementation class, we can move it into the cpp file to ensure that. This also lets us move some header dependencies into the cpp file as well.
2021-08-15xbyak: Update include pathMerry
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2020-12-07video_core: Remove unnecessary enum class casting in logging messagesLioncash
fmt now automatically prints the numeric value of an enum class member by default, so we don't need to use casts any more. Reduces the line noise a bit.
2020-12-04video_core: Resolve more variable shadowing scenariosLioncash
Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit.
2020-09-22General: Make use of std::nullopt where applicableLioncash
Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
2020-08-30externals: Update Xbyak to 5.96Lioncash
I made a request on the Xbyak issue tracker to allow some constructors to be constexpr in order to avoid static constructors from needing to execute for some of our register constants. This request was implemented, so this updates Xbyak so that we can make use of it.
2020-08-24Merge pull request #4542 from ReinUsesLisp/gpu-init-basebunnei
video_core: Initialize renderer with a GPU
2020-08-22video_core: Initialize renderer with a GPUReinUsesLisp
Add an extra step in GPU initialization to be able to initialize render backends with a valid GPU instance.
2020-08-14macro-interpreter: Resolve -Wself-assign-field warningLioncash
This was assigning the field to itself, which is a no-op. The size doesn't change between its initial assignment and this one, so this is a safe change to make.
2020-07-21video_core: Remove unused variablesLioncash
Silences several compiler warnings about unused variables.
2020-07-17Merge pull request #4369 from lioncash/hle-macroLC
macro_hle: Remove unnecessary std::make_pair calls
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-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-06-30macro: Add support for "middle methods" on the code cache (#4112)David
Macro code is just uploaded sequentially from a starting address, however that does not mean the entry point for the macro is at that address. This PR adds preliminary support for executing macros in the middle of our cached code.
2020-06-24addressed issuesDavid Marcec
2020-06-24clear mme draw modeDavid Marcec
We already draw, so we can clear it
2020-06-24Addressed issuesDavid Marcec
2020-06-24Fix constbuffer for 0217920100488FF7David Marcec
2020-06-24Macro HLE supportDavid Marcec