bunnei
ca6c830594
Merge pull request #2524 from ReinUsesLisp/fixup-extension
gl_shader_gen: Always declare extensions after the version declaration
7 years ago
ReinUsesLisp
ae6e56271f
gl_device: Add commentary to AOFFI unit test source code
The intention behind this commit is to hint someone inspecting an
apitrace dump to ignore this ill-formed GLSL code.
7 years ago
ReinUsesLisp
469bcc66b1
gl_shader_gen: Always declare extensions after the version declaration
This addresses a bug on geometry shaders where code was being written
before all #extension declarations were done. Ref to #2523
7 years ago
Zach Hilman
7b531ebaae
ncm: Implement LR OpenAddOnContentLocationResolver (2)
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
7 years ago
Zach Hilman
2630a22608
ncm: Implement LR OpenRegisteredLocationResolver (1)
Returns an object of type IRegisteredLocationResolver for the StorageId.
7 years ago
Zach Hilman
feeda71211
ncm: Implement LR OpenLocationResolver (0)
Returns an object of type ILocationResolver with the provided StorageId.
7 years ago
Zach Hilman
2cc382429e
game_list_worker: Add better error handling to caching
7 years ago
Zach Hilman
246a57be6f
yuzu: Clear partial/full game list cache when data is updated
7 years ago
Zach Hilman
6aba84eee1
game_list: Implement caching for game list
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
7 years ago
Zach Hilman
14a039fa95
ui_settings: Add option to cache game list
7 years ago
Zach Hilman
227430a157
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
ReinUsesLisp
f4bbb7fe44
vk_device: Let formats array type be deduced
7 years ago
ReinUsesLisp
fab91ab3b9
vk_shader_decompiler: Misc fixes
Fix missing OpSelectionMerge instruction. This caused devices loses on
most hardware, Intel didn't care.
Fix [-1;1] -> [0;1] depth conversions.
Conditionally use VK_EXT_scalar_block_layout. This allows us to use
non-std140 layouts on UBOs.
Update external Vulkan headers.
7 years ago
ReinUsesLisp
664da04158
vk_device: Enable features when available and misc changes
Keeps track of native ASTC support, VK_EXT_scalar_block_layout
availability and SSBO range.
Check for independentBlend and vertexPipelineStorageAndAtomics as a
required feature. Always enable it.
Use vk::to_string format to log Vulkan enums.
Style changes.
7 years ago
ReinUsesLisp
2410482b11
emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by
reference.
7 years ago
bunnei
e8f7abaf34
Merge pull request #2516 from lioncash/label
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
7 years ago
bunnei
4b08b2d0aa
Merge pull request #2509 from lioncash/aoc
service/aoc_u: Minor cleanup
7 years ago
bunnei
8df82eb4ad
Merge pull request #2511 from lioncash/file-str
common/file_util: Minor cleanup
7 years ago
bunnei
f07e35f5ee
Merge pull request #2517 from lioncash/hotkey
configure_hotkeys: Minor cleanup
7 years ago
Lioncash
e55ce09875
core_timing_util: Silence sign-comparison warnings
We can just make the conversion explicit instead of implicit here to
silence -Wsign-compare warnings.
7 years ago
Lioncash
fc1d10d33a
loader/nso: Silence sign-comparison warning
This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
7 years ago
ReinUsesLisp
462140fdb1
yuzu_cmd: Split emu_window OpenGL implementation into its own file
7 years ago
Zach Hilman
bdfb6260d5
prepo: Save reports from PlayReport service
Logs a lot of seemingly innocuous telemetry games generate.
7 years ago
Zach Hilman
1509f4921d
fatal: Save report on fatal:u call
Matches offical behavior with creport and replaces old log/text based report system.
7 years ago
Zach Hilman
30368b0571
service: Save report on unimplemented function call
7 years ago
Zach Hilman
f5659d962c
applets/error: Save report on error applet
This matches official behavior with the erpt/eclct/eupld service chain.
7 years ago
Zach Hilman
0ab58dcc13
applets: Save report on stubbed applet
This also reworks the applet data storage to be peekable.
7 years ago
Zach Hilman
7c698b4f31
svc: Save report on call to svcBreak
7 years ago
Zach Hilman
8d16f91049
core: Add Reporter class to take/save reports
7 years ago
Zach Hilman
28886a2927
qt: Make UI option for 'Reporting Services' temporary
Reports are unnecessary for normal users and this is to prevent 'power' users from enabling the feature by accident.
7 years ago
Zach Hilman
a3c66e920b
settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
7 years ago
Zach Hilman
a102ace3c5
arm_interface: Expand backtrace generation
Returns results as a vector of entries for further processing. Logs addresses, offsets, and mangled name.
7 years ago
Zach Hilman
c1475193ba
core: Track load offsets of NSO modules
Needed for backtrace decomposition
7 years ago
Lioncash
c0c69367c7
configure_hotkeys: Remove unnecessary Settings::Apply() call
Nothing from the hotkeys dialog relies on this call occurring, and is
already called from the dialog that calls applyConfiguration().
7 years ago
Lioncash
1e12e2f906
configure_hotkeys: Tidy up key sequence conflict error string
Avoids mentioning the user and formalizes the error itself.
7 years ago
Lioncash
02687c55b4
configure_hotkeys: Change critical error dialog into a warning dialog
critical() is intended for critical/fatal errors that threaten the
overall stability of an application. A user entering a conflicting key
sequence is neither of those.
7 years ago
Lioncash
0989921fb9
configure_hotkeys: Move conflict detection logic to IsUsedKey()
We don't need to extract the entire set of hotkeys into a list and then
iterate through it. We can traverse the list and early-exit if we're
able to.
7 years ago
Lioncash
c227927751
configure_hotkeys: Remove unused EmitHotkeysChanged()
1. This is something that should be solely emitted by the hotkey dialog
itself
2. This is functionally unused, given there's nothing listening for the
signal.
7 years ago
Lioncash
82b996abf7
sequence_dialog: Reorganize the constructor
The previous code was all "smushed" together wasn't really grouped
together that well.
This spaces things out and separates them by relation to one another,
making it easier to visually parse the individual sections of code that
make up the constructor.
7 years ago
Lioncash
6b913ce590
sequence_dialog: Remove unnecessary horizontal specifier
QDialogButtonBoxes are horizontal by default.
7 years ago
Lioncash
2554072b1d
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
Uses a std::string_view instead of a std::string, given the pointed to
string isn't modified and is only used in a formatting operation.
This is nice because a few usages directly supply a string literal to
the function, allowing these usages to otherwise not heap allocate,
unlike the std::string overloads.
While we're at it, we can combine the address formatting into a single
formatting call.
7 years ago
bunnei
cb4fef9da1
Merge pull request #2513 from lioncash/string
yuzu/main: Specify string conversions explicitly
7 years ago
bunnei
c539e53e55
Merge pull request #2358 from ReinUsesLisp/parallel-shader
gl_shader_cache: Use shared contexts to build shaders in parallel at boot
7 years ago
Lioncash
2cb44f4a07
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
A checkbox is able to be tri-state, giving it three possible activity
types, so in the connect call here, it would actually be truncating an
int into a bool.
Instead, we can just listen on the toggled() signal, which passes along
a bool, not an int.
7 years ago
Lioncash
6924e2ee68
yuzu/CMakeLists: Disable implicit QString conversions
Now that all of our code is compilable with implicit QString
conversions, we can enforce it at compile-time by disabling them.
7 years ago
Lioncash
f4a1312c3c
yuzu/applets/software_keyboard: Remove unused assert header
This isn't actually used anywhere, so it can be removed.
7 years ago
Lioncash
c991a5d2b0
yuzu/applets/software_keyboard: std::move argument in MainWindowFinishedText()
Given the std::optional can contain an object type that heap allocates,
we can use std::move to avoid an unnecessary copy/allocation from
occurring.
7 years ago
Lioncash
63eed87b61
yuzu/applets/software_keyboard: Resolve sign mismatch comparison
Qt uses a signed value to represent container sizes, so this was causing
a sign mismatch warning.
7 years ago
Lioncash
cd72443889
yuzu/applets/software_keyboard: Specify string conversions explicitly
Allows the software keyboard applet code to compile with implicit string
conversions disabled.
7 years ago
Lioncash
0cfd78073f
yuzu/applets/error: Specify string conversions explicitly
Allows the error applet to build successfully with implicit string
conversions disabled.
7 years ago