summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* server_session: Provide more useful information and don't crash on bad IPC ↵Gravatar bunnei2018-08-111-0/+8
| | | | request.
* Merge pull request #1010 from bunnei/unk-vert-attrib-shaderGravatar bunnei2018-08-112-10/+11
|\ | | | | gl_shader_decompiler: Improve handling of unknown input/output attributes.
| * gl_shader_decompiler: Improve handling of unknown input/output attributes.Gravatar bunnei2018-08-112-10/+11
| |
* | Merge pull request #1009 from bunnei/rg8-rgba8-snormGravatar bunnei2018-08-114-64/+93
|\ \ | | | | | | Implement render target formats RGBA8_SNORM and RG8_SNORM.
| * | gl_rasterizer: Implement render target format RG8_SNORM.Gravatar bunnei2018-08-114-8/+18
| | | | | | | | | | | | - Used by Super Mario Odyssey.
| * | gl_rasterizer: Implement render target format RGBA8_SNORM.Gravatar bunnei2018-08-114-64/+83
| |/ | | | | | | - Used by Super Mario Odyssey.
* | Merge pull request #970 from DarkLordZach/loader-errorsGravatar bunnei2018-08-1117-179/+248
|\ \ | | | | | | loader: Add more descriptive errors
| * | game_list: Reorder error checksGravatar Zach Hilman2018-08-091-2/+1
| | | | | | | | | | | | clang-format fix
| * | loader: Add more descriptive errorsGravatar Zach Hilman2018-08-0917-179/+249
| | | | | | | | | Full list of new errors and descriptions in core/loader/loader.h
* | | Merge pull request #1018 from Subv/ssy_syncGravatar bunnei2018-08-112-8/+38
|\ \ \ | |_|/ |/| | GPU/Shader: Implemented SSY and SYNC as a set_target/jump pair.
| * | GPU/Shader: Don't predicate instructions that don't have a predicate field ↵Gravatar Subv2018-08-112-2/+13
| | | | | | | | | | | | (SSY).
| * | GPU/Shaders: Implemented SSY and SYNC as a way to modify control flow during ↵Gravatar Subv2018-08-111-6/+25
| | | | | | | | | | | | | | | | | | shader execution. SSY sets the target label to jump to when the SYNC instruction is executed.
* | | Merge pull request #1016 from lioncash/videoGravatar bunnei2018-08-118-35/+44
|\ \ \ | | | | | | | | video_core: Get rid of global variable g_toggle_framelimit_enabled
| * | | video_core; Get rid of global g_toggle_framelimit_enabled variableGravatar Lioncash2018-08-108-30/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
| * | | renderer_base: Remove unused kFramebuffer enumerationGravatar Lioncash2018-08-101-3/+0
| | | | | | | | | | | | | | | | This is entirely unused and can be removed.
| * | | video_core: Remove unused Renderer enumerationGravatar Lioncash2018-08-101-2/+0
| | | | | | | | | | | | | | | | | | | | Currently we only have an OpenGL renderer, so this is unused in code (and occupies the Renderer identifier in the VideoCore namespace).
* | | | Merge pull request #1003 from lioncash/varGravatar bunnei2018-08-112-4/+2
|\ \ \ \ | | | | | | | | | | video_core: Use variable template variants of type_traits interfaces where applicable
| * | | | video_core: Use variable template variants of type_traits interfaces where ↵Gravatar Lioncash2018-08-092-4/+2
| | | | | | | | | | | | | | | | | | | | applicable
* | | | | Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more ↵Gravatar greggameplayer2018-08-114-19/+92
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (R16_UNORM needed by Fate Extella) (#848) * Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats Do a separate function in order to get Bytes Per Pixel of DepthFormat Apply the new function in gpu.h delete unneeded white space * correct merging error
* | | | qt/game_list: Resolve truncation warning within GameListItemPath's constructorGravatar Lioncash2018-08-101-4/+4
| | | | | | | | | | | | | | | | Silences a warning about truncating from size_t to u32
* | | | gt/game_list: Use std::array in GameListItemPath's data() functionGravatar Lioncash2018-08-101-7/+8
| | | | | | | | | | | | | | | | | | | | We don't need to use a heap-allocated std::vector here, given we explicitly know the bounds.
* | | | qt/game_list: Remove redundant base class constructor from initializer listGravatar Lioncash2018-08-101-3/+1
| |/ / |/| | | | | | | | This is called automatically anyways.
* | | maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.Gravatar bunnei2018-08-101-0/+1
| | | | | | | | | | | | - Used by Super Mario Odyssey.
* | | maxwell_to_gl: Implement VertexAttribute::Size::Size_32_32_32.Gravatar bunnei2018-08-101-0/+2
| | | | | | | | | | | | - Used by Super Mario Odyssey.
* | | Merge pull request #1004 from lioncash/unusedGravatar bunnei2018-08-103-8/+6
|\ \ \ | | | | | | | | gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces()
| * | | gl_rasterizer_cache: Remove unused viewport parameter of ↵Gravatar Lioncash2018-08-093-8/+6
| |/ / | | | | | | | | | GetFramebufferSurfaces()
* | | Merge pull request #1008 from yuzu-emu/revert-697-disable-depth-cullGravatar bunnei2018-08-101-3/+1
|\ \ \ | | | | | | | | Revert "gl_state: Temporarily disable culling and depth test."
| * | | Revert "gl_state: Temporarily disable culling and depth test."Gravatar bunnei2018-08-101-3/+1
| | |/ | |/|
* / | textures: Refactor out for Texture/Depth FormatFromPixelFormat.Gravatar bunnei2018-08-095-181/+31
|/ /
* | Merge pull request #995 from bunnei/gl-buff-boundsGravatar bunnei2018-08-091-10/+12
|\ \ | |/ |/| gl_rasterizer_cache: Add bounds checking for gl_buffer copies.
| * gl_rasterizer_cache: Add bounds checking for gl_buffer copies.Gravatar bunnei2018-08-091-10/+12
| |
* | Merge pull request #997 from lioncash/const-funcGravatar bunnei2018-08-094-4/+4
|\ \ | | | | | | core: Make function reference parameters const where applicable
| * | buffer_queue: Make reference parameter of SetPreallocatedBuffer constGravatar Lioncash2018-08-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter constGravatar Lioncash2018-08-092-2/+2
| | | | | | | | | | | | | | | This function doesn't modify anything within the reference Thread instance.
* | | Merge pull request #989 from lioncash/logGravatar bunnei2018-08-092-0/+16
|\ \ \ | | | | | | | | common/logging: Add missing service log categories
| * | | common/logging: Add missing service log categoriesGravatar Lioncash2018-08-082-0/+16
| | | | | | | | | | | | | | | | These weren't added when the services were introduced.
* | | | Merge pull request #990 from lioncash/entryGravatar bunnei2018-08-092-9/+12
|\ \ \ \ | | | | | | | | | | fsp_srv: Emplace entries first when building index instead of emplacing last
| * | | | fsp_srv: Use std::string_view's copy() function instead of strncpy()Gravatar Lioncash2018-08-082-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | fsp_srv: Emplace entries first when building index instead of emplacing lastGravatar Lioncash2018-08-081-2/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #1001 from lioncash/reserveGravatar bunnei2018-08-091-0/+2
|\ \ \ \ | | | | | | | | | | gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()
| * | | | gl_shader_decompiler: Reserve element memory beforehand in BuildRegisterList()Gravatar Lioncash2018-08-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Avoids potentially perfoming multiple reallocations when we know the total amount of memory we need beforehand.
* | | | | Merge pull request #897 from DarkLordZach/vfs-accuracy-2Gravatar bunnei2018-08-0921-129/+602
|\ \ \ \ \ | |_|_|_|/ |/| | | | vfs: Add VfsFilesystem and fix RealVfs* implementations
| * | | | vfs: Fix documentationGravatar Zach Hilman2018-08-082-2/+4
| | | | |
| * | | | vfs: Fix typo in VfsFilesystem docsGravatar Zach Hilman2018-08-082-4/+5
| | | | |
| * | | | file_util: Use enum instead of bool for specifing path behaviorGravatar Zach Hilman2018-08-084-24/+37
| | | | |
| * | | | loader: Remove unused IdentifyFile overloadGravatar Zach Hilman2018-08-082-12/+0
| | | | |
| * | | | vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectoryGravatar Zach Hilman2018-08-081-2/+10
| | | | |
| * | | | file_sys: Add missing include in savedata_factoryGravatar Zach Hilman2018-08-081-0/+1
| | | | |
| * | | | core: Port core to VfsFilesystem for file accessGravatar Zach Hilman2018-08-0812-22/+52
| | | | |
| * | | | vfs: Add unreachable assert to file permissions converterGravatar Zach Hilman2018-08-081-1/+3
| | | | |