Commit Graph

64 Commits (e1fbac3ca13d37d2625c11d30cfdece4327b446b)

Author SHA1 Message Date
Tony Wasserka 94d742fe17 Pica: Add basic rasterizer. 11 years ago
Tony Wasserka 94aa9da562 Pica: Add triangle clipper. 11 years ago
Tony Wasserka 9a76a2d061 Pica: Add primitive assembly stage. 11 years ago
Tony Wasserka c526512619 Pica: Add vertex shader implementation. 11 years ago
Tony Wasserka d443f0a921 Pica: Implement vertex loading. 11 years ago
Tony Wasserka 1a43f69477 Pica: Add register definition for vertex loading and rendering. 11 years ago
Tony Wasserka 76a586de49 Pica: Add command processor. 11 years ago
Tony Wasserka 98ad16a45b Pica: Add float24 structure.
24-bit floating points are used internally for calculations on the GPU, however the current code will still emulate that with 32-bit floating points.
In the future we might want to accurately perform the calculations with correct bitness in the future, but for now we just wrap the calculations around this class.
11 years ago
Tony Wasserka 7b6a7d7dfb Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.
This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible.
This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
11 years ago
Tony Wasserka 9c781a6c76 Remove the fancy RegisterSet class introduced in 4c2bff61e.
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures.
Instead, we now use a more conventional approach which is a lot more clean to use.
11 years ago
Tony Wasserka 4c2bff61e5 Pica: Use some template magic to define register structures efficiently. 12 years ago
Tony Wasserka f82410e633 Further refine GPU command list debugging. 12 years ago
Tony Wasserka b0051b2203 Refine command list debugging functionality and its qt interface. 12 years ago
Tony Wasserka 50b2b73be4 video core: added PICA definitions file. 12 years ago