aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-04-25Fix the mistake in the port and update the comment for clarityVitor Kiguchi
2020-04-25Merge pull request #3721 from ReinUsesLisp/sort-devicesbunnei
vulkan/wrapper: Sort physical devices
2020-04-25Merge pull request #3734 from ReinUsesLisp/half-float-modsbunnei
decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bits
2020-04-24Merge pull request #3780 from lioncash/processbunnei
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
2020-04-24vk_rasterizer: Pack texceptions and color formats on invalid formatsReinUsesLisp
Sometimes for unknown reasons NVN games can bind a render target format of 0. This may be a yuzu bug. With the commits before this the formats were specified without being "packed", assuming all formats and texceptions will be written like in the color_attachments vector. To address this issue, iterate all render targets and pack them as they are valid. This way they will match color_attachments. - Fixes validation errors and graphical issues on Breath of the Wild.
2020-04-24Add Restore Defaults and Clear options to hotkeysKewlan
2020-04-24Merge pull request #3749 from ReinUsesLisp/lea-immbunnei
shader/arithmetic_integer: Fix LEA_IMM encoding
2020-04-24Revert: shader_decode: Fix LD, LDG when track constant buffer.Fernando Sahmkow
2020-04-24Fix -Wdeprecated-copy warning.Markus Wick
2020-04-24Fix -Werror=conversion error.Markus Wick
2020-04-24vi: Don't let uninitialized data pass as a response for SetBufferCountDavid Marcec
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
2020-04-24Merge pull request #3760 from Morph1984/trailing-filedir-separatorbunnei
frontend/filesystem: Add a trailing separator to the string path
2020-04-24physical_core: Make use of std::make_unique instead of std::make_shared in ctorLioncash
We can also allow unicorn to be constructed in 32-bit mode or 64-bit mode to satisfy the need for both interpreter instances. Allows this code to compile successfully of non x86-64 architectures.
2020-04-23Merge pull request #3777 from lioncash/warnRodrigo Locatti
page_table: Remove unused captures
2020-04-23Merge pull request #3778 from lioncash/unused-varRodrigo Locatti
svc: Remove unused variable
2020-04-23shared_memory: Amend doxygen referenceLioncash
Amends the parameter to match the documentation reference. Resolves a -Wdocumentation warning with clang.
2020-04-23svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemoryLioncash
These were lost in the re-implementation of the virtual memory manager.
2020-04-23svc: Remove unused variableLioncash
Since the VMM refactor, this is no longer used or needed.
2020-04-23page_table: Remove unused capturesLioncash
Any time the lambda function is called, the permission being used in the capture would be passed in as an argument to the lambda, so the capture is unnecessary.
2020-04-23decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bitsReinUsesLisp
The encoding for negation and absolute value was wrong. Extracting is now done manually. Similar instructions having different encodings is the rule, not the exception. To keep sanity and readability I preferred to extract the desired bit manually. This is implemented against nxas: https://github.com/ReinUsesLisp/nxas/blob/8dbc38995711cc12206aa370145a3a02665fd989/table.h#L68 That is itself tested against nvdisasm (Nvidia's official disassembler).
2020-04-23shader/texture: Support multiple unknown sampler propertiesReinUsesLisp
This allows deducing some properties from the texture instruction before asking the runtime. By doing this we can handle type mismatches in some instructions from the renderer instead of the shader decoder. Fixes texelFetch issues with games using 2D texture instructions on a 1D sampler.
2020-04-23shader_ir: Turn classes into data structuresReinUsesLisp
2020-04-23vk_rasterizer: Fix framebuffer creation validation errorsReinUsesLisp
Framebuffer creation was ignoring the number of color attachments.
2020-04-23vk_pipeline_cache: Unify pipeline cache keys into a single operationReinUsesLisp
This allows us to call Common::CityHash and std::memcmp only once for GraphicsPipelineCacheKey. While we are at it, do the same for compute.
2020-04-23vk_renderpass_cache: Pack renderpass cache key to 12 bytesReinUsesLisp
2020-04-23Merge pull request #3768 from H27CK/cmd-title-fmtRodrigo Locatti
Fix format error in performance statistics
2020-04-23kernel: memory: Improve implementation of device shared memory. (#3707)bunnei
* kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory. * fixup! kernel: memory: Improve implementation of device shared memory.
2020-04-23Clang Format.Fernando Sahmkow
2020-04-23GPU: Add Fast GPU Time Option.Fernando Sahmkow
2020-04-23Maxwell3D: Process Macros on MultiMethod.Fernando Sahmkow
2020-04-23DMAPusher: Propagate multimethod writes into the engines.Fernando Sahmkow
2020-04-23Update src/yuzu/main.cpp with missing constBen Russell
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2020-04-23Dump RomFS command to include UpdatesBen Russell
Patch the RomFS with the selected updates before dumping. Previously the resulting RomFS only contained data from the original title. To dump the RomFS without updates the user can disable the update under Properties before choosing Dump RomFS.
2020-04-23Merge pull request #3730 from lioncash/timebunnei
service/time: Remove reliance on the global system accessor
2020-04-23Merge pull request #3697 from lioncash/declarationsbunnei
CMakeLists: Enable -Wmissing-declarations on Linux builds
2020-04-23Edit modifier_scale with the deadzone sliderKewlan
2020-04-23Fix format error in performance statisticsH27CK
Formatting
2020-04-22Merge pull request #3677 from FernandoS27/better-syncbunnei
Introduce Predictive Flushing and Improve ASYNC GPU
2020-04-22Merge pull request #3767 from ReinUsesLisp/point-size-pipelineMat M
vk_pipeline_cache: Fix unintentional memcpy into optional
2020-04-22vk_pipeline_cache: Fix unintentional memcpy into optionalReinUsesLisp
The intention behind this was to assign a float to from an uint32_t, but it was unintentionally being copied directly into the std::optional. Copy to a temporary and assign that temporary to std::optional. This can be replaced with std::bit_cast<float> once we are in C++20.
2020-04-22GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop,Fernando Sahmkow
2020-04-22Merge pull request #3725 from MerryMage/fpcrbunnei
thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
2020-04-22Merge pull request #3763 from H27CK/vk-cmdFernando Sahmkow
Add missing ;
2020-04-22Add missing ;H27CK
2020-04-22Merge pull request #3758 from H27CK/vk-cmdbunnei
Introduce dummy context for yuzu-cmd VK support
2020-04-22Merge pull request #3653 from ReinUsesLisp/nsight-aftermathFernando Sahmkow
renderer_vulkan: Integrate Nvidia Nsight Aftermath on Windows
2020-04-22Address Feedback.Fernando Sahmkow
2020-04-22Async GPU: Correct flushing behavior to be similar to old async GPU behavior.Fernando Sahmkow
2020-04-22MaxwellDMA: Correct copying on accuracy level.Fernando Sahmkow
2020-04-22ShaderCache/PipelineCache: Cache null shaders.Fernando Sahmkow