ReinUsesLisp
eb73247433
gl_shader_cache: Link loading screen with disk shader cache load
7 years ago
ReinUsesLisp
df0f31f44e
gl_shader_cache: Set GL_PROGRAM_SEPARABLE to dumped shaders
i965 (and probably all mesa drivers) require GL_PROGRAM_SEPARABLE when using
glProgramBinary. This is probably required by the standard but it's ignored by
permisive proprietary drivers.
7 years ago
ReinUsesLisp
7fefec585c
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
7 years ago
ReinUsesLisp
2bc6a699dc
gl_shader_disk_cache: Guard reads and writes against failure
7 years ago
ReinUsesLisp
750abcc23d
gl_shader_disk_cache: Address miscellaneous feedback
7 years ago
ReinUsesLisp
8ee3666a3c
gl_shader_disk_cache: Pass return values returning instead of by parameters
7 years ago
ReinUsesLisp
ed956569a4
gl_shader_disk_cache: Compress program binaries using LZ4
7 years ago
ReinUsesLisp
f087639e4a
gl_shader_disk_cache: Compress GLSL code using LZ4
7 years ago
ReinUsesLisp
cfb20c4c9d
gl_shader_disk_cache: Save GLSL and entries into the precompiled file
7 years ago
ReinUsesLisp
e78da8dc1f
settings: Hide shader cache behind a setting
7 years ago
ReinUsesLisp
be4641c43f
gl_shader_disk_cache: Invalidate shader cache changes with CMake hash
7 years ago
ReinUsesLisp
a3703f5767
gl_shader_cache: Refactor to support disk shader cache
7 years ago
ReinUsesLisp
4039086226
gl_shader_disk_cache: Add transferable cache invalidation
7 years ago
ReinUsesLisp
a1faed9950
gl_shader_disk_cache: Add precompiled load
7 years ago
ReinUsesLisp
57fb15d2a3
gl_shader_disk_cache: Add precompiled save
7 years ago
ReinUsesLisp
3435cd8d5e
gl_shader_disk_cache: Add transferable load
7 years ago
ReinUsesLisp
b1efceec89
gl_shader_disk_cache: Add transferable stores
7 years ago
ReinUsesLisp
98be5a4928
gl_shader_disk_cache: Add ShaderDiskCacheOpenGL class and helpers
7 years ago
ReinUsesLisp
145c3ac89e
gl_shader_disk_cache: Add file and move BaseBindings declaration
7 years ago
ReinUsesLisp
c2c5260fd7
gl_shader_decompiler: Remove name entries
7 years ago
ReinUsesLisp
8b11368671
gl_shader_util: Add parameter to handle retrievable programs
7 years ago
ReinUsesLisp
0ed5d728ca
rasterizer_interface: Add disk cache entry for the rasterizer
7 years ago
ReinUsesLisp
84412591c9
file_util: Add shader directory
7 years ago
ReinUsesLisp
049050856f
shader_decode: Implement LDG and basic cbuf tracking
7 years ago
Dimitri ALBORA
8b800369ea
gdbstub: only let Execute breakpoints write/restore BKPT opcodes into target memory
7 years ago
James Rowe
c82b0afb69
QT: Fix the loading screen 'H' switch logo to not glitch out
7 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.
7 years ago
xperia64
f598490b57
Fix crash when no files are selected
7 years ago
xperia64
284536a626
Add file extension to screenshot filename if not provided
7 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.
7 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.
7 years ago
ReinUsesLisp
b5e685b297
video_core/texture: Fix BitField size for depth_minus_one
7 years ago
Mat M
a568cd805b
Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
7 years ago
Fernando Sahmkow
0306c50339
Fix TXQ not using the component mask.
7 years ago
ReinUsesLisp
dfa7be5ddf
shader_ir/memory: Add ST_L 64 and 128 bits stores
7 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.
7 years ago
ReinUsesLisp
42b75e8be8
shader_ir: Rename BasicBlock to NodeBlock
It's not always used as a basic block. Rename it for consistency.
7 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.
7 years ago
ReinUsesLisp
2bdbb90af7
video_core: Assert on invalid GPU to CPU address queries
7 years ago
ReinUsesLisp
04e68e9738
maxwell_3d: Allow sampler handles with TSC id zero
7 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.
7 years ago
ReinUsesLisp
e01a9de35f
memory_manager: Check for reserved page status
7 years ago
ReinUsesLisp
f61c1ed246
shader_ir/memory: Add LD_L 128 bits loads
7 years ago
ReinUsesLisp
9feb68085d
shader_bytecode: Rename BytesN enums to BitsN
7 years ago
ReinUsesLisp
0be835132c
shader_ir/memory: Add LD_L 64 bits loads
7 years ago
ReinUsesLisp
26f8a700a7
rasterizer_interface: Remove unused AccelerateFill operation
7 years ago
ReinUsesLisp
13222f94c0
video_core: Remove unused Fill surface type
7 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).
7 years ago
ReinUsesLisp
3e80b08944
gl_rasterizer_cache: Fixup test clause
7 years ago
Mat M
911587fb8d
gl_rasterizer_cache: Guard clause swizzle testing
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
7 years ago