aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
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
2019-01-22maxwell_3d: Set rt_separate_frag_data to 1 by defaultReinUsesLisp
Commercial games assume that this value is 1 but they never set it. On the other hand nouveau manually sets this register. On ConfigureFramebuffers we were asserting for what we are actually implementing (according to envytools).
2019-01-20Rename step 1 and step 2 to be a little more descriptiveJames Rowe
2019-01-20QT: Upgrade the Loading Bar to look much betterJames Rowe
2019-01-20Merge pull request #2008 from ReinUsesLisp/dirty-framebuffersbunnei
gl_rasterizer_cache: Use dirty flags for framebuffers
2019-01-20Merge pull request #2002 from ReinUsesLisp/dsa-vao-bufferbunnei
gl_rasterizer: Use DSA for VAOs and buffers
2019-01-18gl_rasterizer: Silent unsafe mix warningReinUsesLisp
2019-01-15shader_ir: Fixup clang buildReinUsesLisp
2019-01-15gl_shader_decompiler: replace std::get<> with std::get_if<> for macOS ↵ReinUsesLisp
compatibility
2019-01-15gl_shader_decompiler: Inline textureGather componentReinUsesLisp
2019-01-15shader_decode: Fixup XMADReinUsesLisp
2019-01-15shader_ir: Pass to decoder functions basic block's codeReinUsesLisp
2019-01-15shader_decode: Improve zero flag implementationReinUsesLisp
2019-01-15shader_ir: Remove composite primitives and use temporals insteadReinUsesLisp
2019-01-15gl_shader_decompiler: Fixup AssignCompositeHalfReinUsesLisp
2019-01-15shader_decode: Use proper primitive namesReinUsesLisp
2019-01-15shader_decode: Use BitfieldExtract instead of shift + andReinUsesLisp
2019-01-15shader_ir: Remove Ipa primitiveReinUsesLisp
2019-01-15gl_shader_decompiler: Use rasterizer's UBO size limitReinUsesLisp
2019-01-15gl_shader_gen: Fixup code formattingReinUsesLisp
2019-01-15video_core: Rename glsl_decompiler to gl_shader_decompilerReinUsesLisp
2019-01-15shader_ir: Remove RZ and use Register::ZeroIndex insteadReinUsesLisp
2019-01-15shader_decode: Implement TEXS.F16ReinUsesLisp
2019-01-15shader_decode: Fixup R2PReinUsesLisp
2019-01-15glsl_decompiler: Fixup TLDSReinUsesLisp
2019-01-15glsl_decompiler: Fixup geometry shadersReinUsesLisp
2019-01-15shader_decode: Fixup WriteLogicOperation zero comparisonReinUsesLisp
2019-01-15glsl_decompiler: Fixup permissive member function declarationsReinUsesLisp
2019-01-15shader_decode: Fixup PSETReinUsesLisp
2019-01-15shader_decode: Fixup clang-formatReinUsesLisp
2019-01-15video_core: Implement IR based geometry shadersReinUsesLisp
2019-01-15shader_decode: Implement VMAD and VSETPReinUsesLisp
2019-01-15shader_decode: Implement HSET2ReinUsesLisp
2019-01-15shader_decode: Rework HSETP2ReinUsesLisp
2019-01-15shader_decode: Implement R2PReinUsesLisp
2019-01-15shader_decode: Implement CSETPReinUsesLisp
2019-01-15shader_decode: Implement PSETReinUsesLisp
2019-01-15shader_decode: Implement HFMA2ReinUsesLisp