Commit Graph

8060 Commits (6ee8b15abe4d0d78439e93c9d49da1331f24bdbc)
 

Author SHA1 Message Date
Zach Hilman 8069fbd37f game_list: Reorder error checks
clang-format fix
7 years ago
Zach Hilman ec3bef7b4c loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
7 years ago
Lioncash 0e1510ac29 gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces() 7 years ago
Lioncash b8c43b6080 video_core: Use variable template variants of type_traits interfaces where applicable 7 years ago
bunnei 3a67876252 textures: Refactor out for Texture/Depth FormatFromPixelFormat. 7 years ago
bunnei 6828c25498
Merge pull request #995 from bunnei/gl-buff-bounds
gl_rasterizer_cache: Add bounds checking for gl_buffer copies.
7 years ago
bunnei 5191c20b71
Merge pull request #997 from lioncash/const-func
core: Make function reference parameters const where applicable
7 years ago
bunnei a91bb7080d
Merge pull request #989 from lioncash/log
common/logging: Add missing service log categories
7 years ago
bunnei 69cd213fac
Merge pull request #990 from lioncash/entry
fsp_srv: Emplace entries first when building index instead of emplacing last
7 years ago
bunnei 05c33d89a1
Merge pull request #1001 from lioncash/reserve
gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()
7 years ago
bunnei 96ef22d3d0
Merge pull request #897 from DarkLordZach/vfs-accuracy-2
vfs: Add VfsFilesystem and fix RealVfs* implementations
7 years ago
bunnei e8c52d4c89 gl_rasterizer_cache: Add bounds checking for gl_buffer copies. 7 years ago
bunnei 37e1ed3744
Merge pull request #991 from bunnei/ignore-mac
maxwell_3d: Ignore macros that have not been uploaded yet.
7 years ago
Khangaroo 75e12a33ae Implement SNORM for BC5/DXN2 (#998)
* Implement BC5/DXN2 (#996)

- Used by Kirby Star Allies.

* Implement BC5/DXN2 SNORM

UNORM for Kirby Star Allies
SNORM for Super Mario Odyssey
7 years ago
bunnei e58f7ff843
Merge pull request #999 from lioncash/map
gl_rasterizer_cache: Avoid iterator invalidation issues within InvalidateRegion()
7 years ago
Lioncash 6ef027b958 gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()
Avoids potentially perfoming multiple reallocations when we know the
total amount of memory we need beforehand.
7 years ago
Lioncash 59ea37daa7 gl_rasterizer_cache: Avoid iterator invalidation issues within InvalidateRegion()
A range-based for loop can't be used when the container being iterated
is also being erased from.
7 years ago
bunnei 0bfe974281
Merge pull request #992 from bunnei/declr-pred
gl_shader_decompiler: Declare predicates on use.
7 years ago
bunnei 88b18b9ba4
Merge pull request #994 from lioncash/const
gl_rasterizer_cache: Use std::vector::assign vs resize() then copy for the non-tiled case
7 years ago
bunnei b125137493
Merge pull request #993 from bunnei/smo-vtx-pts
Implement VertexAttribute::Size::Size_16_16_16_16 and PrimitiveTopology::Points.
7 years ago
bunnei f765a6b902
Merge pull request #984 from bunnei/rt-none
gl_rasterizer: Do not render when no render target is configured.
7 years ago
Khangaroo 5cb6eceecf Implement BC5/DXN2 (#996)
- Used by Kirby Star Allies.
7 years ago
Lioncash b46a5c42ff buffer_queue: Make reference parameter of SetPreallocatedBuffer const
This is simply copied by value, so there's no need to make it a
modifiable reference.

While we're at it, make the names of the parameters match its
definition.
7 years ago
Lioncash ff5024ee2a hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter const
This function doesn't modify anything within the reference Thread
instance.
7 years ago
bunnei 5c908c0373
Merge pull request #988 from lioncash/color
common/color: Minor cleanup
7 years ago
bunnei c333bfc193
Merge pull request #977 from bunnei/bgr565
gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM.
7 years ago
Lioncash e831b80d69 gl_rasterizer_cache: Invert conditional in LoadGLBuffer()
It's generally easier to follow code using conditionals that operate in
terms of the true case followed by the false case (no chance of
overlooking the exclamation mark).
7 years ago
Lioncash 434f352eb3 gl_rasterizer_cache: Use std::vector::assign in LoadGLBuffer() for the non-tiled case
resize() causes the vector to expand and zero out the added members to
the vector, however we can avoid this zeroing by using assign().

Given we have the pointer to the data we want to copy, we can calculate
the end pointer and directly copy the range of data without the
need to perform the resize() beforehand.
7 years ago
bunnei 5b1b758326
Merge pull request #987 from lioncash/vec
vector_math: Use variable template version of is_signed in Vec classes
7 years ago
bunnei dfc3eed0cb maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16.
- Used by Super Mario Odyssey (in game).
7 years ago
bunnei 06d0b96ca9 maxwell_to_gl: Implement PrimitiveTopology::Points.
- Used by Super Mario Odyssey (in game).
7 years ago
bunnei 4283019aa0 gl_shader_decompiler: Declare predicates on use.
- Used by Super Mario Odyssey (when going in game).
7 years ago
bunnei efe6b473c5 maxwell_3d: Ignore macros that have not been uploaded yet.
- Used by Super Mario Odyssey (in game).
7 years ago
Lioncash 557c466994 gl_rasterizer_cache: Make pointer const in LoadGLBuffer()
This is only ever read from, so we can make the data it's pointing to
const.
7 years ago
bunnei 25ba4d1b68
Merge pull request #982 from bunnei/stub-unk-63
gl_shader_decompiler: Stub input attribute Unknown_63.
7 years ago
Zach Hilman 668458525e vfs: Fix documentation 7 years ago
bunnei 2f4f4f147f
Merge pull request #986 from mailwl/acc-loadimage
Service/Account: stub LoadImage function
7 years ago
Zach Hilman 94cf327e77 vfs: Fix typo in VfsFilesystem docs 7 years ago
Zach Hilman 2b6128fe0b file_util: Use enum instead of bool for specifing path behavior 7 years ago
Zach Hilman dad2ae1ee0 loader: Remove unused IdentifyFile overload 7 years ago
Zach Hilman 656e97df16 vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectory 7 years ago
Zach Hilman 52a2e42cb9 file_sys: Add missing include in savedata_factory 7 years ago
Zach Hilman 4b471f0554 core: Port core to VfsFilesystem for file access 7 years ago
Zach Hilman aaa8fdea52 vfs: Add unreachable assert to file permissions converter 7 years ago
Zach Hilman 2de2ec25d6 vfs: Add RealVfsFilesystem implementation 7 years ago
Zach Hilman 3f82dad1e4 file_util: Add platform-specific slash option to SanitizePath 7 years ago
Zach Hilman 3bf488ce52 vfs: Add VfsFilesystem interface and default implementation 7 years ago
Zach Hilman b36dee364e filesystem: Remove unnecessary if conditions 7 years ago
bunnei ddec200290 gl_rasterizer: Do not render when no render target is configured.
- Used by Super Mario Odyssey.
7 years ago
bunnei cf917a5e93
Merge pull request #976 from bunnei/shader-imm
gl_shader_decompiler: Let OpenGL interpret floats.
7 years ago