ReinUsesLisp
66a3760a71
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
ea2ce59743
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
7 years ago
ReinUsesLisp
f9bcb4e842
gl_shader_disk_cache: Guard reads and writes against failure
7 years ago
ReinUsesLisp
720c2456f4
gl_shader_disk_cache: Address miscellaneous feedback
7 years ago
ReinUsesLisp
fcf98dc3f7
gl_shader_disk_cache: Pass return values returning instead of by parameters
7 years ago
ReinUsesLisp
e2f4c2b9d9
gl_shader_disk_cache: Compress program binaries using LZ4
7 years ago
ReinUsesLisp
92682d3bfa
gl_shader_disk_cache: Compress GLSL code using LZ4
7 years ago
ReinUsesLisp
d83818d30a
gl_shader_disk_cache: Save GLSL and entries into the precompiled file
7 years ago
ReinUsesLisp
1342998379
settings: Hide shader cache behind a setting
7 years ago
ReinUsesLisp
8b1a7aa19d
gl_shader_disk_cache: Invalidate shader cache changes with CMake hash
7 years ago
ReinUsesLisp
bb69f9fb7a
gl_shader_cache: Refactor to support disk shader cache
7 years ago
ReinUsesLisp
a931bb68cd
gl_shader_disk_cache: Add transferable cache invalidation
7 years ago
ReinUsesLisp
b33860b218
gl_shader_disk_cache: Add precompiled load
7 years ago
ReinUsesLisp
c0da61936c
gl_shader_disk_cache: Add precompiled save
7 years ago
ReinUsesLisp
550111b091
gl_shader_disk_cache: Add transferable load
7 years ago
ReinUsesLisp
7012b1a5a4
gl_shader_disk_cache: Add transferable stores
7 years ago
ReinUsesLisp
ac7a6ef85f
gl_shader_disk_cache: Add ShaderDiskCacheOpenGL class and helpers
7 years ago
ReinUsesLisp
09225145c9
gl_shader_disk_cache: Add file and move BaseBindings declaration
7 years ago
ReinUsesLisp
658959673b
gl_shader_decompiler: Remove name entries
7 years ago
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
Dimitri ALBORA
c7d6afc04a
gdbstub: only let Execute breakpoints write/restore BKPT opcodes into target memory
7 years ago
Weiyi Wang
b10f12b462
remove all occurance of specifying endianness inside BitField
This commit it automatically generated by command in zsh:
sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.)
BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter.
7 years ago
Weiyi Wang
a2fa901591
common/bitfield: make it endianness-aware
7 years ago
Weiyi Wang
bed349ba51
common/swap: remove default value for swap type internal storage
This is compromise for swap type being used in union. A union has deleted default constructor if it has at least one variant member with non-trivial default constructor, and no variant member of T has a default member initializer. In the use case of Bitfield, all variant members will be the swap type on endianness mismatch, which would all have non-trivial default constructor if default value is specified, and non of them can have member initializer
7 years ago
Weiyi Wang
c3d5b4496b
common/swap: use template and tag for LE/BE specification
The tag can be useful for other type-generic templates like BitFields to forward the endianness specification
7 years ago
Weiyi Wang
3ab6c97fc7
common/swap: add swap template for enum
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
13b83e6e0f
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
92c948999b
shader_ir: Rename BasicBlock to NodeBlock
It's not always used as a basic block. Rename it for consistency.
7 years ago
ReinUsesLisp
e3c0f29a4d
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
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