summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-11gl_rasterizer: Implement render target format RGBA8_SNORM.bunnei
- Used by Super Mario Odyssey.
2018-08-11Merge pull request #1016 from lioncash/videobunnei
video_core: Get rid of global variable g_toggle_framelimit_enabled
2018-08-11Merge pull request #1003 from lioncash/varbunnei
video_core: Use variable template variants of type_traits interfaces where applicable
2018-08-11Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more ↵greggameplayer
(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
2018-08-10video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash
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.
2018-08-10renderer_base: Remove unused kFramebuffer enumerationLioncash
This is entirely unused and can be removed.
2018-08-10video_core: Remove unused Renderer enumerationLioncash
Currently we only have an OpenGL renderer, so this is unused in code (and occupies the Renderer identifier in the VideoCore namespace).
2018-08-10qt/game_list: Resolve truncation warning within GameListItemPath's constructorLioncash
Silences a warning about truncating from size_t to u32
2018-08-10gt/game_list: Use std::array in GameListItemPath's data() functionLioncash
We don't need to use a heap-allocated std::vector here, given we explicitly know the bounds.
2018-08-10qt/game_list: Remove redundant base class constructor from initializer listLioncash
This is called automatically anyways.
2018-08-10maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.bunnei
- Used by Super Mario Odyssey.
2018-08-10maxwell_to_gl: Implement VertexAttribute::Size::Size_32_32_32.bunnei
- Used by Super Mario Odyssey.
2018-08-10Merge pull request #1004 from lioncash/unusedbunnei
gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces()
2018-08-10Merge pull request #1008 from yuzu-emu/revert-697-disable-depth-cullbunnei
Revert "gl_state: Temporarily disable culling and depth test."
2018-08-10Revert "gl_state: Temporarily disable culling and depth test."bunnei
2018-08-09gl_rasterizer_cache: Remove unused viewport parameter of ↵Lioncash
GetFramebufferSurfaces()
2018-08-09video_core: Use variable template variants of type_traits interfaces where ↵Lioncash
applicable
2018-08-09textures: Refactor out for Texture/Depth FormatFromPixelFormat.bunnei
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