Age | Commit message (Collapse) | Author |
|
|
|
|
|
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
|
|
|
|
shader_ir: Unify constant buffer offset values
|
|
hwopus: Implement DecodeInterleaved (the newest variant)
|
|
gl_rasterizer: Workaround invalid zeta clears
|
|
kernel: Remove the Timer class
|
|
|
|
|
|
A holdover from citra, the Horizon kernel on the switch has no
prominent kernel object that functions as a timer. At least not
to the degree of sophistication that this class provided.
As such, this can be removed entirely. This class also wasn't used at
all in any meaningful way within the core, so this was just code sitting
around doing nothing. This also allows removing a few things from the
main KernelCore class that allows it to use slightly less resources
overall (though very minor and not anything really noticeable).
|
|
service: Update function tables
|
|
kernel/wait_object: Devirtualize functions related to manipulating the thread list directly
|
|
service/nvflinger: Minor renaming changes
|
|
thread list directly
No inheritors of the WaitObject class actually make use of their own
implementations of these functions, so they can be made non-virtual.
It's also kind of sketchy to allow overriding how the threads get added
to the list anyways, given the kernel itself on the actual hardware
doesn't seem to customize based off this.
|
|
This implementation just calls the base class variant of the function,
so this isn't necessary.
|
|
This just calls the base variant of the function, so it can be removed.
|
|
video_core/dma_pusher: Silence C4828 warnings
|
|
This was previously causing:
warning C4828: The file contains a character starting at offset 0xa33
that is illegal in the current source character set (codepage 65001).
warnings on Windows when compiling yuzu.
|
|
Add more info into textures' object labels
|
|
This functions almost identically to DecodeInterleavedWithPerfOld,
however this function also has the ability to reset the decoder context.
This is documented as a potentially desirable thing in the libopus
manual in some circumstances as it says for the OPUS_RESET_STATE ctl:
"This should be called when switching streams in order to prevent the
back to back decoding from giving different result from one at a time
decoding."
|
|
This member function doesn't actually modify instance state, so it can
be const-qualified.
|
|
This more accurately describes what the function is actually attempting
to do (it's not a simple trivial getter).
|
|
Constant buffer values on the shader IR were using different offsets if
the access direct or indirect. cbuf34 has a non-multiplied offset while
cbuf36 does. On shader decoding this commit multiplies it by four on
cbuf34 queries.
|
|
DecodeInterleavedWithPerfOld
Keeps the logic in one spot for use by both functions.
|
|
This doesn't really offer anything over the use of a direct pointer, so
we can just use that instead.
|
|
Makes non-mutable state more explicit.
|
|
Filled in via information provided by SwitchBrew.
|
|
Updates function tables based off information provided by SwitchBrew
|
|
Updates function tables based off information provided by SwitchBrew
|
|
Updates function tables based off information provided by SwitchBrew.
|
|
Updates function tables based off information provided by SwitchBrew.
|
|
Updates function tables based off information provided by SwitchBrew.
|
|
Updates function tables based off information provided by SwitchBrew
|
|
Updates function tables based off information provided by SwitchBrew.
|
|
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
|
|
service/nvflinger: Add the null display type
|
|
|
|
|
|
|
|
* Implemented the puller semaphore operations.
* Nit: Fix 2 style issues
* Nit: Add Break to default case.
* Fix style.
* Update for comments. Added ReferenceCount method
* Forgot to remove GpuSmaphoreAddress union.
* Fix the clang-format issues.
* More clang formatting.
* two more white spaces for the Clang formatting.
* Move puller members into the regs union
* Updated to use Memory::WriteBlock instead of Memory::Write*
* Fix clang style issues
* White space clang error
* Removing unused funcitons and other pr comment
* Removing unused funcitons and other pr comment
* More union magic for setting regs value.
* union magic refcnt as well
* Remove local var
* Set up the regs and regs_assert_positions up properly
* Fix clang error
|
|
Cubemaps are considered layered and to create a texture view the texture
mustn't be a layered texture, resulting in cubemaps being bound as
cubemap arrays. To fix this issue this commit introduces an extra
surface parameter called "is_array" and uses this to query for texture
view creation.
Now that texture views for cubemaps are actually being created, this
also fixes the number of layers created for the texture view (since they
have to be 6 to create a texture view of cubemaps).
|
|
Some games (like Xenoblade Chronicles 2) clear both depth and stencil
buffers while there's a depth-only texture attached (e.g. D16 Unorm).
This commit reads the zeta format of the bound surface on
ConfigureFramebuffers and returns if depth and/or stencil attachments
were set. This is ignored on DrawArrays but on Clear it's used to just
clear those attachments, bypassing an OpenGL error.
|
|
Updates the function tables based off information on SwitchBrew. Gets
rid of a swath of unknown names.
|
|
In addition to the default, external, EDID, and internal displays,
there's also a null display provided as well, which as the name
suggests, does nothing but discard all commands given to it. This is
provided for completeness.
|
|
warning
Opening a display isn't really a thing to warn about. It's an expected
thing, so this can be a debug log. This also alters the string to
indicate the display name better.
Opening "Default" display reads a little nicer compared to Opening
display Default.
|
|
|
|
Makes non-mutable state more explicit.
|
|
The built-in set of displays is fixed, so we can utilize an array
instead of a vector here.
|
|
|