| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
maxwell_3d: Allow texture handles with TIC id zero
|
|
gl_rasterizer: Use DSA for textures and move swizzling to texture state
|
|
video_core/texture: Fix BitField size for depth_minus_one
|
|
shader_ir/memory: Add LD_L 64 bits loads
|
|
|
|
Fix TXQ not using the component mask.
|
|
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
|
|
|
|
|
|
Some games search conditionally use global memory instructions. This
allows the heuristic to search inside conditional nodes for the source
constant buffer.
|
|
It's not always used as a basic block. Rename it for consistency.
|
|
Some games call LDG at the top of a basic block, making the tracking
heuristic to fail. This commit lets the heuristic the decoded nodes as a
whole instead of per basic blocks.
This may lead to some false positives but allows it the heuristic to
track cases it previously couldn't.
|
|
|
|
|
|
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because
it would become unused.
|
|
|
|
|
|
|
|
|
|
shader_ir: Unify constant buffer offset values
|
|
gl_rasterizer: Workaround invalid zeta clears
|
|
|
|
|
|
|
|
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
|
|
|
|
|
|
|
|
|
|
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
|
|
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.
|
|
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
|
|
|
|
|
|
|
|
* 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.
|
|
Given we're in the area, these are three trivial typos that can be
corrected.
|
|
Orders the class members in the same order that they would actually be
initialized in. Gets rid of two compiler warnings.
|
|
std::moveing a local variable in a return statement has the potential to
prevent copy elision from occurring, so this can just be converted into
a regular return.
|
|
|
|
video_core: Replace gl_shader_decompiler with an IR based decompiler
|
|
|