summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-09-04IsVibrationEnabled() as a const member funcMorph1984
2019-09-04clang-formatMorph1984
2019-09-04Update npad.hMorph1984
2019-09-04Update npad.cppMorph1984
2019-09-04Update hid.hMorph1984
2019-09-04Update hid.cppMorph1984
2019-09-04gl_rasterizer: Fix stencil testingReinUsesLisp
* Fix stencil dirty flags tracking when stencil is disabled * Attach stencil on clears (previously it only attached depth) * Attach stencil on drawing regardless of stencil testing being enabled
2019-09-04shader/shift: Implement SHR wrapped and clamped variantsReinUsesLisp
Nvidia defaults to wrapped shifts, but this is undefined behaviour on OpenGL's spec. Explicitly mask/clamp according to what the guest shader requires.
2019-09-04maxwell_3d: Avoid moving macro_paramsReinUsesLisp
2019-09-04gl_shader_cache: Remove special casing for geometry shadersReinUsesLisp
Now that ProgramVariants holds the primitive topology we no longer need to keep track of individual geometry shaders topologies.
2019-09-04half_set_predicate: Fix predicate assignmentsReinUsesLisp
2019-09-04gl_device: Disable precise in fragment shaders on bugged driversReinUsesLisp
2019-09-04gl_shader_decompiler: Fixup AMD's slow path typeReinUsesLisp
2019-09-04gl_shader_decompiler: Rework GLSL decompiler type systemReinUsesLisp
GLSL decompiler type system was broken. We converted all return values to float except for some cases where returning we couldn't and implicitly broke the rule of returning floats (e.g. for bools or bool pairs). Instead of doing this introduce class Expression that knows what type a return value has and when a consumer wants to use the string it asks for it with a required type, emitting a runtime error if types are incompatible. This has the disadvantage that there's more C++ code, but we can emit better GLSL code that's easier to read.
2019-09-03Add Kernel::EventPair audio_input_device_switch_event;Morph1984
2019-09-03remove <f32>Morph1984
We can remove this since its already a f32 value
2019-09-03audren_u: Stub IAudioDevice::QueryAudioDeviceInputEventMorph1984
2019-09-04Merge pull request #2708 from DarkLordZach/mii-db-source-crashmainline-359David
mii: Handle logging of unknown database source
2019-09-03explicitly represent 1 as a float (1.0f instead of 1)Morph1984
2019-09-03Merge pull request #2793 from ReinUsesLisp/bgr565mainline-354bunnei
renderer_opengl: Implement RGB565 framebuffer format
2019-09-03Merge pull request #2812 from ReinUsesLisp/f2i-selectormainline-351bunnei
shader_ir/conversion: Implement F2I and F2F F16 selector
2019-09-03Merge pull request #2811 from ReinUsesLisp/fsetp-fixmainline-348bunnei
float_set_predicate: Add missing negation bit for the second operand
2019-09-03Merge pull request #2826 from ReinUsesLisp/macro-bindingmainline-345bunnei
maxwell_3d: Fix macro binding cursor
2019-09-03Merge pull request #2831 from FearlessTobi/port-4914mainline-342bunnei
Port citra-emu/citra#4914: "Fix to Windows sleep issues"
2019-09-03Change u32 -> f32Morph1984
Volume is a f32 value. (SwIPC describes it as a u32, but it is actually f32 as corroborated by switchbrew docs and SetAudioDeviceOutputVolume) ```cpp const f32 volume = rp.Pop<f32>(); ```
2019-09-04configuration/config: Add missing screenshot path readfearlessTobi
I missed this in my original PR (https://github.com/yuzu-emu/yuzu/pull/1886).
2019-09-03Fix to Windows sleep issuesfearlessTobi
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2019-09-03Add cancel option to analog stick configurationfearlessTobi
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2019-09-03service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolumeMorph1984
2019-09-01Merge pull request #2765 from FernandoS27/dma-fixmainline-329bunnei
MaxwellDMA: Fixes, corrections and relaxations.
2019-09-01maxwell_3d: Fix macro binding cursorReinUsesLisp
2019-08-30video_core: Silent miscellaneous warnings (#2820)mainline-319Rodrigo Locatti
* texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
2019-08-29kernel/vm_manager: Correct behavior in failure case of UnmapPhysicalMemory()Lioncash
If an unmapping operation fails, we shouldn't be decrementing the amount of memory mapped and returning that the operation was successful. We should actually be returning the error code in this case.
2019-08-29kernel/vm_manager: Reserve memory ahead of time for slow path in ↵Lioncash
MergeAdjacentVMA Avoids potentially expensive (depending on the size of the memory block) allocations by reserving the necessary memory before performing both insertions. This avoids scenarios where the second insert may cause a reallocation to occur.
2019-08-29kernel/vm_manager: std::move shared_ptr instance in MergeAdjacentVMALioncash
Avoids an unnecessary atomic reference count increment and decrement.
2019-08-29kernel/vm_manager: Deduplicate iterator creation in MergeAdjacentVMALioncash
Avoids needing to read the same long sequence of code in both code paths. Also makes it slightly nicer to read and debug, as the locals will be able to be shown in the debugger.
2019-08-29kernel/vm_manager: Simplify some std::vector constructor callsLioncash
Same behavior, one less magic constant to read.
2019-08-29kernel/vm_manager: Simplify some assertion messagesLioncash
Assertions already log out the function name, so there's no need to manually include the function name in the assertion strings.
2019-08-29gl_buffer_cache: Add missing includeReinUsesLisp
RasterizerInterface was considered an incomplete object by clang.
2019-08-29Merge pull request #2742 from ReinUsesLisp/fix-texture-buffersmainline-305bunnei
gl_texture_cache: Miscellaneous texture buffer fixes
2019-08-29accommodate for fmt updateEthan
2019-08-29Merge pull request #2783 from FernandoS27/new-buffer-cachemainline-296bunnei
Implement a New LLE Buffer Cache
2019-08-29Merge pull request #2758 from ReinUsesLisp/packed-tidmainline-293bunnei
shader/decode: Implement S2R Tic
2019-08-28shader_ir/conversion: Split int and float selector and implement F2F H1ReinUsesLisp
2019-08-27shader_ir/conversion: Implement F2I F16 Ra.H1ReinUsesLisp
2019-08-27float_set_predicate: Add missing negation bit for the second operandReinUsesLisp
2019-08-22Guard unistd.h with MacOS only macroWeiyi Wang
Fix compile error on Windows caused by #4877 Weird, I thought I saw this guard during the code review...
2019-08-22citra_qt: on osx chdir to bundle dir to allow detection of user folderB3n30
2019-08-21shader_ir: Implement VOTEReinUsesLisp
Implement VOTE using Nvidia's intrinsics. Documentation about these can be found here https://developer.nvidia.com/reading-between-threads-shader-intrinsics Instead of using portable ARB instructions I opted to use Nvidia intrinsics because these are the closest we have to how Tegra X1 hardware renders. To stub VOTE on non-Nvidia drivers (including nouveau) this commit simulates a GPU with a warp size of one, returning what is meaningful for the instruction being emulated: * anyThreadNV(value) -> value * allThreadsNV(value) -> value * allThreadsEqualNV(value) -> true ballotARB, also known as "uint64_t(activeThreadsNV())", emits VOTE.ANY Rd, PT, PT; on nouveau's compiler. This doesn't match exactly to Nvidia's code VOTE.ALL Rd, PT, PT; Which is emulated with activeThreadsNV() by this commit. In theory this shouldn't really matter since .ANY, .ALL and .EQ affect the predicates (set to PT on those cases) and not the registers.
2019-08-21Buffer Cache: Adress Feedback.Fernando Sahmkow