Subv
21fa6cb72c
CPU/Timing: Use an approximated amortized amount of ticks when advancing timing.
We divide the number of ticks to add by the number of cores (4) to obtain a more or less rough estimate of the actual number of ticks added. This assumes that all 4 cores are doing similar work. Previously we were adding ~4 times the number of ticks, thus making the games think that time was going way too fast.
This lets us bypass certain hangs in some games like Breath of the Wild.
We should modify our CoreTiming to support multiple cores (both running in a single thread, and in multiple host threads).
7 years ago
Subv
a063b51094
Kernel/SVC: Don't reschedule the current core when creating a new thread.
The current core may have nothing to do with the core where the new thread was scheduled to run. In case it's the same core, then the following PrepareReshedule call will take care of that.
7 years ago
bunnei
d21901f7f2
Merge pull request #1029 from bunnei/fix-out-attrib
gl_shader_decompiler: Fix SetOutputAttributeToRegister empty check.
7 years ago
bunnei
7f1a8483e9
gl_shader_decompiler: Fix SetOutputAttributeToRegister empty check.
7 years ago
bunnei
9a7e916910
Merge pull request #922 from lioncash/cmake
CMakeLists: Change MSVC14 variable to MSVC_VERSION
7 years ago
bunnei
e579be5fe2
Merge pull request #1026 from ogniK5377/retro-city-rampage
Stub UpdateUserPresence
7 years ago
bunnei
eef0068035
Merge pull request #1027 from bunnei/fix-kil
gl_shader_decompiler: Fix GLSL compiler error with KIL instruction.
7 years ago
bunnei
7031b3b762
gl_shader_decompiler: Fix GLSL compiler error with KIL instruction.
7 years ago
David Marcec
fd0319efd5
Stub UpdateUserPresence
Needed for Retro City Rampage to go in game
7 years ago
bunnei
6a396d2129
Merge pull request #1022 from bunnei/fix-splat
Several Friend service fixes
7 years ago
bunnei
db6b59b1a6
Merge pull request #1020 from lioncash/namespace
core: Namespace EmuWindow
7 years ago
bunnei
947d80c8ce
Merge pull request #1021 from lioncash/warn
gl_rasterizer: Silence implicit truncation warning in SetupShaders()
7 years ago
bunnei
f807476d29
Merge pull request #1024 from Subv/blend_gl
GPU/Maxwell3D: Implemented an alternative set of blend factors.
7 years ago
bunnei
7478448af7
Merge pull request #1023 from Subv/invalid_attribs
RasterizerGL: Ignore invalid/unset vertex attributes.
7 years ago
Subv
45ee826309
GPU/Maxwell3D: Implemented an alternative set of blend factors.
These are used by nouveau and some games like SMO.
7 years ago
greggameplayer
974a959892
Implement R8_UINT RenderTargetFormat & PixelFormat ( #1014 )
- Used by Go Vacation
7 years ago
Subv
8582c5bb3e
RasterizerGL: Ignore invalid/unset vertex attributes.
This should make the es2gears example not crash anymore.
7 years ago
bunnei
94a58af2a2
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
7 years ago
bunnei
3c1015b576
friend: Fix CreateFriendService to return an IFriendService interface.
7 years ago
bunnei
3d00bc6ad7
server_session: Provide more useful information and don't crash on bad IPC request.
7 years ago
Lioncash
9aead11e72
gl_rasterizer: Silence implicit truncation warning in SetupShaders()
Previously this would warn of truncating a std::size_t to a u32. This is
safe because we'll obviously never have more than UINT32_MAX amount of
uniform buffers.
7 years ago
Lioncash
53e86e35eb
core: Namespace EmuWindow
Gets the class out of the global namespace.
7 years ago
bunnei
20f29b2528
Merge pull request #1010 from bunnei/unk-vert-attrib-shader
gl_shader_decompiler: Improve handling of unknown input/output attributes.
7 years ago
bunnei
38a6ba02aa
Merge pull request #1009 from bunnei/rg8-rgba8-snorm
Implement render target formats RGBA8_SNORM and RG8_SNORM.
7 years ago
Lioncash
9ab8428357
CMakeLists: lowercase find_library usage
The rest of the CMake script uses lowercase for commands (which is the
general CMake style), making it more consistent with surrounding code.
7 years ago
Lioncash
15456eb7b2
CMakeLists: Change MSVC14 variable to MSVC_VERSION
Use of the MSVC14 variable is discouraged in the CMake documentation
(which makes sense, since MSVC_VERSION is the more general appliable
variable).
7 years ago
bunnei
5fd0744a63
gl_shader_decompiler: Improve handling of unknown input/output attributes.
7 years ago
bunnei
db008ea9ac
Merge pull request #970 from DarkLordZach/loader-errors
loader: Add more descriptive errors
7 years ago
bunnei
5cd97896bf
Merge pull request #1018 from Subv/ssy_sync
GPU/Shader: Implemented SSY and SYNC as a set_target/jump pair.
7 years ago
bunnei
8cb27339a2
gl_rasterizer: Implement render target format RG8_SNORM.
- Used by Super Mario Odyssey.
7 years ago
bunnei
e8a695064b
gl_rasterizer: Implement render target format RGBA8_SNORM.
- Used by Super Mario Odyssey.
7 years ago
Subv
5d543d88b9
GPU/Shader: Don't predicate instructions that don't have a predicate field (SSY).
7 years ago
Subv
995c819038
GPU/Shaders: Implemented SSY and SYNC as a way to modify control flow during shader execution.
SSY sets the target label to jump to when the SYNC instruction is executed.
7 years ago
bunnei
83274a5a47
Merge pull request #1016 from lioncash/video
video_core: Get rid of global variable g_toggle_framelimit_enabled
7 years ago
bunnei
3a13659486
Merge pull request #1003 from lioncash/var
video_core: Use variable template variants of type_traits interfaces where applicable
7 years ago
greggameplayer
3aa4040888
Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more (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
7 years ago
James Rowe
e1ee579f98
Merge pull request #1015 from lioncash/gamelist
qt/gamelist: Minor cleanup-related changes
7 years ago
Lioncash
38049444da
video_core; Get rid of global g_toggle_framelimit_enabled variable
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.
7 years ago
Lioncash
0170c296f2
renderer_base: Remove unused kFramebuffer enumeration
This is entirely unused and can be removed.
7 years ago
Lioncash
6e352a55d5
video_core: Remove unused Renderer enumeration
Currently we only have an OpenGL renderer, so this is unused in code
(and occupies the Renderer identifier in the VideoCore namespace).
7 years ago
Lioncash
bc6245290b
qt/game_list: Resolve truncation warning within GameListItemPath's constructor
Silences a warning about truncating from size_t to u32
7 years ago
Lioncash
89aed5c0a2
gt/game_list: Use std::array in GameListItemPath's data() function
We don't need to use a heap-allocated std::vector here, given we
explicitly know the bounds.
7 years ago
Lioncash
1eaa022169
qt/game_list: Remove redundant base class constructor from initializer list
This is called automatically anyways.
7 years ago
bunnei
c1dbe03971
Merge pull request #1007 from MerryMage/dynarmic
dynarmic: Update to 0118ee0
7 years ago
bunnei
4d76d14303
Merge pull request #1011 from bunnei/misc-vtx-fmt
Implements VertexAttributes Size_32_32_32 and Size_8_8.
7 years ago
bunnei
e210c31bb9
maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.
- Used by Super Mario Odyssey.
7 years ago
bunnei
9502d85a2d
maxwell_to_gl: Implement VertexAttribute::Size::Size_32_32_32.
- Used by Super Mario Odyssey.
7 years ago
bunnei
f87b1c73f4
Merge pull request #1004 from lioncash/unused
gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces()
7 years ago
bunnei
ca79bac393
Merge pull request #1008 from yuzu-emu/revert-697-disable-depth-cull
Revert "gl_state: Temporarily disable culling and depth test."
7 years ago
bunnei
85902f3b2f
Merge pull request #1002 from bunnei/refactor-tex-fmt
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
7 years ago