Commit Graph

6969 Commits

Author SHA1 Message Date
Zach Hilman
a87426787c Guess 'main' to be Directory by filename 2018-07-03 19:25:08 -04:00
Zach Hilman
5804688769 Fix TODO 2018-07-03 19:15:25 -04:00
Zach Hilman
97aef6dcd1 Most review changes 2018-07-03 11:29:50 -04:00
Zach Hilman
58642120dc Rename NGLOG_* to LOG_* 2018-07-03 10:28:08 -04:00
Zach Hilman
e093cfb97e clang-format fix 2018-07-03 09:47:29 -04:00
Zach Hilman
d6ab59e564 Rename v_file and v_dir 2018-07-03 09:47:29 -04:00
Zach Hilman
c26a8e97f7 Fixes 2018-07-03 09:47:29 -04:00
Zach Hilman
d014daab03 Bug fixes 2018-07-03 09:47:29 -04:00
Zach Hilman
bbe60c75e7 Missing include 2018-07-03 09:47:29 -04:00
Zach Hilman
bf0cd290a9 Compile fixes 2018-07-03 09:47:29 -04:00
Zach Hilman
2251e0d406 Remove std::filesystem and document/test 2018-07-03 09:47:29 -04:00
Zach Hilman
e1e8b65b6e Filesystem on linux 2018-07-03 09:47:29 -04:00
Zach Hilman
666892034f Try to get filesystem to compile 2018-07-03 09:47:29 -04:00
Zach Hilman
80f2c08f31 Fixes and testing 2018-07-03 09:47:10 -04:00
Zach Hilman
275abf35cf FSP_SRV fixes 2018-07-03 09:46:27 -04:00
Zach Hilman
00a1a5f376 More Overhaul 2018-07-03 09:46:27 -04:00
Zach Hilman
af1f6a94f7 More changes 2018-07-03 09:45:08 -04:00
Zach Hilman
a812e079f6 Port partition_filesystem 2018-07-03 09:42:39 -04:00
Zach Hilman
1c725245fa Use experimental/filesystem or filesystem depending on compiler 2018-07-03 09:41:40 -04:00
Zach Hilman
63f327933e Remove double const 2018-07-03 09:41:40 -04:00
Zach Hilman
c4033094a1 Major refactor 2018-07-03 09:41:24 -04:00
Zach Hilman
86a4544aee Fix import paths 2018-07-03 09:40:48 -04:00
Zach Hilman
e6ebc8fdc2 More changes 2018-07-03 09:40:48 -04:00
Zach Hilman
0144efa0c2 Finished OffsetVfsFile 2018-07-03 09:40:48 -04:00
Zach Hilman
d35cbb38aa Finish RealVfsFile and RealVfsDirectory 2018-07-03 09:40:48 -04:00
Zach Hilman
e9f325d7af Implement RealVfsFile (computer fs backend) 2018-07-03 09:40:48 -04:00
Zach Hilman
6e9322987d Finish abstract Vfs classes 2018-07-03 09:40:48 -04:00
Zach Hilman
767e6f56e5 Add VfsFile and VfsDirectory classes 2018-07-03 09:40:48 -04:00
bunnei
15e68cdbaa Merge pull request #607 from jroweboy/logging
Logging - Customizable backends
2018-07-03 00:26:45 -04:00
bunnei
e3ca561ea0 Merge pull request #612 from bunnei/fix-cull
gl_rasterizer: Only set cull mode and front face if enabled.
2018-07-02 23:48:52 -04:00
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
2018-07-02 23:47:11 -04:00
bunnei
5410b4659d Merge pull request #610 from Subv/mufu_8
GPU: Implemented MUFU suboperation 8, sqrt.
2018-07-02 22:26:42 -04:00
bunnei
a9cacd03f6 gl_rasterizer: Only set cull mode and front face if enabled. 2018-07-02 22:22:25 -04:00
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.
2018-07-02 21:06:36 -05:00
Subv
65c664560c GPU: Don't try to parse the depth test function if the depth test is disabled. 2018-07-02 21:02:46 -05:00
bunnei
76b475faf7 Fix build and address review feedback 2018-07-02 21:45:48 -04:00
James Rowe
6269a01b4e Add configurable logging backends 2018-07-02 21:45:47 -04:00
James Rowe
0d46f0df12 Update clang format 2018-07-02 21:45:47 -04:00
James Rowe
638956aa81 Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
bunnei
92c7135065 Merge pull request #608 from Subv/depth
GPU: Implemented the depth buffer and depth test + culling
2018-07-02 21:24:43 -04:00
Subv
a6d4903aaf GPU: Set up the culling configuration on each draw. 2018-07-02 19:51:29 -05:00
Subv
6e4e0b2b41 GPU: Implemented MUFU suboperation 8, sqrt. 2018-07-02 19:48:15 -05:00
Sebastian Valle
055f1546d7 Merge pull request #606 from Subv/base_vertex
GPU: Fixed the index offset and implement BaseVertex when doing indexed rendering.
2018-07-02 14:07:38 -05:00
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.
2018-07-02 14:07:17 -05:00
Sebastian Valle
9685dd5840 Merge pull request #605 from Subv/dma_copy
GPU: Directly copy the pixels when performing a same-layout DMA.
2018-07-02 14:06:56 -05:00
Subv
18c8ae7750 GPU: Set up the depth test state on every draw. 2018-07-02 13:33:06 -05:00
Subv
d480b63e0d MaxwellToGL: Added conversion functions for depth test and cull mode. 2018-07-02 13:31:49 -05:00
Subv
c1f55c32c8 GPU: Added registers for depth test and cull mode. 2018-07-02 13:31:20 -05:00
Subv
0f929762b3 GPU: Implemented the Z24S8 depth format and load the depth framebuffer. 2018-07-02 12:42:04 -05:00
Subv
4c59105adf GPU: Implement offsetted rendering when using non-indexed drawing. 2018-07-02 11:23:36 -05:00