aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-03shader_ir/memory: Add ST_L 64 and 128 bits storesReinUsesLisp
2019-02-03shader/track: Search inside of conditional nodesReinUsesLisp
Some games search conditionally use global memory instructions. This allows the heuristic to search inside conditional nodes for the source constant buffer.
2019-02-03shader_ir: Rename BasicBlock to NodeBlockReinUsesLisp
It's not always used as a basic block. Rename it for consistency.
2019-02-03shader_ir: Pass decoded nodes as a whole instead of per basic blocksReinUsesLisp
Some games call LDG at the top of a basic block, making the tracking heuristic to fail. This commit lets the heuristic the decoded nodes as a whole instead of per basic blocks. This may lead to some false positives but allows it the heuristic to track cases it previously couldn't.
2019-02-03video_core: Assert on invalid GPU to CPU address queriesReinUsesLisp
2019-02-03maxwell_3d: Allow sampler handles with TSC id zeroReinUsesLisp
2019-02-03maxwell_3d: Allow texture handles with TIC id zeroReinUsesLisp
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused.
2019-02-03memory_manager: Check for reserved page statusReinUsesLisp
2019-02-03shader_ir/memory: Add LD_L 128 bits loadsReinUsesLisp
2019-02-03shader_bytecode: Rename BytesN enums to BitsNReinUsesLisp
2019-02-03shader_ir/memory: Add LD_L 64 bits loadsReinUsesLisp
2019-02-01Merge pull request #2074 from ReinUsesLisp/shader-ir-unify-offsetbunnei
shader_ir: Unify constant buffer offset values
2019-02-01Merge pull request #2073 from lioncash/opusbunnei
hwopus: Implement DecodeInterleaved (the newest variant)
2019-02-01Merge pull request #2067 from ReinUsesLisp/workaround-fbbunnei
gl_rasterizer: Workaround invalid zeta clears
2019-02-01Merge pull request #2078 from lioncash/timerbunnei
kernel: Remove the Timer class
2019-02-01rasterizer_interface: Remove unused AccelerateFill operationReinUsesLisp
2019-02-01video_core: Remove unused Fill surface typeReinUsesLisp
2019-01-31kernel: Remove the Timer classLioncash
A holdover from citra, the Horizon kernel on the switch has no prominent kernel object that functions as a timer. At least not to the degree of sophistication that this class provided. As such, this can be removed entirely. This class also wasn't used at all in any meaningful way within the core, so this was just code sitting around doing nothing. This also allows removing a few things from the main KernelCore class that allows it to use slightly less resources overall (though very minor and not anything really noticeable).
2019-01-31Merge pull request #2072 from lioncash/servicebunnei
service: Update function tables
2019-01-31Merge pull request #2077 from lioncash/virtbunnei
kernel/wait_object: Devirtualize functions related to manipulating the thread list directly
2019-01-31Merge pull request #2075 from lioncash/findbunnei
service/nvflinger: Minor renaming changes
2019-01-30gl_rasterizer_cache: Fixup test clauseReinUsesLisp
2019-01-30gl_rasterizer_cache: Guard clause swizzle testingMat M
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
2019-01-30gl_state: Remove texture target trackingReinUsesLisp
2019-01-30gl_rasterizer_cache: Move swizzling to textures instead of stateReinUsesLisp
2019-01-30gl_state: Use DSA and multi bind to update texture bindingsReinUsesLisp
2019-01-30gl_rasterizer: Use DSA for texturesReinUsesLisp
2019-01-30kernel/wait_object: Devirtualize functions related to manipulating the ↵Lioncash
thread list directly No inheritors of the WaitObject class actually make use of their own implementations of these functions, so they can be made non-virtual. It's also kind of sketchy to allow overriding how the threads get added to the list anyways, given the kernel itself on the actual hardware doesn't seem to customize based off this.
2019-01-30kernel/timer: Remove unnecessary WakeupAllWaitingThreads() overrideLioncash
This implementation just calls the base class variant of the function, so this isn't necessary.
2019-01-30kernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() overrideLioncash
This just calls the base variant of the function, so it can be removed.
2019-01-30Merge pull request #2076 from lioncash/encHexagon12
video_core/dma_pusher: Silence C4828 warnings
2019-01-30video_core/dma_pusher: Silence C4828 warningsLioncash
This was previously causing: warning C4828: The file contains a character starting at offset 0xa33 that is illegal in the current source character set (codepage 65001). warnings on Windows when compiling yuzu.
2019-01-30Merge pull request #1485 from FernandoS27/render-infobunnei
Add more info into textures' object labels
2019-01-30hwopus: Implement DecodeInterleavedLioncash
This functions almost identically to DecodeInterleavedWithPerfOld, however this function also has the ability to reset the decoder context. This is documented as a potentially desirable thing in the libopus manual in some circumstances as it says for the OPUS_RESET_STATE ctl: "This should be called when switching streams in order to prevent the back to back decoding from giving different result from one at a time decoding."
2019-01-30service/nvflinger: Make FindBufferQueueId() a const member functionLioncash
This member function doesn't actually modify instance state, so it can be const-qualified.
2019-01-30service/nvflinger: Rename Get prefix on function to FindLioncash
This more accurately describes what the function is actually attempting to do (it's not a simple trivial getter).
2019-01-30shader_ir: Unify constant buffer offset valuesReinUsesLisp
Constant buffer values on the shader IR were using different offsets if the access direct or indirect. cbuf34 has a non-multiplied offset while cbuf36 does. On shader decoding this commit multiplies it by four on cbuf34 queries.
2019-01-29hwopus: Deduplicate the decoding code within DecodeInterleavedOld and ↵Lioncash
DecodeInterleavedWithPerfOld Keeps the logic in one spot for use by both functions.
2019-01-29hwopus: Replace std::optional<std::reference_wrapper<u64>> with u64*Lioncash
This doesn't really offer anything over the use of a direct pointer, so we can just use that instead.
2019-01-29hwopus: Mark local variables as const where applicableLioncash
Makes non-mutable state more explicit.
2019-01-29hwopus: Fill in the rest of the unknown service function namesLioncash
Filled in via information provided by SwitchBrew.
2019-01-29service/ns: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew
2019-01-29service/ncm: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew
2019-01-29service/audio: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew.
2019-01-29service/am/applet_ae: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew.
2019-01-29service/fsp-srv: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew.
2019-01-29service/btm: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew
2019-01-29service/btdrv: Update function tablesLioncash
Updates function tables based off information provided by SwitchBrew.
2019-01-29Merge pull request #2070 from ReinUsesLisp/cubearray-viewbunnei
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
2019-01-29Merge pull request #2069 from lioncash/vibunnei
service/nvflinger: Add the null display type