bunnei
a3ee29e9f5
Merge pull request #4891 from lioncash/clang2
General: Fix clang build
5 years ago
bunnei
205854b81e
Merge pull request #4894 from lioncash/fn
settings: Simplify initializer of resolution factor
5 years ago
Lioncash
4c3b3b3cd1
settings: Simplify initializer of resolution factor
This can use a braced initializer to accomplish the same thing with less
code.
5 years ago
bunnei
cab7ed694c
Merge pull request #4854 from ReinUsesLisp/cube-array-shadow
shader: Partially implement texture cube array shadow
5 years ago
Lioncash
8fc37d6fca
General: Fix clang build
Allows building on clang to work again
5 years ago
bunnei
653b82fbc3
Merge pull request #4889 from lioncash/setting-global
core/settings: Move configuring_global behind an API
5 years ago
bunnei
97547d70f5
Merge pull request #4858 from lioncash/initializer
General: Resolve a few missing initializer warnings
5 years ago
Lioncash
b1de33af75
core/settings: Move configuring_global behind an API
Rather than have directly modified global state here, we can make it an
implementation detail and have an interface that changes are queried
through.
5 years ago
Chloe
c16acdfb9b
Merge pull request #4869 from bunnei/improve-gpu-sync
Improvements to GPU synchronization & various refactoring
5 years ago
bunnei
9a81537447
Merge pull request #4874 from lioncash/nodiscard2
nvdec: Make use of [[nodiscard]] where applicable
5 years ago
bunnei
6e1fb8d4c1
Merge pull request #4887 from lioncash/common-build
microprofile: Silence warning in headers
5 years ago
Lioncash
90f5c930f5
microprofile: Silence warning in headers
Silences a truncation warning by making the truncation explicit and
documenting the reason for it.
5 years ago
bunnei
2dcbd3b5c6
Merge pull request #4873 from lioncash/common-error
common: Enable warnings as errors
5 years ago
bunnei
04f9045b01
Merge pull request #4878 from bunnei/unload-nrr
hle: service: ldr: Implement UnloadNrr.
5 years ago
Lioncash
38ffaef6eb
common: Enable warnings as errors
Cleans up common so that we can enable warnings as errors.
5 years ago
Lioncash
2ee59021c2
nvdec: Make use of [[nodiscard]] where applicable
Prevents bugs from occurring where the results of a function are
accidentally discarded
5 years ago
bunnei
a4825b81ac
Merge pull request #4865 from ameerj/async-threadcount
async_shaders: Increase Async worker thread count for >8 thread cpus
5 years ago
bunnei
f8b764dbf2
fixup! hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements.
5 years ago
bunnei
0e90fce8d4
core: Initialize GPU before services.
5 years ago
bunnei
57f20d0d70
hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements.
- Refactor so that SubmitGPFIFO and KickoffPB use shared functionality.
- Implement add_wait and add_increment flags.
5 years ago
bunnei
af7ab45b45
video_core: dma_pusher: Add support for integrity checks.
- Log corrupted command lists, rather than crash.
5 years ago
bunnei
69f4a66d23
video_core: dma_pusher: Add support for prefetched command lists.
5 years ago
bunnei
d787a5bfde
service: hle: nvflinger: Fix potential shutdown crash when GPU is destroyed.
5 years ago
bunnei
c112a94dfe
video_core: gpu: Implement WaitFence and IncrementSyncPoint.
5 years ago
bunnei
617372b751
hle service: nvdrv: nvhost_ctrl: Update to use SyncpointManager.
5 years ago
bunnei
df095c8963
hle service: nvdrv: Update to instantiate SyncpointManager.
5 years ago
bunnei
317c2ac884
hle: service: nvdrv: Implement SyncpointManager, to manage syncpoints.
5 years ago
Levi Behunin
381586d56c
Rename to align with switchbrew and remove gpu function ( #4714 )
* Rename to align with switchbrew
* Rename to align with switchbrew and remove gpu function that checks if clearing should be done.
5 years ago
bunnei
e9b37e4d52
Merge pull request #4853 from ReinUsesLisp/fcmp-imm
shader/arithmetic: Implement FCMP immediate + register variant
5 years ago
bunnei
4c09a6399c
hle: service: ldr: Implement UnloadNrr.
- Used by Final Fantasy X/X-2 HD Remaster.
5 years ago
LC
c6a6cdc0b3
Merge pull request #4872 from jbeich/clang
video_core: unbreak -Werror in NVDEC with Clang
5 years ago
Lioncash
b712b3684a
CMakeLists: Resolve MSVC build failures
Prevents the compiler tripping up about Windows headers.
5 years ago
Jan Beich
c751be210e
video_core: unbreak -Werror in NVDEC with Clang
src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp:41:15: error: unused variable 'OutOfMemory' [-Werror,-Wunused-const-variable]
constexpr u32 OutOfMemory{static_cast<u32>(-12)};
^
5 years ago
bunnei
945c98050c
Merge pull request #4868 from lioncash/discard-error
General: Make ignoring a discarded return value an error
5 years ago
bunnei
d3d1324b2a
Merge pull request #4867 from lioncash/vp9
VP9: Minor interface changes and safety improvements
5 years ago
Lioncash
5c7f20bc57
General: Catch more expressions with no effect on MSVC
MSVC lets us fine-tune catching expressions with no side-effects a
little more.
5 years ago
Lioncash
0525232875
General: Make ignoring a discarded return value an error
Allows our CI to catch more potential bugs. This also removes the
[[nodiscard]] attribute of IOFile's Open member function. There are
cases where a file may want to be opened, but have the status of it
checked at a later time.
5 years ago
Lioncash
a625048772
common/stream: Be explicit with copy and move operators
5 years ago
Lioncash
6425e155f2
vp9: Be explicit with copy and move operators
It's deprecated in the language to autogenerate these if the destructor
for a type is specified, so we can explicitly specify how we want these
to be generated.
5 years ago
Lioncash
0c2f517cd0
vp9: Mark functions with [[nodiscard]] where applicable
Prevents values from mistakenly being discarded in cases where it's a
bug to do so.
5 years ago
Lioncash
114153e8c8
vp9: Provide a default initializer for "hidden" member
The API of VP9 exposes a WasFrameHidden() function which accesses this
member. Given the constructor previously didn't initialize this member,
it's a potential vector for an uninitialized read.
Instead, we can initialize this to a deterministic value to prevent that
from occurring.
5 years ago
Lioncash
e54c1f4a41
vp9: Make some member functions internally linked
These helper functions don't directly modify any member state and can be
hidden from view.
5 years ago
Lioncash
3e654ff0d0
General: Resolve a few missing initializer warnings
Resolves a few -Wmissing-initializer warnings.
5 years ago
bunnei
c930f0aa49
Merge pull request #4831 from lioncash/fmt
externals: Update fmt to 7.1.0
5 years ago
bunnei
02234a9d92
Merge pull request #4837 from lioncash/nvdec-2
nvdec: Minor tidying up
5 years ago
ameerj
b139341d35
async_shaders: Increase Async worker thread count for 8+ thread cpus
Adds 1 async worker thread for every 2 available threads above 8
5 years ago
bunnei
fa03b3ee0d
Merge pull request #4781 from german77/GChotplug
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
5 years ago
David
b236afd8ab
Merge pull request #4859 from Morph1984/missing-ctime-include
kernel/process: Add missing <ctime> include
5 years ago
Morph
fc09a13d34
kernel/process: Add missing <ctime> include
Fixes compilation on MSVC
5 years ago
LC
f7a9c3304a
Merge pull request #4857 from liushuyu/master
web_service: follow-up fix to #4842
5 years ago