ReinUsesLisp
e8bd976b4d
shader: Split SSY and PBK stack
Hardware testing revealed that SSY and PBK push to a different stack,
allowing code like this:
SSY label1;
PBK label2;
SYNC;
label1: PBK;
label2: EXIT;
7 years ago
bunnei
51f8ffce6b
Merge pull request #2558 from ReinUsesLisp/shader-nodes
shader: Move Node declarations out of the shader IR header
7 years ago
ReinUsesLisp
d7f13b7e6e
cmake: Add missing shader hash file entries
7 years ago
ReinUsesLisp
419d5bf5db
shader/node: Minor changes
Reflect std::shared_ptr nature of Node on initializers and remove
constant members in nodes.
Add some commentaries.
7 years ago
ReinUsesLisp
056ff86fc9
shader: Move Node declarations out of the shader IR header
Analysis passes do not have a good reason to depend on shader_ir.h to
work on top of nodes. This splits node-related declarations to their own
file and leaves the IR in shader_ir.h
7 years ago
Zach Hilman
e31251a4ba
Merge pull request #2552 from ReinUsesLisp/shader-shared-ptr
shader: Use shared_ptr to store nodes and move initialization to file
7 years ago
Zach Hilman
9a5dcd6e0f
Merge pull request #2549 from lioncash/header
kernel/process: Remove unused boost header include
7 years ago
Zach Hilman
5432bbea4c
Merge pull request #2550 from lioncash/frontend
yuzu/CMakeLists: Pass compilation flags that make it more difficult to cause bugs in Qt code
7 years ago
bunnei
69d0f742d8
Merge pull request #2551 from lioncash/dtor
service/ns: Add missing override specifiers
7 years ago
ReinUsesLisp
fd392543e8
shader: Use shared_ptr to store nodes and move initialization to file
Instead of having a vector of unique_ptr stored in a vector and
returning star pointers to this, use shared_ptr. While changing
initialization code, move it to a separate file when possible.
This is a first step to allow code analysis and node generation beyond
the ShaderIR class.
7 years ago
bunnei
72f09c55a8
Merge pull request #2520 from ReinUsesLisp/vulkan-refresh
vk_device,vk_shader_decompiler: Miscellaneous changes
7 years ago
bunnei
c371527ae8
Merge pull request #2540 from ReinUsesLisp/remove-guest-position
gl_shader_decompiler: Remove guest "position" varying
7 years ago
bunnei
958729a303
Merge pull request #2419 from DarkLordZach/srv-lr-iface
lr: Add command handler skeletons for Open*LocationResolver
7 years ago
bunnei
02f5a7327c
Merge pull request #2521 from lioncash/naming
yuzu/configuration: Make function naming consistent
7 years ago
bunnei
94cf5f427a
Merge pull request #2512 from ReinUsesLisp/comp-indexing
gl_shader_decompiler: Pessimize uniform buffer access on AMD's prorpietary driver
7 years ago
Lioncash
783b996dcd
service/ns: Add missing override specifiers
7 years ago
Lioncash
3a5708eeaa
yuzu/CMakeLists: Disable implicit QString->QUrl conversions
Enforces the use of the proper URL resolution functions. e.g.
url = some_local_path_string;
should actually be:
url = QUrl::fromLocalPath(some_local_path_string);
etc.
This makes it harder to cause bugs when operating with both strings and
URLs at the same time.
7 years ago
Zach Hilman
70c78f611b
Merge pull request #2526 from lioncash/global
core/telemetry_session: Remove usages of the global system accessor
7 years ago
Zach Hilman
4facf2a3ee
Merge pull request #2545 from lioncash/timing
core/core_timing_util: Use std::chrono types for specifying time units
7 years ago
Zach Hilman
e17b4e1d95
Merge pull request #2541 from lioncash/input
input_common/sdl/sdl_impl: Minor cleanup
7 years ago
Lioncash
12b32a058b
yuzu/CMakeLists: Disable unsafe overloads of QProcess' start() function
Other overloads of start() are considerably much safer to use if we ever
need this in the future and need to pass arguments to the program, given
it contains separate parameters for the program path and the arguments
themselves, whereas this unsafe overload contains both as a single
string.
Given the alternatives are much safer, we can disable this.
7 years ago
Lioncash
5b4f92ca79
yuzu/CMakeLists: Disable implicit type narrowing in connect() calls
Prevents hard-to-diagnose bugs from potentially occurring and requires
any type narrowing to be explicitly performed by our code.
7 years ago
Lioncash
5bcab18c77
yuzu/configuration: Make function naming consistent
7 years ago
Zach Hilman
28ca105671
Merge pull request #2510 from SciresM/desired_language
Implement/Fix IApplicationFunctions::GetDesiredLanguage
7 years ago
Zach Hilman
436a453514
Merge pull request #2527 from lioncash/index
yuzu/{profile_select, software_keyboard}: Tidy up interface
7 years ago
Zach Hilman
c37c5f2262
Merge pull request #2534 from ReinUsesLisp/shader-cleanup
gl_shader_cache: Minor style changes
7 years ago
Zach Hilman
b650b97995
Merge pull request #2531 from ReinUsesLisp/qt-warnings
qt: Silence name collision warnings
7 years ago
Zach Hilman
985da7236f
Merge pull request #2515 from lioncash/narrowing
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
7 years ago
Zach Hilman
d51501ffdf
Merge pull request #2532 from ShalokShalom/patch-2
Remove outdated info about compability
7 years ago
Zach Hilman
5a5829b5ba
Merge pull request #2536 from lioncash/cache
game_list_worker: Use QFile over our own IOFile instance or std streams for the game list cache
7 years ago
Lioncash
c23f162111
kernel/process: Remove unused boost header include
Boost headers typically include a lot of other headers, so removing this
can prevent a bit of unnecessary compiler churn when building.
7 years ago
Rodrigo Locatti
6bfe76b9a9
Merge pull request #2529 from lioncash/boot
yuzu/bootmanager: Minor interface tidying
7 years ago
Lioncash
debd00b300
core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
7 years ago
Lioncash
97882b84a8
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
7 years ago
Lioncash
c5d6bd7f15
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago
Mat M
3249558b9d
Merge pull request #2525 from FearlessTobi/remove-unused-settings
yuzu: Remove unused birthday setting
7 years ago
Hexagon12
d7b2f55430
Merge pull request #2543 from FernandoS27/exit-flow
shader_bytecode: Mark EXIT as flow instruction
7 years ago
Fernando Sahmkow
a8250f511b
shader_bytecode: Mark EXIT as flow instruction
7 years ago
Lioncash
c10e37ddbf
input_common/sdl/sdl_impl: Correct logging string in SDLState constructor
If this path was ever taken, a runtime exception would occur due to the
lack of a formatting specifier to insert the error code into the format
string.
7 years ago
Lioncash
f7b6090635
input_common/sdl/sdl_impl: Move documentation comments to header where applicable
Places the documentation comments with the rest of SDLState's member
function documentation.
7 years ago
Lioncash
ac88c3d84d
input_common/sdl/sdl_impl: Amend names for axes for SDLAnalogPoller
Adds another underscore to clearly indicate the axis names.
7 years ago
Lioncash
4124d77186
input_common/sdl/sdl_impl: Mark variables const where applicable
Make it explicit that these aren't modified elsewhere (either through
functions by reference, or by other operations).
7 years ago
Lioncash
5b89bf78b8
input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as static
Its prototype declared at the top of the translation unit contains the
static qualifier, so the function itself should also contain it to make
it a proper internally linked function.
7 years ago
Lioncash
f0a45d70a8
input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_cast
It's valid to static_cast a void pointer back into its proper type.
7 years ago
Lioncash
ed90a754c5
input_common/sdl/sdl_impl: Use insert_or_assign() where applicable
Same behavior, but without a potential need to unnecessarily default
construct a value.
7 years ago
Lioncash
f51bbb791d
input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handling
The deleter can just be set in the constructor and maintained throughout
the lifetime of the object.
If a contained pointer is null, then the deleter won't execute, so this
is safe to do. We don't need to swap it out with a version of a deleter
that does nothing.
7 years ago
Lioncash
14fb03b99b
input_common/sdl/sdl_impl: Resolve two sign conversion warnings
Silences the final two warnings in SDL code.
7 years ago
Lioncash
24f0967a65
input_common/sdl: Remove unused header includes and forward declarations
Gets rid of a few unnecessary inclusion dependencies. It also uncovered
a few indirect inclusion dependencies being relied upon.
7 years ago
Lioncash
5438937cee
input_common/sdl/sdl_impl: Use nested namespace specifiers where applicable
7 years ago
Lioncash
e1a9cc2889
yuzu/bootmanager: Log out screenshot destination path
We can make this message more meaningful by indicating the location the
screenshot has been saved to. We can also log out whenever a screenshot
could not be saved (e.g. due to filesystem permissions or some other
reason).
7 years ago