aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-02-06gl_shader_decompiler: Remove name entriesReinUsesLisp
2019-02-06gl_shader_util: Add parameter to handle retrievable programsReinUsesLisp
2019-02-06rasterizer_interface: Add disk cache entry for the rasterizerReinUsesLisp
2019-02-06shader_decode: Implement LDG and basic cbuf trackingReinUsesLisp
2019-02-06Merge pull request #2042 from ReinUsesLisp/nouveau-texbunnei
maxwell_3d: Allow texture handles with TIC id zero
2019-02-06Merge pull request #2071 from ReinUsesLisp/dsa-texturebunnei
gl_rasterizer: Use DSA for textures and move swizzling to texture state
2019-02-05Merge pull request #2085 from ReinUsesLisp/cube-minus-onebunnei
video_core/texture: Fix BitField size for depth_minus_one
2019-02-05Merge pull request #2081 from ReinUsesLisp/lmem-64bunnei
shader_ir/memory: Add LD_L 64 bits loads
2019-02-05video_core/texture: Fix BitField size for depth_minus_oneReinUsesLisp
2019-02-04Merge pull request #2082 from FernandoS27/txq-stlbunnei
Fix TXQ not using the component mask.
2019-02-03Update src/video_core/engines/shader_bytecode.hMat M
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
2019-02-03Fix TXQ not using the component mask.Fernando Sahmkow
2019-02-03shader_ir/memory: Add ST_L 64 and 128 bits storesReinUsesLisp
2019-02-03shader/track: Search inside of conditional nodesReinUsesLisp
Some games search conditionally use global memory instructions. This allows the heuristic to search inside conditional nodes for the source constant buffer.
2019-02-03shader_ir: Rename BasicBlock to NodeBlockReinUsesLisp
It's not always used as a basic block. Rename it for consistency.
2019-02-03shader_ir: Pass decoded nodes as a whole instead of per basic blocksReinUsesLisp
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.
2019-02-03video_core: Assert on invalid GPU to CPU address queriesReinUsesLisp
2019-02-03maxwell_3d: Allow sampler handles with TSC id zeroReinUsesLisp
2019-02-03maxwell_3d: Allow texture handles with TIC id zeroReinUsesLisp
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused.
2019-02-03memory_manager: Check for reserved page statusReinUsesLisp
2019-02-03shader_ir/memory: Add LD_L 128 bits loadsReinUsesLisp
2019-02-03shader_bytecode: Rename BytesN enums to BitsNReinUsesLisp
2019-02-03shader_ir/memory: Add LD_L 64 bits loadsReinUsesLisp
2019-02-01Merge pull request #2074 from ReinUsesLisp/shader-ir-unify-offsetbunnei
shader_ir: Unify constant buffer offset values
2019-02-01Merge pull request #2067 from ReinUsesLisp/workaround-fbbunnei
gl_rasterizer: Workaround invalid zeta clears
2019-02-01rasterizer_interface: Remove unused AccelerateFill operationReinUsesLisp
2019-02-01video_core: Remove unused Fill surface typeReinUsesLisp
2019-01-30gl_rasterizer_cache: Fixup test clauseReinUsesLisp
2019-01-30gl_rasterizer_cache: Guard clause swizzle testingMat M
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
2019-01-30gl_state: Remove texture target trackingReinUsesLisp
2019-01-30gl_rasterizer_cache: Move swizzling to textures instead of stateReinUsesLisp
2019-01-30gl_state: Use DSA and multi bind to update texture bindingsReinUsesLisp
2019-01-30gl_rasterizer: Use DSA for texturesReinUsesLisp
2019-01-30Merge pull request #2076 from lioncash/encHexagon12
video_core/dma_pusher: Silence C4828 warnings
2019-01-30video_core/dma_pusher: Silence C4828 warningsLioncash
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.
2019-01-30Merge pull request #1485 from FernandoS27/render-infobunnei
Add more info into textures' object labels
2019-01-30shader_ir: Unify constant buffer offset valuesReinUsesLisp
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.
2019-01-29Merge pull request #2070 from ReinUsesLisp/cubearray-viewbunnei
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
2019-01-30gl_shader_cache: Use explicit bindingsReinUsesLisp
2019-01-30gl_rasterizer: Implement global memory managementReinUsesLisp
2019-01-30shader_decode: Implement LDG and basic cbuf trackingReinUsesLisp
2019-01-29video_core/GPU Implemented the GPU PFIFO puller semaphore operations. (#1908)Kevin
* 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
2019-01-29gl_shader_cache: Fix texture view for cubemaps as cubemap arraysReinUsesLisp
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).
2019-01-29gl_rasterizer: Workaround invalid zeta clearsReinUsesLisp
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.
2019-01-28shader/shader_ir: Amend three comment typosLioncash
Given we're in the area, these are three trivial typos that can be corrected.
2019-01-28shader/shader_ir: Amend constructor initializer ordering for AbufNodeLioncash
Orders the class members in the same order that they would actually be initialized in. Gets rid of two compiler warnings.
2019-01-28shader/decode: Avoid a pessimizing std::move within DecodeRange()Lioncash
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.
2019-01-26video_core: Silent implicit conversion warningReinUsesLisp
2019-01-25Merge pull request #1927 from ReinUsesLisp/shader-irbunnei
video_core: Replace gl_shader_decompiler with an IR based decompiler
2019-01-23frontend: Refactor ScopeAcquireWindowContext out of renderer_opengl.bunnei