| Age | Commit message (Collapse) | Author |
|
The returned string is simply a substring of our constexpr tabs
string_view, so we can just use a string_view here as well, since the
original string_view is guaranteed to always exist.
Now the function is fully non-allocating.
|
|
It's never used outside of this class, so we can narrow its scope down.
|
|
This can be confusing, given "ident" is generally used as a shorthand
for "identifier".
|
|
Makes a few strings nicer to read and also eliminates a bit of string
churn with operator+.
|
|
maxwell_3d: Silence truncation warnings
|
|
video_core/texture_cache: Amend Doxygen references
|
|
texture_cache: Avoid unnecessary surface copies within PickStrategy() and TryReconstructSurface()
|
|
General fixes to Async GPU
|
|
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
|
|
Prevents fallthrough into the following case.
|
|
gl_shader_decompiler: Minor cleanup-related changes
|
|
TryReconstructSurface()
We can take these by const reference and avoid making unnecessary
copies, preventing some atomic reference count increments and
decrements.
|
|
This can be trivially fixed by making the input size a size_t.
CFGRebuildState's constructor parameter is already a std::size_t, so
this just makes the size type fully conform with it.
|
|
This is only ever used to read, but not write, the resulting string, so
we can enforce this by making it a const member function.
|
|
This allows the function to be completely non-allocating for inputs of
all sizes (i.e. there's no heap cost for an input to convert to a
std::string_view).
|
|
This is only ever used within this function, so we can narrow it's scope
down.
|
|
references where applicable
These member functions don't actually modify the input parameter, so we
can make this explicit with the use of const.
|
|
Avoids an unnecessary atomic reference count increment and decrement.
|
|
This only ever queries if the type exists within the variant, but
doesn't actually do anything with the return value. We can just use
std::holds_alternative for this use case.
|
|
Allows usages of the constructor to avoid an unnecessary copy.
|
|
MetaImage contains a std::vector, so copying here could result in
unnecessary reallocations. Given the operation lives throughout the
entire scope, this is safe to do.
|
|
A trivial warning caused by not using size_t as the argument types
instead of u32.
|
|
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
|
|
We can just make use of the reference member variable instead of
accessing the global system instance.
|
|
Amends the doxygen comments so that they properly resolve. While we're
at it, we can correct some typos and fix up some of the comments'
formatting in order to make them slightly nicer to read.
|
|
Makes the header more general for other potential algorithms in the
future. While we're at it, include a missing <functional> include to
satisfy the use of std::less.
|
|
|
|
maxwell_3d: Add dirty flags for depth bounds values
|
|
gl_rasterizer: Fix polygon offset units
|
|
HSETP2 when used with a constant buffer parses the second operand type
as F32. This is not configurable.
|
|
|
|
Previously old entries where appended to the file even if the shader
cache was ignored at boot. Address that issue.
|
|
|
|
These can inhibit the ability of a compiler to perform RVO.
|
|
|
|
std::string
Allows the function to be non-allocating in terms of the output string.
|
|
|
|
Same behavior, but without the need to heap allocate
|
|
This is behaviorally equivalent and also fixes a bug where some members
weren't being moved over.
|
|
Keeps them alphabetically sorted for readability.
|
|
Provides logical symmetry to the interface.
|
|
Avoids unnecessary atomic reference count increments and decrements.
|
|
Provides const equivalents of data accessors for use within const
contexts.
|
|
Shader_IR: Implement a full control flow decompiler for the shader IR.
|
|
This is useful in Vulkan where we want to update depth bounds without
caring if it's enabled or disabled through vkCmdSetDepthBounds.
|
|
|
|
|
|
|
|
|
|
This commit uses guest fences on vSync event instead of an articial fake
fence we had.
It also corrects to keep signaling display events while loading the game
as the OS is suppose to send buffers to vSync during that time.
|