Hexagon12
4d209c96e3
Merge pull request #2500 from FernandoS27/revert-2466
Revert #2466
7 years ago
Fernando Sahmkow
891060f8f2
Revert #2466
This reverts a tested behavior on delay slots not exiting if the exit
flag is set. Currently new tests are required in order to ensure this
behavior.
7 years ago
bunnei
5127e54674
Merge pull request #2441 from ReinUsesLisp/al2p
shader: Implement AL2P and ALD.PHYS
7 years ago
bunnei
a72ef964b4
Merge pull request #2410 from lioncash/affinity
kernel/svc: Reorganize and fix up the initial handling of svcSetThreadCoreMask()
7 years ago
Hexagon12
1240fcaccf
Merge pull request #2491 from FernandoS27/dma-fix
Dma_pusher: ASSERT on empty command_list
7 years ago
Hexagon12
9543443e89
Merge pull request #2452 from FernandoS27/raster-cache-fix
Correct possible error on Rasterizer Caches
7 years ago
Hexagon12
ef65b396bb
Merge pull request #2497 from lioncash/shader-ir
shader/shader_ir: Minor changes
7 years ago
Hexagon12
4ba26ae978
Merge pull request #2495 from lioncash/cache
gl_shader_disk_cache: Minor cleanup
7 years ago
Fernando Sahmkow
fc9a1b81cb
Dma_pusher: ASSERT on empty command_list
This is a measure to avoid crashes on command list reading as an empty
command_list is considered a NOP.
7 years ago
Hexagon12
5e517df3c7
Merge pull request #2439 from lioncash/audren
service/audren_u: Get rid of magic values within GetAudioRendererWorkBufferSize
7 years ago
Hexagon12
369534c6fd
Merge pull request #2467 from lioncash/move
video_core/gpu_thread: Remove redundant copy constructor for CommandDataContainer
7 years ago
Hexagon12
824fa78da3
Merge pull request #2463 from lioncash/set
service/set: Correct and simplify behavior related to copying language codes
7 years ago
Hexagon12
0275a6a8a4
Merge pull request #2466 from yuzu-emu/mme-exit-delay-slot
GPU/MMEInterpreter: Ignore the 'exit' flag when it's executed inside a delay slot.
7 years ago
Hexagon12
709885905d
Merge pull request #2468 from lioncash/deduction
yuzu: Remove explicit types from locks where applicable
7 years ago
Hexagon12
3973cb147e
Merge pull request #2472 from FernandoS27/tic
maxwell_3d: reduce severity of different component formats assert.
7 years ago
Hexagon12
f8e300abb0
Merge pull request #2469 from lioncash/copyable
video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
7 years ago
Sebastian Valle
f5e3f11b61
Merge pull request #2470 from lioncash/ranged-for
video_core/engines/maxwell_3d: Simplify for loops into ranged for loops within InitializeRegisterDefaults()
7 years ago
Hexagon12
91bb4a62e1
Merge pull request #2487 from lioncash/service-return
service/am: Add missing return in error case for IStorageAccessor's Read/Write()
7 years ago
Hexagon12
f30f3b9d4c
Merge pull request #2480 from ReinUsesLisp/fix-quads
gl_rasterizer: Pass the right number of array quad vertices count
7 years ago
Hexagon12
62cd586245
Merge pull request #2483 from ReinUsesLisp/fix-point-size
gl_rasterizer: Limit OpenGL point size to a minimum of 1
7 years ago
Sebastian Valle
a3c11b75df
Merge pull request #2471 from lioncash/engine-upload
video_core/engines/engine_upload: Minor tidying
7 years ago
Sebastian Valle
04f641af07
Merge pull request #2484 from ReinUsesLisp/triangle-fan
maxwell_to_gl: Add TriangleFan primitive topology
7 years ago
Hexagon12
48adf39929
Merge pull request #2490 from lioncash/float
ipc_helpers: Amend floating-point type in Pop<double> specialization
7 years ago
Hexagon12
60e2920a47
Merge pull request #2492 from lioncash/debugger
yuzu/debugger: Specify string conversions explicitly
7 years ago
Sebastian Valle
b42d727646
Merge pull request #2486 from lioncash/resetname
core/kernel/object: Rename ResetType enum members for clarity
7 years ago
Sebastian Valle
e7eee9c4b3
Merge pull request #2488 from lioncash/static-fn
kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linked
7 years ago
Sebastian Valle
9757546405
Merge pull request #2493 from lioncash/translate
yuzu/applets/profile_select: Mark header string as translatable
7 years ago
Sebastian Valle
5d1376b2c7
Merge pull request #2496 from lioncash/move-con
gl_shader_gen: std::move objects where applicable
7 years ago
Hexagon12
5824fb941f
Merge pull request #2473 from lioncash/vs2019
CMakeLists: Handle VS 2019 in a less annoying manner
7 years ago
Hexagon12
1a4a8a1de6
Merge pull request #2476 from ReinUsesLisp/fix-compat
yuzu/bootmanager: Explicitly enable deprecated OpenGL features on compat
7 years ago
Hexagon12
797a7fbdf5
Merge pull request #2498 from lioncash/unused-code
yuzu/util: Remove unused spinbox.cpp/.h
7 years ago
Lioncash
5ffa4c6a82
shader/shader_ir: Remove unnecessary inline specifiers
constexpr internally links by default, so the inline specifier is
unnecessary.
7 years ago
Lioncash
b1c14e2810
shader/shader_ir: Simplify constructors for OperationNode
Many of these constructors don't even need to be templated. The only
ones that need to be templated are the ones that actually make use of
the parameter pack.
Even then, since std::vector accepts an initializer list, we can supply
the parameter pack directly to it instead of creating our own copy of
the list, then copying it again into the std::vector.
7 years ago
Lioncash
62c55e0086
shader/shader_ir: Remove unnecessary template parameter packs from Operation() overloads where applicable
These overloads don't actually make use of the parameter pack, so they
can be turned into regular non-template function overloads.
7 years ago
Lioncash
603d9a632a
shader/shader_ir: Mark tracking functions as const member functions
These don't actually modify instance state, so they can be marked as
const member functions
7 years ago
Lioncash
a5125bd988
yuzu/util: Remove unused spinbox.cpp/.h
This has been left unused since the removal of the vestigial surface
viewer. Given it has no uses left, this can be removed as well.
7 years ago
Lioncash
c410a37168
shader/shader_ir: Place implementations of constructor and destructor in cpp file
Given the class contains quite a lot of non-trivial types, place the
constructor and destructor within the cpp file to avoid inlining
construction and destruction code everywhere the class is used.
7 years ago
Lioncash
034deed766
gl_shader_gen: std::move objects where applicable
Avoids performing copies into the pair being returned. Instead, we can
just move the resources into the pair, avoiding the need to make copies
of both the std::string and ShaderEntries struct.
7 years ago
Lioncash
41aa8982eb
gl_shader_disk_cache: in-class initialize virtual file offset of ShaderDiskCacheOpenGL
Given the offset is assigned a fixed value in the constructor, we can
just assign it directly and get rid of the need to write the name of the
variable again in the constructor initializer list.
7 years ago
Lioncash
df62a68aba
gl_shader_disk_cache: Default ShaderDiskCacheOpenGL's destructor in the cpp file
Given the disk shader cache contains non-trivial types, we should
default it in the cpp file in order to prevent inlining of the
complex destruction logic.
7 years ago
Lioncash
3e7c4827ec
gl_shader_disk_cache: Make hash specializations noexcept
The standard library expects hash specializations that don't throw
exceptions. Make this explicit in the type to allow selection of better
code paths if possible in implementations.
7 years ago
Lioncash
55feec3b8c
gl_shader_disk_cache: Remove redundant code string construction in LoadDecompiledEntry()
We don't need to load the code into a vector and then construct a string
over the data. We can just create a string with the necessary size ahead
of time, and read the data directly into it, getting rid of an
unnecessary heap allocation.
7 years ago
Lioncash
71f4dffb88
gl_shader_disk_cache: Make variable non-const in decompiled entry case
std::move does nothing when applied to a const variable. Resources can't
be moved if the object is immutable. With this change, we don't end up
making several unnecessary heap allocations and copies.
7 years ago
Lioncash
1cc28a176d
gl_shader_disk_cache: Special-case boolean handling
Booleans don't have a guaranteed size, but we still want to have them
integrate into the disk cache system without needing to actually use a
different type. We can do this by supplying non-template overloads for
the bool type.
Non-template overloads always have precedence during function
resolution, so this is safe to provide.
This gets rid of the need to smatter ternary conditionals, as well as
the need to use u8 types to store the value in.
7 years ago
Lioncash
db22039c4b
yuzu/applets/profile_select: Mark header string as translatable
This is a user-facing string, so it should be marked as translatable.
7 years ago
Lioncash
a5f4e8c066
yuzu/debugger/graphics/graphics_breakpoints: Specify string conversions explicitly
Allows the graphics breakpoints to compile with implicit string
conversions disabled.
7 years ago
Lioncash
0a7eea3d16
yuzu/debugger/profiler: Specify string conversions explicitly
This allows the microprofile widget to compile with implicit string
conversions disabled.
7 years ago
Lioncash
d1b2ed0a86
yuzu/debugger/wait_tree: Specify string conversions explicitly
Allows compiling the wait tree widget with implicit string conversions
disabled.
7 years ago
Lioncash
f768365cd5
ipc_helpers: Amend floating-point type in Pop<double> specialization
Currently, this overload isn't used, so this wasn't actually hit in any
code, only the float overload is used.
7 years ago
Lioncash
41ddec92eb
kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linked
These are only used from within this translation unit, so they don't
need to have external linkage. They were intended to be marked with this
anyways to be consistent with the other service functions.
7 years ago