aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
AgeCommit message (Collapse)Author
2018-08-11Merge pull request #1024 from Subv/blend_glbunnei
GPU/Maxwell3D: Implemented an alternative set of blend factors.
2018-08-11GPU/Maxwell3D: Implemented an alternative set of blend factors.Subv
These are used by nouveau and some games like SMO.
2018-08-11RasterizerGL: Ignore invalid/unset vertex attributes.Subv
This should make the es2gears example not crash anymore.
2018-08-11Merge pull request #1010 from bunnei/unk-vert-attrib-shaderbunnei
gl_shader_decompiler: Improve handling of unknown input/output attributes.
2018-08-11gl_shader_decompiler: Improve handling of unknown input/output attributes.bunnei
2018-08-11Merge pull request #1018 from Subv/ssy_syncbunnei
GPU/Shader: Implemented SSY and SYNC as a set_target/jump pair.
2018-08-11GPU/Shader: Don't predicate instructions that don't have a predicate field ↵Subv
(SSY).
2018-08-09video_core: Use variable template variants of type_traits interfaces where ↵Lioncash
applicable
2018-08-08maxwell_3d: Ignore macros that have not been uploaded yet.bunnei
- Used by Super Mario Odyssey (in game).
2018-08-08Merge pull request #982 from bunnei/stub-unk-63bunnei
gl_shader_decompiler: Stub input attribute Unknown_63.
2018-08-08Merge pull request #976 from bunnei/shader-immbunnei
gl_shader_decompiler: Let OpenGL interpret floats.
2018-08-08gl_shader_decompiler: Stub input attribute Unknown_63.bunnei
2018-08-08maxwell_3d: Use correct const buffer size and check bounds.bunnei
- Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX.
2018-08-08gl_shader_decompiler: Let OpenGL interpret floats.bunnei
- Accuracy is lost in translation to string, e.g. with NaN. - Needed for Super Mario Odyssey.
2018-08-05maxwell_3d: Remove outdated assert.bunnei
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-07-24GPU: Remove the assert that required the CODE_ADDRESS to be 0.Subv
Games usually just leave it at 0 but nouveau sets it to something else. This already works fine, the assert is useless.
2018-07-22shader_bytecode: Implement other TEXS masks.bunnei
2018-07-22gl_shader_decompiler: Implement SEL instruction.bunnei
2018-07-21maxwell_3d: Add depth buffer enable, width, and height registers.bunnei
2018-07-20video_core: Use nested namespaces where applicableLioncash
Compresses a few namespace specifiers to be more compact.
2018-07-19maxwell_3d: Remove unused variable within GetStageTextures()Lioncash
2018-07-17GPU: Added register definitions for the stencil parameters.Subv
2018-07-12gl_rasterizer: Fix check for if a shader stage is enabled.bunnei
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.
2018-07-12GPU: Implement the FADD32I shader instruction.Subv
2018-07-12GPU: Corrected the decoding of FFMA for immediate operands.Subv
2018-07-07Merge pull request #625 from Subv/imnmxbunnei
GPU: Implemented the IMNMX shader instruction.
2018-07-05Merge pull request #629 from Subv/depth_testbunnei
GPU: Allow using the old NV04 values for the depth test function.
2018-07-05GPU: Allow using the old NV04 values for the depth test function.Subv
These seem to be just a valid as the GL token values. Thanks @ReinUsesLisp This restores graphical output to Disgaea 5
2018-07-05Merge pull request #626 from Subv/shader_syncbunnei
GPU: Stub the shader SYNC and DEPBAR instructions.
2018-07-05Merge pull request #622 from Subv/unused_texbunnei
GPU: Ignore unused textures and corrected the TEX shader instruction decoding.
2018-07-05Merge pull request #621 from Subv/psetp_bunnei
GPU: Implemented the PSETP shader instruction.
2018-07-04GPU: Implemented the IMNMX shader instruction.Subv
It's similar to the FMNMX instruction but it works on integers.
2018-07-04GPU: Stub the shader SYNC and DEPBAR instructions.Subv
It is unknown at this moment if we actually need to do something with these instructions or if the GLSL compiler takes care of that for us.
2018-07-04GPU: Corrected the decoding for the TEX shader instruction.Subv
2018-07-04GPU: Implemented the PSETP shader instruction.Subv
It's similar to the isetp and fsetp instructions but it works on predicates instead.
2018-07-04GPU: Flip the triangle front face winding if the GPU is configured to not ↵Subv
flip the triangles. OpenGL's default behavior is already correct when the GPU is configured to flip the triangles. This fixes 1-2 Switch's splash screen.
2018-07-03Merge pull request #609 from Subv/clear_buffersbunnei
GPU: Implemented the CLEAR_BUFFERS register.
2018-07-03GPU: Support clears that don't clear the color buffer.Subv
2018-07-03GPU: Bind and clear the render target when the CLEAR_BUFFERS register is ↵Subv
written to.
2018-07-03GPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods.Subv
2018-07-03Merge pull request #607 from jroweboy/loggingbunnei
Logging - Customizable backends
2018-07-02Merge pull request #611 from Subv/enabled_depth_testbunnei
GPU: Don't try to parse the depth test function if the depth test is disabled and use only the least significant 3 bits in the depth test func
2018-07-02Merge pull request #610 from Subv/mufu_8bunnei
GPU: Implemented MUFU suboperation 8, sqrt.
2018-07-02GPU: Use only the least significant 3 bits when reading the depth test func.Subv
Some games set the full GL define value here (including nouveau), but others just seem to set those last 3 bits.