Commit Graph

10601 Commits (444231a83d831c4cfcee03d29e2a375b258bdc4e)
 

Author SHA1 Message Date
bunnei 10ab714fe0
Merge pull request #2042 from ReinUsesLisp/nouveau-tex
maxwell_3d: Allow texture handles with TIC id zero
6 years ago
bunnei 40ac058557
Merge pull request #2071 from ReinUsesLisp/dsa-texture
gl_rasterizer: Use DSA for textures and move swizzling to texture state
6 years ago
Dimitri ALBORA 8b800369ea gdbstub: only let Execute breakpoints write/restore BKPT opcodes into target memory 6 years ago
bunnei c357d8f6f7
Merge pull request #2057 from FearlessTobi/port-4586
Port citra-emu/citra#4586: "Use QPixmap/QIcon for background color selection button"
6 years ago
bunnei b34ae2235d
Merge pull request #2086 from FearlessTobi/port-4583
Port citra-emu/citra#4583: "citra_qt: Fix saving screenshot when no file extension is provided"
6 years ago
bunnei 40cd299f01
Merge pull request #2087 from lioncash/const
service/nvflinger, service/vi: Improve error case handling
6 years ago
bunnei 67c1f31251
Merge pull request #2088 from jroweboy/h
QT: Fix the loading screen 'H' switch logo to not glitch out
6 years ago
James Rowe c82b0afb69 QT: Fix the loading screen 'H' switch logo to not glitch out 6 years ago
Lioncash ef073ff117 service/nvflinger,service/vi: Handle failure cases with exposed API
Converts many of the Find* functions to return a std::optional<T> as
opposed to returning the raw return values directly. This allows
removing a few assertions and handles error cases like the service
itself does.
6 years ago
bunnei 7aa7d8f4ff
Merge pull request #2085 from ReinUsesLisp/cube-minus-one
video_core/texture: Fix BitField size for depth_minus_one
6 years ago
xperia64 f598490b57 Fix crash when no files are selected 6 years ago
xperia64 284536a626 Add file extension to screenshot filename if not provided 6 years ago
Lioncash 7320c667df service/nvflinger: Mark FindVsyncEvent() as a const member function
This member function doesn't actually modify instance state, so it can
be marked as a const member function.
6 years ago
Lioncash 3c02cdcc57 service/nvflinger: Rename GetVsyncEvent() to FindVsyncEvent()
This was missed within #2075. Renames the member function to make it
consistent with the rest of the Find* functions.
6 years ago
bunnei 72c70d6808
Merge pull request #2081 from ReinUsesLisp/lmem-64
shader_ir/memory: Add LD_L 64 bits loads
6 years ago
ReinUsesLisp b5e685b297 video_core/texture: Fix BitField size for depth_minus_one 6 years ago
bunnei bb4549a73d
Merge pull request #2082 from FernandoS27/txq-stl
Fix TXQ not using the component mask.
6 years ago
Mat M a568cd805b
Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
6 years ago
Fernando Sahmkow 0306c50339 Fix TXQ not using the component mask. 6 years ago
ReinUsesLisp dfa7be5ddf shader_ir/memory: Add ST_L 64 and 128 bits stores 6 years ago
ReinUsesLisp 0d1d755086 shader/track: Search inside of conditional nodes
Some games search conditionally use global memory instructions. This
allows the heuristic to search inside conditional nodes for the source
constant buffer.
6 years ago
ReinUsesLisp 42b75e8be8 shader_ir: Rename BasicBlock to NodeBlock
It's not always used as a basic block. Rename it for consistency.
6 years ago
ReinUsesLisp 6a6fabea58 shader_ir: Pass decoded nodes as a whole instead of per basic blocks
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.
6 years ago
ReinUsesLisp 2bdbb90af7 video_core: Assert on invalid GPU to CPU address queries 6 years ago
ReinUsesLisp 04e68e9738 maxwell_3d: Allow sampler handles with TSC id zero 6 years ago
ReinUsesLisp 390721a561 maxwell_3d: Allow texture handles with TIC id zero
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
6 years ago
ReinUsesLisp e01a9de35f memory_manager: Check for reserved page status 6 years ago
ReinUsesLisp f61c1ed246 shader_ir/memory: Add LD_L 128 bits loads 6 years ago
ReinUsesLisp 9feb68085d shader_bytecode: Rename BytesN enums to BitsN 6 years ago
ReinUsesLisp 0be835132c shader_ir/memory: Add LD_L 64 bits loads 6 years ago
bunnei eceab45dac
Merge pull request #2074 from ReinUsesLisp/shader-ir-unify-offset
shader_ir: Unify constant buffer offset values
6 years ago
bunnei 4076d8fe3e
Merge pull request #2073 from lioncash/opus
hwopus: Implement DecodeInterleaved (the newest variant)
6 years ago
bunnei 2d226ff8ac
Merge pull request #2067 from ReinUsesLisp/workaround-fb
gl_rasterizer: Workaround invalid zeta clears
6 years ago
bunnei 11e7c1244c
Merge pull request #2078 from lioncash/timer
kernel: Remove the Timer class
6 years ago
bunnei 3a6eef27a2
Merge pull request #2079 from ReinUsesLisp/remove-fill
video_core: Remove unused Fill related code
6 years ago
ReinUsesLisp 26f8a700a7 rasterizer_interface: Remove unused AccelerateFill operation 6 years ago
ReinUsesLisp 13222f94c0 video_core: Remove unused Fill surface type 6 years ago
Lioncash 414cc1eb1f kernel: Remove the Timer class
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).
6 years ago
bunnei b0b027d2d0
Merge pull request #2072 from lioncash/service
service: Update function tables
6 years ago
bunnei db21ac2627
Merge pull request #2077 from lioncash/virt
kernel/wait_object: Devirtualize functions related to manipulating the thread list directly
6 years ago
bunnei d6f5f5cafa
Merge pull request #2075 from lioncash/find
service/nvflinger: Minor renaming changes
6 years ago
ReinUsesLisp 3e80b08944 gl_rasterizer_cache: Fixup test clause 6 years ago
Mat M 911587fb8d gl_rasterizer_cache: Guard clause swizzle testing
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
6 years ago
ReinUsesLisp 220df45b7d gl_state: Remove texture target tracking 6 years ago
ReinUsesLisp 704744bb72 gl_rasterizer_cache: Move swizzling to textures instead of state 6 years ago
ReinUsesLisp 3bbaa98c78 gl_state: Use DSA and multi bind to update texture bindings 6 years ago
ReinUsesLisp 4b676e7786 gl_rasterizer: Use DSA for textures 6 years ago
Hexagon12 e597665569
Merge pull request #1818 from ccawley2011/patch-1
Add missing environment variables to travis-ci.env
6 years ago
Lioncash a3cdd773c3 kernel/wait_object: Devirtualize functions related to manipulating the 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.
6 years ago
Lioncash 4596ef5274 kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override
This implementation just calls the base class variant of the function,
so this isn't necessary.
6 years ago