Zach Hilman
4c0e453e08
svc: Return random seed for svcGetInfo RandomEntropy
7 years ago
Zach Hilman
6af690c2b8
settings: Add config option to set RNG seed
7 years ago
Zach Hilman
cc1e6ccb3d
csrng: Use std::mt19937 engine for random number generation
7 years ago
bunnei
3632616bdc
Merge pull request #1660 from Tinob/master
Map more missing opengl states
7 years ago
bunnei
ef2f9e1da6
Merge pull request #1652 from FreddyFunk/static-cast
configure_system: Fix compiler warning
7 years ago
bunnei
847793a3a5
Merge pull request #1664 from FreddyFunk/cast2
gl_rasterizer: Fix compiler warnings
7 years ago
Rodolfo Bogado
2cd792b3cf
Use core extensions when available to set max anisotropic filtering level
7 years ago
Rodolfo Bogado
32412d2a33
Improve state management by splitting some of the states id separated function to avoid a full apply overhead
7 years ago
Rodolfo Bogado
a7c68376fe
Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors.
7 years ago
Rodolfo Bogado
6233b6b235
set sampler max lod, min lod, lod bias and max anisotropy
7 years ago
bunnei
2a2bd024ed
Merge pull request #1669 from ReinUsesLisp/fixup-gs
gl_shader_decompiler: Guard out of bound geometry shader input reads
7 years ago
bunnei
3da5b93c2d
Merge pull request #1663 from lioncash/raster
rasterizer_cache: Remove reliance on the System singleton
7 years ago
bunnei
6b6e7adc8a
Merge pull request #1648 from FernandoS27/texs-3-array
Implement 3 coordinate array in TEXS instruction
7 years ago
bunnei
cceecc05e3
Merge pull request #1654 from degasus/dirty_flags
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
James Rowe
e793491ed0
Merge pull request #1656 from ogniK5377/message-queue
Ability to switch between docked and undocked mode in-game
7 years ago
James Rowe
d14684bf96
Merge pull request #1661 from lioncash/dtor
rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject
7 years ago
ReinUsesLisp
e915947a0a
gl_shader_decompiler: Guard out of bound geometry shader input reads
Geometry shaders follow a pattern that results in out of bound reads.
This pattern is:
- VSETP to predicate
- Use that predicate to conditionally set a register a big number
- Use the register to access geometry shaders
At the time of writing this commit I don't know what's the intent of
this number. Some drivers argue about these out of bound reads. To avoid
this issue, input reads are guarded limiting reads to the highest
posible vertex input of the current topology (e.g. points to 1 and
triangles to 3).
7 years ago
Frederic Laing
b1d82f91b8
gl_rasterizer: Fix compiler warnings
7 years ago
Lioncash
b182af1e9b
rasterizer_cache: Remove reliance on the System singleton
Rather than have a transparent dependency, we can make it explicit in
the interface. This also gets rid of the need to put the core include in
a header.
7 years ago
Lioncash
8280ddfd1c
rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject
Ensures that destruction will always do the right thing in any context.
7 years ago
Lioncash
7364c759a5
gl_resource_manager: Amend clang-format discrepancies
Fixes the buildbot.
7 years ago
bunnei
c9dee07770
Merge pull request #1658 from ogniK5377/holdtype-style
Updated npad styles on holdtype switches
7 years ago
David
b2a5c2529a
svcBreak now dumps information from the debug buffer passed ( #1646 )
* svcBreak now dumps information from the debug buffer passed
info1 and info2 seem to somtimes hold an address to a buffer, this is usually 4 bytes or the size of the int and contains an error code. There's other circumstances where it can be something different so we hexdump these to examine them at a later date.
* Addressed comments
7 years ago
bunnei
46c2deaf1e
Merge pull request #1655 from ogniK5377/shantae
Implement acc:TrySelectUserWithoutInteraction
7 years ago
FernandoS27
aea243d21e
Correct issue where texturelod could not be applied to 2darrayshadow
7 years ago
David Marcec
ab3513b7b3
Renamed CheckIfOperationChanged to OnDockedModeChanged
7 years ago
FernandoS27
df2eb1cfdb
Implement 3 coordinate array in TEXS instruction
7 years ago
David Marcec
8b8c0ee2fc
Updated npad styles on holdtype switches
Fixes input for megaman
7 years ago
David Marcec
22be70c387
Fixups
7 years ago
bunnei
9e42ffa54e
Merge pull request #1630 from bunnei/fix-mapbufferex
memory_manager: Do not MapBufferEx over already in use memory.
7 years ago
bunnei
d3c69e8499
Merge pull request #1635 from Tinob/master
Implement multi-target viewports and blending
7 years ago
bunnei
2c91c19d7c
Merge pull request #1653 from degasus/profiler
gl_rasterizer: Update microprofile scopes.
7 years ago
David Marcec
2848c8b088
Ability to switch between docked and undocked mode in-game
Started implementation of the AM message queue mainly used in state getters. Added the ability to switch docked mode whilst in game without stopping emulation. Also removed some things which shouldn't be labelled as stubs as they're implemented correctly
7 years ago
David Marcec
a6d347c103
fixed spelling error
7 years ago
David Marcec
04b01f5db2
Added missing log
7 years ago
David Marcec
d018183d4e
Implement acc:TrySelectUserWithoutInteraction
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
7 years ago
Markus Wick
755aa28572
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
Markus Wick
29d148c063
gl_rasterizer: Split VAO and VB setup functions.
7 years ago
Markus Wick
6546a1aa88
gl_rasterizer_cache: Add profiles for Copy and Blit.
They were missed, and Copy is very high in profile here. It doesn't block the GPU,
but it stalls the driver thread. So with our bad GL instructions, this might block quite a while.
7 years ago
Markus Wick
6bd55db4ca
gl_resource_manager: Profile creation and deletion.
7 years ago
Markus Wick
a485e5210c
gl_stream_buffer: Profile orphaning of stream buffer.
This serialize to the driver thread and so it may block for a while.
So if it is in the benchmark, we get noticed if it happens too often.
7 years ago
Markus Wick
399d30b4bf
microprofile: Drop ReleaseActiveBuffer scope.
This was created with the unfinished resampling PR in mind.
As the resampling is now on the audio thread, we don't need to care about this here any more.
7 years ago
bunnei
efb7ec9063
Merge pull request #1649 from degasus/split_resource_manager
gl_resource_manager: Split implementations in .cpp file.
7 years ago
Frederic Laing
c1e5c112c6
configure_system: Fix compiler warning
7 years ago
Markus Wick
4da1b985fd
gl_resource_manager: Split implementations in .cpp file.
Those implementations are quite costly, so there is no need to inline them to the caller.
Ressource deletion is often a performance bug, so in this way, we support to add breakpoints to them.
7 years ago
bunnei
722303d3f3
Merge pull request #1616 from FernandoS27/cube-array
Implement Cube Arrays
7 years ago
bunnei
763e3f25b3
Merge pull request #1633 from ogniK5377/reload-input
Fixed HID crash when launching more than 1 game & signaled styleset change event
7 years ago
bunnei
e2ba7ed189
Merge pull request #1441 from CarlKenner/DebuggerLog
logging: Add DebuggerBackend for logging to Visual Studio
7 years ago
bunnei
726d32720f
Merge pull request #1639 from DarkLordZach/open-yuzu-folder
qt: Add help option to open yuzu folder
7 years ago
Rodolfo Bogado
92d9f97224
Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets.
7 years ago