aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-07-22Merge pull request #769 from bunnei/shader-mask-fixesbunnei
shader_bytecode: Implement other TEXS masks.
2018-07-22gl_shader_decompiler: Remove redundant Subroutine construction in ↵Lioncash
AddSubroutine() We don't need to toss away the Subroutine instance after the find() call and reconstruct another instance with the same data right after it. Particularly give Subroutine contains a std::set.
2018-07-22shader_bytecode: Implement other TEXS masks.bunnei
2018-07-22Merge pull request #767 from bunnei/shader-cleanupbunnei
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
2018-07-22gl_shader_decompiler: Remove unused state tracking and minor cleanup.bunnei
2018-07-22gl_shader_decompiler: Implement SEL instruction.bunnei
2018-07-21gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load.bunnei
2018-07-21gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set.bunnei
2018-07-21gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.bunnei
2018-07-21gl_rasterizer: Use zeta_enable register to enable depth buffer.bunnei
2018-07-21maxwell_3d: Add depth buffer enable, width, and height registers.bunnei
2018-07-21Merge pull request #748 from lioncash/namespacebunnei
video_core: Use nested namespaces where applicable
2018-07-21Merge pull request #747 from lioncash/unimplementedbunnei
gl_shader_manager: Remove unimplemented function prototype
2018-07-20gl_shader_manager: Replace unimplemented function prototypeLioncash
This was just a linker error waiting to happen.
2018-07-20gpu: Rename Get3DEngine() to Maxwell3D()Lioncash
This makes it match its const qualified equivalent.
2018-07-20video_core: Use nested namespaces where applicableLioncash
Compresses a few namespace specifiers to be more compact.
2018-07-20Merge pull request #738 from lioncash/signbunnei
gl_state: Get rid of mismatched sign conversions in Apply()
2018-07-20Merge pull request #735 from lioncash/video-unusedbunnei
maxwell_3d: Remove unused variable within GetStageTextures()
2018-07-20Merge pull request #731 from lioncash/shadowbunnei
gl_shader_decompiler: Eliminate variable and declaration shadowing
2018-07-20gl_state: Make references const where applicable in Apply()Lioncash
2018-07-20gl_state: Get rid of mismatched sign conversionsLioncash
While we're at it, amend the loop variable type to be the same width as that returned by the .size() call.
2018-07-19maxwell_3d: Remove unused variable within GetStageTextures()Lioncash
2018-07-19gl_shader_decompiler: Eliminate variable and declaration shadowingLioncash
Ensures that no identifiers are being hidden, which also reduces compiler warnings.
2018-07-19gl_shader_decompiler: Remove unnecessary const from return valuesLioncash
This adds nothing from a behavioral point of view, and can inhibit the move constructor/RVO
2018-07-18gl_state: Temporarily disable culling and depth test.bunnei
2018-07-18Merge pull request #687 from lioncash/instancebunnei
core: Don't construct instance of Core::System, just to access its live instance
2018-07-18decoders: Fix calc of swizzle image_width_in_gobs.bunnei
2018-07-18core: Don't construct instance of Core::System, just to access its live instanceLioncash
This would result in a lot of allocations and related object construction, just to toss it all away immediately after the call. These are definitely not intentional, and it was intended that all of these should have been accessing the static function GetInstance() through the name itself, not constructed instances.
2018-07-17Merge pull request #678 from lioncash/astcbunnei
astc: Minor changes
2018-07-17astc: Initialize vector size directly in DecompressLioncash
There's no need to perform a separate resize.
2018-07-17astc: Mark functions as internally linked where applicableLioncash
2018-07-17astc: const-correctness changes where applicableLioncash
A few member functions didn't actually modify class state, so these can be amended as necessary.
2018-07-17astc: Delete Bits' copy contstructor and assignment operatorLioncash
This also potentially avoids warnings, considering the copy assignment operator is supposed to have a return value.
2018-07-17astc: In-class initialize member variables where appropriateLioncash
2018-07-17vi: Partially implement buffer crop parameters.bunnei
2018-07-17GPU: Added register definitions for the stencil parameters.Subv
2018-07-15gl_rasterizer_cache: Implement texture format G8R8.bunnei
2018-07-14Merge pull request #665 from bunnei/fix-z24-s8bunnei
gl_rasterizer_cache: Fix incorrect offset in ConvertS8Z24ToZ24S8.
2018-07-15gl_rasterizer_cache: Fix incorrect offset in ConvertS8Z24ToZ24S8.bunnei
2018-07-14gl_rasterizer_cache: Implement depth format Z16_UNORM.bunnei
2018-07-14Merge pull request #598 from bunnei/makedonecurrentbunnei
OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.
2018-07-14OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.bunnei
2018-07-14GPU: Always enable the depth write when clearing the depth buffer.Subv
The GPU ignores that register when clearing, but OpenGL obeys the glDepthMask parameter, so we set the depth mask to GL_TRUE when clearing the depth buffer. It will be restored to the correct value automatically on the next draw call.
2018-07-12gl_rasterizer: Fix check for if a shader stage is enabled.bunnei
2018-07-12gl_shader_gen: Implement dual vertex shader mode.bunnei
- When VertexA shader stage is enabled, we combine with VertexB program to make a single Vertex Shader stage.
2018-07-12Merge pull request #655 from bunnei/pred-lt-nanbunnei
gl_shader_decompiler: Implement PredCondition::LessThanWithNan.
2018-07-12gl_shader_decompiler: Implement PredCondition::LessThanWithNan.bunnei
2018-07-12gl_shader_decompiler: Use FlowCondition field in EXIT instruction.bunnei
2018-07-12Merge pull request #652 from Subv/fadd32iSebastian Valle
GPU: Implement the FADD32I shader instruction.
2018-07-12Merge pull request #651 from Subv/ffma_decodebunnei
GPU: Corrected the decoding of FFMA for immediate operands.