lat9nq
bcd77d4b7b
CMakeLists: use system zstd on Linux
From what I understand, this tells CMake to use the system, not conan,
version of zstd. Required to build on the coming MinGW Docker container.
5 years ago
lat9nq
1589c097d4
CMakeLists: fix for finding zstd on linux-mingw
5 years ago
bunnei
bab40bb134
Merge pull request #4719 from lioncash/audio-warn
audio_core: Resolve sign conversion warnings
5 years ago
Rodrigo Locatti
5a27fb96a4
Merge pull request #4724 from lat9nq/fix-vulkan-nvidia-allocate-2
vk_stream_buffer: Fix initializing Vulkan with NVIDIA on Linux
5 years ago
bunnei
efa7224fb4
Merge pull request #4703 from lioncash/desig7
shader/registry: Make use of designated initializers where applicable
5 years ago
bunnei
62e5f8d2c3
Merge pull request #4718 from lioncash/vk
vk_command_pool: Add missing header guard
5 years ago
bunnei
1af3773aef
Merge pull request #4720 from lioncash/header
audio_core: Remove unnecessary inclusions
5 years ago
bunnei
c97718385e
Merge pull request #4723 from lioncash/typo
behavior_info: Fix typo Renerer -> Renderer
5 years ago
lat9nq
e12b3fcc9e
vk_stream_buffer: Fix initializing Vulkan with NVIDIA on Linux
The previous fix only partially solved the issue, as only certain GPUs that needed 9 or less MiB subtracted would work (i.e. GTX 980 Ti, GT 730). This takes from DXVK's example to divide `heap_size` by 2 to determine `allocable_size`. Additionally tested on my Quadro K4200, which previously required setting it to 12 to boot.
5 years ago
Lioncash
a97ec95061
behavior_info: Fix typo Renerer -> Renderer
5 years ago
Lioncash
c6fe328f73
audio_core: Remove unnecessary inclusions
Same behavior, but removes header dependencies where they don't need to
be.
5 years ago
Lioncash
8e2814d9ad
audio_core: Resolve sign conversion warnings
While were at it, we can also enable sign conversion warnings and other
common warnings as errors to prevent these from creeping back into the
codebase.
5 years ago
Lioncash
165a083705
effect_context: Make use of explicit where applicable
While we're at it we can make the destructor of the base class virtual
to ensure that any polymorphism issues never occur.
5 years ago
Lioncash
8f78956784
vk_command_pool: Move definition of Pool into the cpp file
Allows the implementation details to be changed without recompiling any
files that include this header.
5 years ago
Lioncash
943d0c8f2c
vk_command_pool: Make use of override on destructor
5 years ago
Lioncash
4e2a72b1ef
vk_command_pool: Add missing header guard
5 years ago
LC
d2d0909b84
Merge pull request #4717 from lioncash/debug
service: Restore "unused" function
5 years ago
Lioncash
711c5c7bdf
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
bunnei
c9113bedc6
Merge pull request #4711 from lioncash/move5
arithmetic_integer_immediate: Make use of std::move where applicable
5 years ago
bunnei
221e4c3e41
Merge pull request #4678 from Morph1984/LoadOpenContext-partial-impl
acc: Partially implement LoadOpenContext
5 years ago
Lioncash
a31702acaf
arithmetic_integer_immediate: Make use of std::move where applicable
Same behavior, minus any redundant atomic reference count increments and
decrements.
5 years ago
bunnei
e6abc97da3
Merge pull request #4674 from ReinUsesLisp/timeline-semaphores
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
5 years ago
bunnei
d9aa237df7
Merge pull request #4618 from german77/GcAdapterAutoMap
Add automap feature for GC adapter
5 years ago
Lioncash
2da5a0c30d
shader/registry: Silence a -Wshadow warning
5 years ago
Lioncash
34af344aad
shader/registry: Remove unnecessary namespace qualifiers
Using statements already make these unnecessary.
5 years ago
Rodrigo Locatti
c89aa6b431
Merge pull request #4702 from lioncash/doc-warn
memory: Resolve a -Wdocumentation warning
5 years ago
Rodrigo Locatti
d108368c35
Merge pull request #4701 from lioncash/unused-proto
install_dialog: Remove unused function prototype
5 years ago
Rodrigo Locatti
ff25dcb617
Merge pull request #4700 from lioncash/copies
game_list: Eliminate redundant argument copies
5 years ago
Lioncash
b050a95af8
shader/registry: Make use of designated initializers where applicable
Same behavior, less repetition.
5 years ago
Lioncash
3abd28c35a
memory: Resolve a -Wdocumentation warning
memory doesn't exist as a parameter any more.
5 years ago
Lioncash
4464a33c93
install_dialog: Make use of [[nodiscard]] where applicable
Allows the compiler to warn against cases where the return value isn't
used (which would be a bug).
5 years ago
Lioncash
3fbbfd0561
install_dialog: Remove unused function prototype
This function doesn't have an implementation, so it can be removed to
prevent others from unintentionally using it.
5 years ago
Lioncash
ab1b7eefc8
game_list: Make game list function naming consistent
Makes the naming consistent with the rest of the functions that are
present.
5 years ago
Lioncash
2827ce5194
game_list: Eliminate redundant argument copies
Several functions can be taken by const reference to avoid copies
5 years ago
Rodrigo Locatti
21b5834bc0
Merge pull request #4699 from lioncash/move3
control_flow: Make use of std::move in InsertBranch()
5 years ago
Lioncash
cc4e8c247d
control_flow: emplace elements in place within TryQuery()
Places data structures where they'll eventually be moved to to avoid
needing to even move them in the first place.
5 years ago
Lioncash
13df9625be
control_flow: Make use of std::move in InsertBranch()
Avoids unnecessary atomic increments and decrements.
5 years ago
Rodrigo Locatti
43a7e8a2eb
Merge pull request #4698 from lioncash/optional-null
General: Make use of std::nullopt where applicable
5 years ago
Lioncash
e457001dce
General: Make use of std::nullopt where applicable
Allows some implementations to avoid completely zeroing out the internal
buffer of the optional, and instead only set the validity byte within
the structure.
This also makes it consistent how we return empty optionals.
5 years ago
bunnei
f3b0c1b4b5
Merge pull request #4697 from lioncash/copy5
ips_layer: Eliminate a redundant copy in Parse()
5 years ago
Lioncash
485eec243d
ips_layer: Eliminate a redundant copy in Parse()
Prevents unnecessary copying of the line being parsed.
5 years ago
bunnei
292693b696
Merge pull request #4675 from Morph1984/fix-boot-multicontent
submission_package: Account for multi-content NSPs
5 years ago
Morph
152b529a00
acc: Stub LoadOpenContext
This is used in multiple games such as:
- Clubhouse Games: 51 Worldwide Classics
- Grandia HD Collection
- XCOM 2 Collection
- Baldur's Gate 1/2
- Dr Kawashima's Brain Training
- Super Mario 3D All-Stars
5 years ago
Rodrigo Locatti
24d77012ce
Merge pull request #4692 from ReinUsesLisp/remove-vsync
renderer_opengl: Remove emulated mailbox presentation
5 years ago
bunnei
24b421b14c
Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl
hid: Implement Get/SetNpadHandheldActivationMode
5 years ago
ReinUsesLisp
f4dbeb72d7
renderer_opengl: Remove emulated mailbox presentation
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
5 years ago
bunnei
1a3f019bad
Merge pull request #4643 from FearlessTobi/decrease-pad-update-interval
Test: Decrease pad_update_ns
5 years ago
ReinUsesLisp
22fb70406f
vk_query_cache: Hack counter destructor to avoid reserving queries
This is a hack to destroy all HostCounter instances before the base
class destructor is called. The query cache should be redesigned to have
a proper ownership model instead of using shared pointers.
For now, destroy the host counter hierarchy from the derived class
destructor.
5 years ago
ReinUsesLisp
7c747f9bea
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
This reworks how host<->device synchronization works on the Vulkan
backend. Instead of "protecting" resources with a fence and signalling
these as free when the fence is known to be signalled by the host GPU,
use timeline semaphores.
Vulkan timeline semaphores allow use to work on a subset of D3D12
fences. As far as we are concerned, timeline semaphores are a value set
by the host or the device that can be waited by either of them.
Taking advantange of this, we can have a monolithically increasing
atomic value for each submission to the graphics queue. Instead of
protecting resources with a fence, we simply store the current logical
tick (the atomic value stored in CPU memory). When we want to know if a
resource is free, it can be compared to the current GPU tick.
This greatly simplifies resource management code and the free status of
resources should have less false negatives.
To workaround bugs in validation layers, when these are attached there's
a thread waiting for timeline semaphores.
5 years ago
german
9f70da1a9b
Add automap feature for GC adapter
5 years ago