summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-09loader: Add more descriptive errorsZach Hilman
Full list of new errors and descriptions in core/loader/loader.h
2018-08-09Merge pull request #995 from bunnei/gl-buff-boundsbunnei
gl_rasterizer_cache: Add bounds checking for gl_buffer copies.
2018-08-09Merge pull request #997 from lioncash/const-funcbunnei
core: Make function reference parameters const where applicable
2018-08-09Merge pull request #989 from lioncash/logbunnei
common/logging: Add missing service log categories
2018-08-09Merge pull request #990 from lioncash/entrybunnei
fsp_srv: Emplace entries first when building index instead of emplacing last
2018-08-09Merge pull request #1001 from lioncash/reservebunnei
gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()
2018-08-09Merge pull request #897 from DarkLordZach/vfs-accuracy-2bunnei
vfs: Add VfsFilesystem and fix RealVfs* implementations
2018-08-09gl_rasterizer_cache: Add bounds checking for gl_buffer copies.bunnei
2018-08-09Merge pull request #991 from bunnei/ignore-macbunnei
maxwell_3d: Ignore macros that have not been uploaded yet.
2018-08-09Implement SNORM for BC5/DXN2 (#998)Khangaroo
* Implement BC5/DXN2 (#996) - Used by Kirby Star Allies. * Implement BC5/DXN2 SNORM UNORM for Kirby Star Allies SNORM for Super Mario Odyssey
2018-08-09gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()Lioncash
Avoids potentially perfoming multiple reallocations when we know the total amount of memory we need beforehand.
2018-08-09gl_rasterizer_cache: Avoid iterator invalidation issues within ↵Lioncash
InvalidateRegion() A range-based for loop can't be used when the container being iterated is also being erased from.
2018-08-09Merge pull request #992 from bunnei/declr-predbunnei
gl_shader_decompiler: Declare predicates on use.
2018-08-09Merge pull request #994 from lioncash/constbunnei
gl_rasterizer_cache: Use std::vector::assign vs resize() then copy for the non-tiled case
2018-08-09Merge pull request #993 from bunnei/smo-vtx-ptsbunnei
Implement VertexAttribute::Size::Size_16_16_16_16 and PrimitiveTopology::Points.
2018-08-09Merge pull request #984 from bunnei/rt-nonebunnei
gl_rasterizer: Do not render when no render target is configured.
2018-08-09Implement BC5/DXN2 (#996)Khangaroo
- Used by Kirby Star Allies.
2018-08-09buffer_queue: Make reference parameter of SetPreallocatedBuffer constLioncash
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.
2018-08-09hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter constLioncash
This function doesn't modify anything within the reference Thread instance.
2018-08-09Merge pull request #988 from lioncash/colorbunnei
common/color: Minor cleanup
2018-08-08Merge pull request #977 from bunnei/bgr565bunnei
gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM.
2018-08-08gl_rasterizer_cache: Invert conditional in LoadGLBuffer()Lioncash
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).
2018-08-08gl_rasterizer_cache: Use std::vector::assign in LoadGLBuffer() for the ↵Lioncash
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.
2018-08-08Merge pull request #987 from lioncash/vecbunnei
vector_math: Use variable template version of is_signed in Vec classes
2018-08-08maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16.bunnei
- Used by Super Mario Odyssey (in game).
2018-08-08maxwell_to_gl: Implement PrimitiveTopology::Points.bunnei
- Used by Super Mario Odyssey (in game).
2018-08-08gl_shader_decompiler: Declare predicates on use.bunnei
- Used by Super Mario Odyssey (when going in game).
2018-08-08maxwell_3d: Ignore macros that have not been uploaded yet.bunnei
- Used by Super Mario Odyssey (in game).
2018-08-08gl_rasterizer_cache: Make pointer const in LoadGLBuffer()Lioncash
This is only ever read from, so we can make the data it's pointing to const.
2018-08-08Merge pull request #982 from bunnei/stub-unk-63bunnei
gl_shader_decompiler: Stub input attribute Unknown_63.
2018-08-08vfs: Fix documentationZach Hilman
2018-08-08Merge pull request #986 from mailwl/acc-loadimagebunnei
Service/Account: stub LoadImage function
2018-08-08vfs: Fix typo in VfsFilesystem docsZach Hilman
2018-08-08file_util: Use enum instead of bool for specifing path behaviorZach Hilman
2018-08-08loader: Remove unused IdentifyFile overloadZach Hilman
2018-08-08vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectoryZach Hilman
2018-08-08file_sys: Add missing include in savedata_factoryZach Hilman
2018-08-08core: Port core to VfsFilesystem for file accessZach Hilman
2018-08-08vfs: Add unreachable assert to file permissions converterZach Hilman
2018-08-08vfs: Add RealVfsFilesystem implementationZach Hilman
2018-08-08file_util: Add platform-specific slash option to SanitizePathZach Hilman
2018-08-08vfs: Add VfsFilesystem interface and default implementationZach Hilman
2018-08-08filesystem: Remove unnecessary if conditionsZach Hilman
2018-08-08gl_rasterizer: Do not render when no render target is configured.bunnei
- Used by Super Mario Odyssey.
2018-08-08Merge pull request #976 from bunnei/shader-immbunnei
gl_shader_decompiler: Let OpenGL interpret floats.
2018-08-08Merge pull request #981 from bunnei/cbuf-corruptbunnei
maxwell_3d: Use correct const buffer size and check bounds.
2018-08-08Merge pull request #978 from bunnei/fixioctlbunnei
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
2018-08-08fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash
Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.
2018-08-08fsp_srv: Emplace entries first when building index instead of emplacing lastLioncash
The current way were doing it would require copying a 768 character buffer (part of the Entry struct) to the new element in the vector. Given it's a plain array, std::move won't eliminate that. Instead, we can emplace an instance directly into the destination buffer and then fill it out, avoiding the need to perform any unnecessary copies. Given this is done in a loop, we can request the destination to allocate all of the necessary memory ahead of time, avoiding the need to potentially keep reallocating over and over on every few insertions into the vector.
2018-08-08Merge pull request #985 from bunnei/rt-r11g11b10bunnei
gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.