bunnei
2fb77adb9f
common: common_funcs: Add a few more useful macros for kernel code.
5 years ago
bunnei
4dbf3f4880
hle: kernel: KThread: Clean up thread priorities.
5 years ago
bunnei
1e55498110
hle: kernel: KThread: Reorganize thread priority defaults.
5 years ago
bunnei
0530292b97
hle: kernel: KThread: Fix ThreadType definition.
5 years ago
bunnei
4782985013
hle: kernel: Move single core "phantom mode" out of KThread.
- This is a workaround that does not belong in a kernel primitive.
5 years ago
bunnei
eea346ba8e
hle: kernel: KThread: Remove thread types that do not exist.
5 years ago
bunnei
9a4e148f9e
arm: arm_dynarmic: Skip calls when JIT is invalid.
- This can happen if called from an idle or suspension thread.
5 years ago
bunnei
c0d3aef28c
core: hle: kernel: Rename Thread to KThread.
5 years ago
german
8ba0cac71c
Fix user changing to 0 if valid
5 years ago
german
7b8fa78c65
Avoid overwritting username
5 years ago
Morph
4921ba05db
hid: Add static_assert for Parameter size
5 years ago
Morph
ae6b3bdfbf
prepo: Fix BufferDescriptorX invalid buffer errors and add "New" variants of SaveReport
The second input buffer could be optional when prepo/srepo is called, test for the availability of the second buffer prior to reading from it.
5 years ago
Morph
008afa5d59
hle_ipc: Add Can(Read, Write)Buffer
Allows us to test whether a buffer can be read from or written to memory
5 years ago
german
659b5f8088
Stub GetSockOpt
5 years ago
ReinUsesLisp
9e88ad8da9
vk_scheduler: Fix unaligned placement new expressions
We were accidentaly creating an object in an unaligned memory address.
Fix this by manually aligning the offset.
5 years ago
Rodrigo Locatti
ef6cc3aa1d
vulkan_device: Blacklist Intel from float16 math ( #5798 )
Astral Chain crashes Intel's SPIR-V compiler when using fp16.
Disable this while the vendor works on a fix.
5 years ago
Morph
d4d39aa4c7
npad: Remove unused device handle parameter
5 years ago
Chloe Marcec
2c57f0fbd5
Omit system reference
5 years ago
Chloe Marcec
04e9486651
psm: IPsmSession
Used by homebrew menu
5 years ago
ReinUsesLisp
34c3ec2f8c
Revert "Start of Integer flags implementation"
This reverts #4713 . The implementation in that PR is not accurate.
It does not reflect the behavior seen in hardware.
5 years ago
ReinUsesLisp
9dc4a80b17
vk_graphics_pipeline: Fix narrowing conversion on MSVC
5 years ago
ReinUsesLisp
6b00443bc1
vk_texture_cache: Support image store on sRGB images with VkImageViewUsageCreateInfo
Vulkan 1.0 didn't support creating sRGB image views on an ABGR8 VkImage
with storage usage bits. VK_KHR_maintenance2 addressed this allowing to
reduce the usage bits on a VkImageView.
To allow image store on non-sRGB image views when the VkImage is created
with sRGB, always create VkImages without sRGB and add the sRGB format
on the view.
5 years ago
ReinUsesLisp
6a0143400f
vulkan_device: Lift VK_EXT_extended_dynamic_state blacklist on RDNA
It seems to be safe to use this on new drivers.
5 years ago
ReinUsesLisp
748551dafb
cmake: Enforce -Warray-bounds and -Wmissing-field-initializers globally
5 years ago
german
a8245cf2f1
Stub Set/Get/Reset SixaxisSensorFusionParameters
5 years ago
Chloe Marcec
2afc1060ef
Print Process ID and Thread ID as hex
5 years ago
Chloe Marcec
5882cc0502
hle: Implement remaining services for Stereo Vision
Used by Zelda Breath of the Wild, Super Mario Odyssey and Nintendo Labo
5 years ago
Chloe Marcec
b2b95e96c1
audout: FlushAudioOutBuffers
Fixes Devil May Cry
5 years ago
ReinUsesLisp
f81c783b5b
host_shaders/cmake: Pass --quiet to glslang to keep it quiet
Silences noisy builds on toolchains.
5 years ago
ReinUsesLisp
cc4335a9c6
video_core/cmake: Enforce -Warray-bounds and -Wmissing-field-initializers
5 years ago
ReinUsesLisp
1b76e7e890
video_core: Silence -Wmissing-field-initializers warnings
5 years ago
ReinUsesLisp
80a673a27f
maxwell_3d: Silence array bounds warnings
5 years ago
ReinUsesLisp
ad48259d7e
maxwell_to_vk: Silence -Wextra warnings about using different enum types
5 years ago
german
3b4da2d7fa
Fix connect and disconnect controller events
5 years ago
comex
e9bb95ae16
vfs_real: When moving files or directories, don't assume file opening will succeed
Found this via a warning, but it's a substantive fix.
Since this is only for a cache, it should be safe to silently drop the
entry if opening fails. I think.
5 years ago
Levi Behunin
9477d23d70
shader_ir: Fix comment typo
5 years ago
Morph
5942d206c2
sdl_impl: Set the maximum vibration duration to 1 second
5 years ago
Chloe Marcec
822edff5bd
Simplify condition
5 years ago
Chloe Marcec
3b0458a7a5
nvdrv: Unregister already registered events
5 years ago
Chloe Marcec
df42100320
Clamp string reads to buffer size
5 years ago
ReinUsesLisp
966896daad
video_core/cmake: Properly generate fatal errors on Aftermath
Fix "message(ERROR ..." to "message(FATAL_ERROR ..." to properly stop
cmake when Nsight Aftermath can't be configured.
5 years ago
ReinUsesLisp
625a011888
nsight_aftermath_tracker: Fix build issues when enabled
Fixes a bunch of build errors when Nsight Aftermath is properly enabled.
5 years ago
ReinUsesLisp
37ef2ee595
vk_pipeline_cache: Properly bypass VertexA shaders
The VertexA stage is not yet implemented, but Vulkan is adding its
descriptors, causing a discrepancy in the pushed descriptors and the
template. This generally ends up in a driver side crash.
Bypass the VertexA stage for now.
5 years ago
ReinUsesLisp
bda177ef40
video_core/memory_manager: Add BytesToMapEnd
Track map address sizes in a flat ordered map and add a method to query
the number of bytes until the end of a map in a given address.
5 years ago
bunnei
1e9b1d439f
common: Add missing include to bit_util.h
5 years ago
ReinUsesLisp
436457b6e7
gl_shader_decompiler: Fix constant buffer size calculation
The divide logic was wrong and can cause an uniform buffer size
overflow.
5 years ago
ReinUsesLisp
b7febb5625
video_core/memory_manager: Remove unused CopyBlockUnsafe
This function was not being used.
5 years ago
ReinUsesLisp
0e9a6759f9
video_core/memory_manager: Flush destination buffer on CopyBlock
When we copy into a buffer, it might contain data modified from the GPU
on the same pages. Because of this, we have to flush the contents before
writing new data.
An alternative approach would be to write the data in place, but games
can also write data in other ways, invalidating our contents.
Fixes geometry in Zombie Panic in Wonderland DX.
5 years ago
ReinUsesLisp
dd790abab0
video_core/memory_manager: Add GPU address based flush method
Allow flushing rasterizer contents based on a GPU address.
5 years ago
Lioncash
6ff2db181f
bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64
We can use the standardized CLZ facilities to perform this. This also
allows us to make utilizing functions constexpr and eliminate the
inclusion of an intrinsics header.
5 years ago