bunnei
b00904f10e
gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.
8 years ago
bunnei
602ff24d5c
gl_rasterizer: Use zeta_enable register to enable depth buffer.
8 years ago
bunnei
6d96a4fc0a
maxwell_3d: Add depth buffer enable, width, and height registers.
8 years ago
bunnei
6602b23676
Merge pull request #759 from lioncash/redundant
file_util: Remove redundant duplicate return in GetPathWithoutTop()
8 years ago
bunnei
9ae3e4413f
Merge pull request #748 from lioncash/namespace
video_core: Use nested namespaces where applicable
8 years ago
bunnei
fae0eaf7c6
Merge pull request #758 from lioncash/sync
common: Remove synchronized_wrapper.h
8 years ago
bunnei
0bb774f069
Merge pull request #760 from lioncash/path
file_util: Use an enum class for GetUserPath()
8 years ago
bunnei
f0a4d6cb67
Merge pull request #762 from Subv/ioctl2
GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command.
8 years ago
Subv
c4bfd25a6a
GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command.
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx.
Many thanks to @gdkchan for investigating this!
8 years ago
Lioncash
85ca923ed4
file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.
We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
8 years ago
Lioncash
478a19a774
file_util: Remove explicit type from std::min() in GetPathWithoutTop()
Given both operands are the same type, there won't be an issue with
overload selection that requires making this explicit.
8 years ago
Lioncash
32dde02a89
file_util: Remove redundant duplicate return in GetPathWithoutTop()
8 years ago
Lioncash
8ec2f1b2b7
common: Remove synchronized_wrapper.h
This is entirely unused in the codebase.
8 years ago
bunnei
8623af5453
Merge pull request #754 from lioncash/part
partition_filesystem, vfs_real: Minor changes
8 years ago
bunnei
51ba7c8827
Merge pull request #750 from lioncash/ctx
arm_interface: Remove unused tls_address member of ThreadContext
8 years ago
bunnei
622bec6577
Merge pull request #756 from lioncash/dynarmic
externals: Update dynarmic to 7ea1241
8 years ago
bunnei
09837fe5ff
Merge pull request #746 from lioncash/tests
tests/arm_test_common: Minor changes
8 years ago
bunnei
039c35ddeb
Merge pull request #747 from lioncash/unimplemented
gl_shader_manager: Remove unimplemented function prototype
8 years ago
bunnei
376ef08be7
Merge pull request #755 from lioncash/ctor
file_sys/errors: Remove redundant object constructor calls
8 years ago
bunnei
f3f12b09ad
Merge pull request #749 from lioncash/consistency
gpu: Rename Get3DEngine() to Maxwell3D()
8 years ago
bunnei
6458900d74
Merge pull request #751 from Subv/tpidr_el0
CPU: Save and restore the TPIDR_EL0 system register on every context switch
8 years ago
bunnei
58911f4ec5
Merge pull request #753 from lioncash/const
vfs: Minor changes
8 years ago
Lioncash
1c5bffe506
externals: Update dynarmic to 7ea1241
Resolves an issue with TPIDR setting being erroneously removed in the
dead code pass.
8 years ago
bunnei
bd9786a6ff
Merge pull request #752 from Subv/vfs_load
Loader: Only print the module names and addresses if they actually exist.
8 years ago
Lioncash
25e1111621
file_sys/errors: Remove redundant object constructor calls
Given we're already constructing the error code, we don't need to call
the constructor inside of it.
8 years ago
Lioncash
285dfd1a6d
vfs_real: Remove redundant copying of std::vector instances in GetFiles() and GetSubdirectories()
We already return by value, so we don't explicitly need to make the
copy.
8 years ago
Lioncash
97f7a15e70
partition_filesystem, vfs_real: Add missing standard includes
8 years ago
Lioncash
ed7f23ef32
partition_filesystem, vfs_real: Use std::move in ReplaceFileWithSubdirectory() where applicable
Avoids unnecessary atomic increment and decrement operations.
8 years ago
Lioncash
24fc1a425a
partition_filesystem, vfs_real: Use std::distance() instead of subtraction
This is a little bit more self-documenting on what is being done here.
8 years ago
Lioncash
785d86d181
vfs_offset: Simplify TrimToFit()
We can simply use std::clamp() here, instead of using an equivalent
with std::max() and std::min().
8 years ago
Lioncash
25510961ea
vfs: Make WriteBytes() overload taking a std::vector pass the std::vector by const reference
Given the data is intended to be directly written, there's no need to
take the std::vector by value and copy the data.
8 years ago
Lioncash
e523ab8b03
vfs: Use variable template variants of std::is_trivially_copyable
Provides the same behavior, but with less writing
8 years ago
Lioncash
556aaf9627
vfs: Amend constness on pointers in WriteBytes() and WriteArrays() member functions to be const qualified
These functions don't modify the data being pointed to, so these can be
pointers to const data
8 years ago
Subv
c1cc141fb0
Loader: Only print the module names and addresses if they actually exist.
8 years ago
Subv
196a689d20
CPU: Save and restore the TPIDR_EL0 system register on every context switch.
Note that there's currently a dynarmic bug preventing this register from being written.
8 years ago
bunnei
8333b9afd0
Merge pull request #743 from lioncash/view
logging: Use std::string_view where applicable
8 years ago
bunnei
a140792144
Merge pull request #745 from lioncash/package
param_package: Minor changes
8 years ago
Lioncash
f4047ccd48
arm_interface: Remove unused tls_address member of ThreadContext
Currently, the TLS address is set within the scheduler, making this
member unused.
8 years ago
Lioncash
604f780c9d
gl_shader_manager: Replace unimplemented function prototype
This was just a linker error waiting to happen.
8 years ago
Lioncash
d923d8f50c
gpu: Rename Get3DEngine() to Maxwell3D()
This makes it match its const qualified equivalent.
8 years ago
Lioncash
bdfd46e192
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
bunnei
2a56f71e58
Merge pull request #742 from bunnei/misc-apm
apm: Improve stub for GetPerformanceConfiguration.
8 years ago
bunnei
2ddad964a7
Merge pull request #741 from lioncash/enum
ipc_helpers: Add PushEnum() member function to ResponseBuilder
8 years ago
Lioncash
633cba2848
arm_test_common: Get rid of truncation warnings
Explicitly cast the value to a u8 to show that this is intentional.
8 years ago
Lioncash
193e23b12f
arm_test_common: Make file static variable a member variable of the testing environment
Gets rid of file-static behavior.
8 years ago
Lioncash
c45b86bbb4
arm_test_common: Add missing header guard
8 years ago
Lioncash
a2e090303f
param_package: Take std::string by value in string-based Set() function
Allows avoiding string copies by letting the strings be moved into the
function calls.
8 years ago
Lioncash
3c613decdf
param_package: Use std::unordered_map's insert_or_assign instead of map indexing
This avoids a redundant std::string construction if a key doesn't exist
in the map already.
e.g.
data[key] requires constructing a new default instance of the value in
the map (but this is wasteful, since we're already setting something
into the map over top of it).
8 years ago
Lioncash
48ea3bc5fb
param_package: Get rid of file-static std::string construction
Avoids potential dynamic allocation occuring during program launch
8 years ago
Lioncash
e107471e08
logging/filter: Use std::string_view in ParseFilterString()
Allows avoiding constructing std::string instances, since this only
reads an arbitrary sequence of characters.
We can also make ParseFilterRule() internal, since it doesn't depend on
any private instance state of Filter
8 years ago