ReinUsesLisp
4eb946829d
gl_shader_util: Add parameter to handle retrievable programs
7 years ago
ReinUsesLisp
5bed286abf
rasterizer_interface: Add disk cache entry for the rasterizer
7 years ago
ReinUsesLisp
f75174d195
file_util: Add shader directory
7 years ago
ReinUsesLisp
0d6369989d
shader_decode: Implement LDG and basic cbuf tracking
7 years ago
James Rowe
4d5b53faab
QT: Fix the loading screen 'H' switch logo to not glitch out
7 years ago
Lioncash
ac9fcf2ca2
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.
7 years ago
xperia64
a65c9b1f55
Fix crash when no files are selected
7 years ago
xperia64
1fd1f7a053
Add file extension to screenshot filename if not provided
7 years ago
Lioncash
49a28d52da
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.
7 years ago
Lioncash
797fbcc6dd
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.
7 years ago
ReinUsesLisp
c1e8fe0067
video_core/texture: Fix BitField size for depth_minus_one
7 years ago
Mat M
6506dbc577
Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
7 years ago
Fernando Sahmkow
4133c86d71
Fix TXQ not using the component mask.
7 years ago
ReinUsesLisp
a6c3180b68
shader_ir/memory: Add ST_L 64 and 128 bits stores
7 years ago
ReinUsesLisp
af1543712d
video_core: Assert on invalid GPU to CPU address queries
7 years ago
ReinUsesLisp
c73b44fc35
maxwell_3d: Allow sampler handles with TSC id zero
7 years ago
ReinUsesLisp
04fe4a72b9
maxwell_3d: Allow texture handles with TIC id zero
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
7 years ago
ReinUsesLisp
36ccfac47b
memory_manager: Check for reserved page status
7 years ago
ReinUsesLisp
0b57f33fdf
shader_ir/memory: Add LD_L 128 bits loads
7 years ago
ReinUsesLisp
5ae8a056fe
shader_bytecode: Rename BytesN enums to BitsN
7 years ago
ReinUsesLisp
a8cbcb1210
shader_ir/memory: Add LD_L 64 bits loads
7 years ago
ReinUsesLisp
14098c39af
rasterizer_interface: Remove unused AccelerateFill operation
7 years ago
ReinUsesLisp
74a039d0bc
video_core: Remove unused Fill surface type
7 years ago
Lioncash
c6d2828c74
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).
7 years ago
ReinUsesLisp
b68fd9e6e9
gl_rasterizer_cache: Fixup test clause
7 years ago
Mat M
6ebdc75cce
gl_rasterizer_cache: Guard clause swizzle testing
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
7 years ago
ReinUsesLisp
3dfcff175f
gl_state: Remove texture target tracking
7 years ago
ReinUsesLisp
412d59512a
gl_rasterizer_cache: Move swizzling to textures instead of state
7 years ago
ReinUsesLisp
5ab4113388
gl_state: Use DSA and multi bind to update texture bindings
7 years ago
ReinUsesLisp
c6c0c7947d
gl_rasterizer: Use DSA for textures
7 years ago
Lioncash
9399a2efe5
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.
7 years ago
Lioncash
84f0a76c97
kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override
This implementation just calls the base class variant of the function,
so this isn't necessary.
7 years ago
Lioncash
53c17e5dca
kernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() override
This just calls the base variant of the function, so it can be removed.
7 years ago
Lioncash
82a466695f
video_core/dma_pusher: Silence C4828 warnings
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.
7 years ago
Lioncash
3e78328569
hwopus: Implement DecodeInterleaved
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."
7 years ago
Lioncash
7ba76e0c34
service/nvflinger: Make FindBufferQueueId() a const member function
This member function doesn't actually modify instance state, so it can
be const-qualified.
7 years ago
Lioncash
f57dd1bae3
service/nvflinger: Rename Get prefix on function to Find
This more accurately describes what the function is actually attempting
to do (it's not a simple trivial getter).
7 years ago
ReinUsesLisp
12fbe5dcf8
shader_ir: Unify constant buffer offset values
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.
7 years ago
Lioncash
2031c390f0
hwopus: Deduplicate the decoding code within DecodeInterleavedOld and DecodeInterleavedWithPerfOld
Keeps the logic in one spot for use by both functions.
7 years ago
Lioncash
bed6adebc3
hwopus: Replace std::optional<std::reference_wrapper<u64>> with u64*
This doesn't really offer anything over the use of a direct pointer, so
we can just use that instead.
7 years ago
Lioncash
023e37145a
hwopus: Mark local variables as const where applicable
Makes non-mutable state more explicit.
7 years ago
Lioncash
449c62df51
hwopus: Fill in the rest of the unknown service function names
Filled in via information provided by SwitchBrew.
7 years ago
Lioncash
136b8812a6
service/ns: Update function tables
Updates function tables based off information provided by SwitchBrew
7 years ago
Lioncash
0b8ce4befe
service/ncm: Update function tables
Updates function tables based off information provided by SwitchBrew
7 years ago
Lioncash
8ed3c04db3
service/audio: Update function tables
Updates function tables based off information provided by SwitchBrew.
7 years ago
Lioncash
7da00811be
service/am/applet_ae: Update function tables
Updates function tables based off information provided by SwitchBrew.
7 years ago
Lioncash
6f5785adaf
service/fsp-srv: Update function tables
Updates function tables based off information provided by SwitchBrew.
7 years ago
Lioncash
75e8a6f41d
service/btm: Update function tables
Updates function tables based off information provided by SwitchBrew
7 years ago
Lioncash
d7bb82aaa6
service/btdrv: Update function tables
Updates function tables based off information provided by SwitchBrew.
7 years ago
ReinUsesLisp
5649c48967
gl_shader_cache: Use explicit bindings
7 years ago