Commit Graph

6959 Commits (1b0a74e23f8eb716e5561d07f4c15d62d6162491)
 

Author SHA1 Message Date
bunnei 1b0a74e23f
Merge pull request #621 from Subv/psetp_
GPU: Implemented the PSETP shader instruction.
7 years ago
bunnei 9a3c0b161e
Merge pull request #620 from Subv/depth_z32f
GPU: Implemented the 32 bit float depth buffer format.
7 years ago
Subv 53a55bd751 GPU: Implemented the PSETP shader instruction.
It's similar to the isetp and fsetp instructions but it works on predicates instead.
7 years ago
bunnei 2355460d7c
Merge pull request #619 from Subv/flip_cull
GPU: Flip the triangle front face winding if the GPU is configured to not flip the triangles.
7 years ago
Subv 016e357c75 GPU: Implemented the 32 bit float depth buffer format. 7 years ago
Subv c1bebdef5e GPU: Flip the triangle front face winding if the GPU is configured to not 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.
7 years ago
bunnei 81a44d38ee
Merge pull request #618 from Subv/clear_used_buffers
GPU: Only configure the used framebuffers during clear.
7 years ago
Subv 5a9df3c675 GPU: Only configure the used framebuffers during clear.
Don't try to configure the color buffer if it is not being cleared, it may not be completely valid at this point.
7 years ago
bunnei c996787d84
Merge pull request #609 from Subv/clear_buffers
GPU: Implemented the CLEAR_BUFFERS register.
7 years ago
bunnei 4030f600dc
Merge pull request #616 from bunnei/s8z24
gl_rasterizer_cache: Implement PixelFormat S8Z24.
7 years ago
Subv 78443a7f29 GPU: Factor out the framebuffer configuration code for both Clear and Draw commands. 7 years ago
Subv c1811ed3d1 GPU: Support clears that don't clear the color buffer. 7 years ago
Subv be51120d23 GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to. 7 years ago
Subv 827bb08c91 GPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods. 7 years ago
bunnei c164f02c48
Merge pull request #613 from jroweboy/qt-style
Add qt windowsvistastyle dll to the build
7 years ago
bunnei 9da1552417 gl_rasterizer_cache: Implement PixelFormat S8Z24. 7 years ago
James Rowe 6ff20dc6a7 Add qt windowsvistastyle dll to the build 7 years ago
David 3dab0e284b Update AudioRenderer Voice Sections (#614)
* voice section updating

* fixed slight offset miscalculation

* fixed overflow
7 years ago
bunnei 15e68cdbaa
Merge pull request #607 from jroweboy/logging
Logging - Customizable backends
7 years ago
bunnei e3ca561ea0
Merge pull request #612 from bunnei/fix-cull
gl_rasterizer: Only set cull mode and front face if enabled.
7 years ago
bunnei ddb767f1b6
Merge pull request #611 from Subv/enabled_depth_test
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
7 years ago
bunnei 5410b4659d
Merge pull request #610 from Subv/mufu_8
GPU: Implemented MUFU suboperation 8, sqrt.
7 years ago
bunnei a9cacd03f6 gl_rasterizer: Only set cull mode and front face if enabled. 7 years ago
Subv 6e0eba9917 GPU: Use only the least significant 3 bits when reading the depth test func.
Some games set the full GL define value here (including nouveau), but others just seem to set those last 3 bits.
7 years ago
Subv 65c664560c GPU: Don't try to parse the depth test function if the depth test is disabled. 7 years ago
bunnei 76b475faf7 Fix build and address review feedback 7 years ago
James Rowe 6269a01b4e Add configurable logging backends 7 years ago
James Rowe 0d46f0df12 Update clang format 7 years ago
James Rowe 638956aa81 Rename logging macro back to LOG_* 7 years ago
bunnei 92c7135065
Merge pull request #608 from Subv/depth
GPU: Implemented the depth buffer and depth test + culling
7 years ago
Subv a6d4903aaf GPU: Set up the culling configuration on each draw. 7 years ago
Subv 6e4e0b2b41 GPU: Implemented MUFU suboperation 8, sqrt. 7 years ago
Sebastian Valle 055f1546d7
Merge pull request #606 from Subv/base_vertex
GPU: Fixed the index offset and implement BaseVertex when doing indexed rendering.
7 years ago
Sebastian Valle 79167fc989
Merge pull request #603 from Subv/nvmap_free
GPU: Remove unmapped surfaces from the rasterizer cache and fix our nvmap::Free behavior.
7 years ago
Sebastian Valle 9685dd5840
Merge pull request #605 from Subv/dma_copy
GPU: Directly copy the pixels when performing a same-layout DMA.
7 years ago
Subv 18c8ae7750 GPU: Set up the depth test state on every draw. 7 years ago
Subv d480b63e0d MaxwellToGL: Added conversion functions for depth test and cull mode. 7 years ago
Subv c1f55c32c8 GPU: Added registers for depth test and cull mode. 7 years ago
Subv 0f929762b3 GPU: Implemented the Z24S8 depth format and load the depth framebuffer. 7 years ago
Subv 4c59105adf GPU: Implement offsetted rendering when using non-indexed drawing. 7 years ago
Subv fca3d1cc65 GPU: Fixed the index offset rendering, and implemented the base vertex functionality.
This fixes Stardew Valley.
7 years ago
Subv cc73bad293 GPU: Added register definitions for the vertex buffer base element. 7 years ago
bunnei 3d41fdfbba
Merge pull request #604 from Subv/invalid_textures
GPU: Ignore invalid and disabled textures when drawing.
7 years ago
Subv ca633a5a3c GPU: Directly copy the pixels when performing a same-layout DMA. 7 years ago
Subv 80c5e8ae99 GPU: Ignore disabled textures and textures with an invalid address. 7 years ago
Subv e9d147349b GPU: Allow GpuToCpuAddress to return boost::none for unmapped addresses. 7 years ago
Subv 6c0c81dfdc GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU. 7 years ago
Subv a093feca62 nvmap: Return the address of the nvmap object when Freeing it for the last time.
This behavior is confirmed by reverse engineering.
7 years ago
bunnei 066d6184d4
Merge pull request #602 from Subv/mufu_subop
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
7 years ago
bunnei b611d852db
Merge pull request #601 from Subv/rgba32_ui
GPU: Implement the RGBA32_UINT rendertarget format.
7 years ago