aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-27renderer_vulkan/wrapper: Add ToString function for VkResultReinUsesLisp
2020-03-27renderer_vulkan/wrapper: Add Vulakn wrapper and a span helperReinUsesLisp
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.
2020-03-27engines/const_buffer_engine_interface: Store image format typeReinUsesLisp
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).
2020-03-27maxwell_to_vk: implement signedscaled vertex formatsDan
2020-03-26Merge pull request #3453 from FearlessTobi/remove-pause-lockbunnei
yuzu: Remove exit lock for game pausing
2020-03-26services: ldr: Fix MemoryState for read/write regions of NROs.bunnei
- Fixes #3541, used by Final Fantasy VIII Remastered.
2020-03-25Address review and fix broken yuzu-tester buildJames Rowe
2020-03-26shader/conversion: Fix F2F rounding operations with different sizesReinUsesLisp
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.
2020-03-26gl_rasterizer: Update stencil test regardless of it being disabledReinUsesLisp
2020-03-26gl_rasterizer: Synchronize stencil testing on clearsReinUsesLisp
2020-03-25Merge pull request #3544 from makigumo/myfork/patch-2bunnei
xmad: fix clang build error
2020-03-25Merge pull request #3520 from ReinUsesLisp/legacy-varyingsbunnei
gl_shader_decompiler: Implement legacy varyings
2020-03-24Frontend/GPU: Refactor context managementJames Rowe
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
2020-03-24Merge pull request #3524 from FearlessTobi/port-5106bunnei
Port citra-emu/citra#5106: "gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization"
2020-03-23Merge pull request #3543 from ReinUsesLisp/gl-depth-rangeFernando Sahmkow
gl_rasterizer: Use transformed viewport for depth ranges
2020-03-23Merge pull request #3542 from namkazt/patch-10Fernando Sahmkow
Implement MME shadow RAM
2020-03-23sm/controller: Increase PointerBufferSizeFearlessTobi
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.
2020-03-23audio_core: Accept Audren REV8FearlessTobi
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.
2020-03-23xmad: fix clang build errormakigumo
2020-03-22Merge pull request #3477 from FearlessTobi/webapplet-shitbunnei
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
2020-03-22apply replay logic to all writes. remove replay from MacroInterpreter::Send ↵namkazy
(@fincs)
2020-03-22core/web_browser: Allow WebApplet to exit gracefully when an error occursFearlessTobi
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.
2020-03-22maxwell_3d: change declaration ordernamkazy
2020-03-22maxwell_3d: init shadow_statenamkazy
2020-03-22gl_rasterizer: Use transformed viewport for depth rangesReinUsesLisp
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.
2020-03-22maxwell_3d: this seem more correct.namkazy
2020-03-22maxwell_3d: update comments for shadow ram usagenamkazy
2020-03-22marco_interpreter: write hw value when shadow ram requestedNguyen Dac Nam
2020-03-22maxwell_3d: track shadow ram ctrl and hw reg valueNguyen Dac Nam
2020-03-22maxwell_3d: implement MME shadow RAMNguyen Dac Nam
2020-03-21Merge pull request #3531 from makigumo/yuzu_masterbunnei
set: implement GetRegionCode
2020-03-21Merge pull request #3525 from FearlessTobi/linux-compile-errorbunnei
input_common/udp: Fix Linux build by using a backwards compatible way of error checking
2020-03-20Merge pull request #3526 from FearlessTobi/bcat-disablebunnei
bcat: Disable Boxcat backend by default
2020-03-19Merge pull request #3505 from namkazt/patch-8bunnei
shader_decode: implement XMAD mode CSfu
2020-03-19set: implement GetRegionCodeDan
2020-03-18Merge pull request #3527 from FearlessTobi/output-modebunnei
yuzu: Save sound output mode and set it to Stereo by default
2020-03-18Merge pull request #3535 from ReinUsesLisp/gcc-warningsMat M
video_core: Silence misc warnings
2020-03-18vk_texture_cache: Silence misc warningsReinUsesLisp
2020-03-18vk_staging_buffer_pool: Silence unused constant warningReinUsesLisp
2020-03-18vk_rasterizer: Remove unused variableReinUsesLisp
2020-03-18vk_pipeline_cache: Remove unused variableReinUsesLisp
2020-03-18maxwell_to_vk: Sielence -Wswitch warningReinUsesLisp
2020-03-18gl_shader_decompiler: Remove deprecated function and its usagesReinUsesLisp
2020-03-18gl_rasterizer: Silence misc warningsReinUsesLisp
2020-03-18kepler_compute: Remove unused variablesReinUsesLisp
2020-03-18time_zone_content_manager: Fix out of bounds readReinUsesLisp
There were cases where raw_data didn't contain enough space to hold the zero terminator. This was caught with -fsanitize=address.
2020-03-18input_common/udp: Fix clang build issuesReinUsesLisp
2020-03-18astc: Fix clang build issuesReinUsesLisp
2020-03-18gl_shader_decompiler: Don't redeclare gl_VertexID and gl_InstanceIDReinUsesLisp
2020-03-17Merge pull request #3510 from FernandoS27/dirty-writeMat M
DirtyFlags: relax need to set render_targets as dirty