Commit Graph

14276 Commits (d196ce0f716e8644eb1255946bdba757f5668053)
 

Author SHA1 Message Date
Vitor K 10ba8d16be Set render window to also accept focus via tabbing (Qt::StrongFocus) (#5089) 5 years ago
Fernando Sahmkow 7a2f60df26
Merge pull request #3565 from ReinUsesLisp/image-format
engines/const_buffer_engine_interface: Store image format and types
5 years ago
bunnei 8a6a25e4b6 services: hid: Stub InitializeSevenSixAxisSensor.
- Used by Super Smash Bros. Ultimate v7.0.0.
5 years ago
bunnei a60f34a850 services: time: Implement CalculateSpanBetween.
- Used by Super Smash Bros. Ultimate.
5 years ago
perillamint a429644672 am: Implement VR related APIs
Implement (and stub) VR related APIs in AM sysmodule.

This fixes issue #2938
5 years ago
ReinUsesLisp 2694552b7f renderer_vulkan/wrapper: Add owning handles 5 years ago
ReinUsesLisp 7413b30923 renderer_vulkan/wrapper: Add pool allocations owning templated class 5 years ago
ReinUsesLisp d8d392b39a renderer_vulkan/wrapper: Add owning handle templated class 5 years ago
ReinUsesLisp 60f351084a renderer_vulkan/wrapper: Add destroy and free overload set 5 years ago
ReinUsesLisp a9e4528d10 renderer_vulkan/wrapper: Add dispatch table and loaders 5 years ago
ReinUsesLisp 3f0b7673f0 renderer_vulkan/wrapper: Add exception class 5 years ago
ReinUsesLisp f5cee0e885 renderer_vulkan/wrapper: Add ToString function for VkResult 5 years ago
ReinUsesLisp 92c8d783b3 renderer_vulkan/wrapper: Add Vulakn wrapper and a span helper
The intention behind a Vulkan wrapper is to drop Vulkan-Hpp.

The issues with Vulkan-Hpp are:
- Regular breaks of the API.
- Copy constructors that do the same as the aggregates (fixed recently)
- External dynamic dispatch that is hard to remove
- Alias KHR handles with non-KHR handles making it impossible to use
smart handles on Vulkan 1.0 instances with extensions that were included
on Vulkan 1.1.
- Dynamic dispatchers silently change size depending on preprocessor
definitions. Different files will have different dispatch definitions,
generating all kinds of hard to debug memory issues.

In other words, Vulkan-Hpp is not "production ready" for our needs and
this wrapper aims to replace it without losing RAII and exception
safety.
5 years ago
ReinUsesLisp cedbe925cd engines/const_buffer_engine_interface: Store image format type
This information is required to properly implement SULD.B. It might also
be handy for all image operations, since it would allow us to implement
them on devices that require the image format to be specified (on
desktop, this would be AMD on OpenGL and Intel on OpenGL and Vulkan).
5 years ago
Mat M e84b760016
Merge pull request #3564 from makigumo/maxwell_to_vk_sscaled
maxwell_to_vk: implement signedscaled vertex formats
5 years ago
Dan 744b207d92 maxwell_to_vk: implement signedscaled vertex formats 5 years ago
bunnei 950b6dbc80
Merge pull request #3453 from FearlessTobi/remove-pause-lock
yuzu: Remove exit lock for game pausing
5 years ago
bunnei 5228bd0bb9 services: ldr: Fix MemoryState for read/write regions of NROs.
- Fixes #3541, used by Final Fantasy VIII Remastered.
5 years ago
James Rowe cf9c94d401 Address review and fix broken yuzu-tester build 5 years ago
ReinUsesLisp 46791c464a shader/conversion: Fix F2F rounding operations with different sizes
Rounding operations only matter when the conversion size of source and
destination is the same, i.e. .F16.F16, .F32.F32 and .F64.F64.

When there is a mismatch (.F16.F32), these bits are used for IEEE
rounding, we don't emulate this because GLSL and SPIR-V don't support
configuring it per operation.
5 years ago
bunnei 3194f14aca
Merge pull request #3550 from hughesjs/hughesjs-readme-changes-1
Minor Readme Changes
5 years ago
bunnei 8244536f7a
Merge pull request #3548 from jroweboy/use-plugins-dir
Use the correct directory for Qt Plugins
5 years ago
ReinUsesLisp 7617e88fb2 gl_rasterizer: Update stencil test regardless of it being disabled 5 years ago
ReinUsesLisp c310cef615 gl_rasterizer: Synchronize stencil testing on clears 5 years ago
bunnei 23c7dda710
Merge pull request #3544 from makigumo/myfork/patch-2
xmad: fix clang build error
5 years ago
bunnei e6aff11057
Merge pull request #3520 from ReinUsesLisp/legacy-varyings
gl_shader_decompiler: Implement legacy varyings
5 years ago
James Rowe 282adfc70b Frontend/GPU: Refactor context management
Changes the GraphicsContext to be managed by the GPU core. This
eliminates the need for the frontends to fool around with tricky
MakeCurrent/DoneCurrent calls that are dependent on the settings (such
as async gpu option).

This also refactors out the need to use QWidget::fromWindowContainer as
that caused issues with focus and input handling. Now we use a regular
QWidget and just access the native windowHandle() directly.

Another change is removing the debug tool setting in FrameMailbox.
Instead of trying to block the frontend until a new frame is ready, the
core will now take over presentation and draw directly to the window if
the renderer detects that its hooked by NSight or RenderDoc

Lastly, since it was in the way, I removed ScopeAcquireWindowContext and
replaced it with a simple subclass in GraphicsContext that achieves the
same result
5 years ago
James Hughes aa41fcc04e
Update README.md 5 years ago
James Hughes ac4154bfde
Minor ReadMe Changes
Added Discord shield and direct link to contribution guide
5 years ago
bunnei f8382c9d9d
Merge pull request #3524 from FearlessTobi/port-5106
Port citra-emu/citra#5106: "gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization"
5 years ago
James Rowe 6ca8637d4c Use the correct directory for Qt Plugins 5 years ago
Fernando Sahmkow 497f593525
Merge pull request #3543 from ReinUsesLisp/gl-depth-range
gl_rasterizer: Use transformed viewport for depth ranges
5 years ago
Fernando Sahmkow 7981910746
Merge pull request #3542 from namkazt/patch-10
Implement MME shadow RAM
5 years ago
bunnei dc4415811c
Merge pull request #3546 from FearlessTobi/pointer-buffer-size
sm/controller: Increase PointerBufferSize
5 years ago
FearlessTobi 4afebf26b6 sm/controller: Increase PointerBufferSize
This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.

Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize.
5 years ago
FearlessTobi 5d3b228409 audio_core: Accept Audren REV8
According to Ryujinx, REV8 only added changes on Performance buffer and Wavebuffer DSP command generation.

As we don't support any of those, we can just increment the revision number for now.
5 years ago
makigumo 5a5c6d4ed8 xmad: fix clang build error 5 years ago
bunnei e731c4b991
Merge pull request #3477 from FearlessTobi/webapplet-shit
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
5 years ago
namkazy fc37672f26 apply replay logic to all writes. remove replay from MacroInterpreter::Send (@fincs) 5 years ago
FearlessTobi 977418c65b core/web_browser: Allow WebApplet to exit gracefully when an error occurs
Currently, yuzu just freezes when an error occurs while Initializing the WebApplet.
From a user perspective, this obviously isn't great as the game just softlocks.
With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally.

This works around https://github.com/yuzu-emu/yuzu/issues/2852.
5 years ago
namkazy f66743cd0c maxwell_3d: change declaration order 5 years ago
namkazy d4e93cf38c maxwell_3d: init shadow_state 5 years ago
ReinUsesLisp bdcedc8506 gl_rasterizer: Use transformed viewport for depth ranges
Implement depth ranges using the transformed viewport instead of the
generic one. This matches the current Vulkan implementation but doesn't
support negative depth ranges. An update to glad is required for this.
5 years ago
namkazy 22f4268c2f maxwell_3d: this seem more correct. 5 years ago
namkazy 7051dc1902 maxwell_3d: update comments for shadow ram usage 5 years ago
Nguyen Dac Nam 01af036c1f marco_interpreter: write hw value when shadow ram requested 5 years ago
Nguyen Dac Nam 63c2635e6f maxwell_3d: track shadow ram ctrl and hw reg value 5 years ago
Nguyen Dac Nam dbfbe352e0 maxwell_3d: implement MME shadow RAM 5 years ago
bunnei e5bb5d13c4
Merge pull request #3531 from makigumo/yuzu_master
set: implement GetRegionCode
5 years ago
bunnei e70451d967
Merge pull request #3525 from FearlessTobi/linux-compile-error
input_common/udp: Fix Linux build by using a backwards compatible way of error checking
5 years ago