Commit Graph

40 Commits (b7e0b16354bc31521785247d7da3ad84f3829ea8)

Author SHA1 Message Date
Yuri Kunde Schlesner 8369ee5803 Rasterizer: Pre-divide vertex attributes by W
Execute the division-by-W for perspective-correct interpolation of
values in the clipper, moving them out of the rasterization inner loop.
10 years ago
bunnei 2188af4a65 Merge pull request #322 from chinhodado/master
More warning cleanups
10 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
10 years ago
Chin 0199a7d9ef More warning cleanups 10 years ago
purpasmart96 ebfd831ccb License change 10 years ago
Tony Wasserka aff808b2fd Pica: Add support for boolean uniforms. 10 years ago
Tony Wasserka 67618a2c55 Pica/VertexShader: Add support for MOVA, CMP and IFC. 10 years ago
Tony Wasserka 1c972ef3b9 Add support for a ridiculous number of texture formats. 10 years ago
Tony Wasserka 40f123b7c0 Pica: Unify ugly address translation hacks. 10 years ago
Tony Wasserka 7e210e0229 Pica: Further improve Tev emulation. 10 years ago
Tony Wasserka 0fba1d48a6 Pica: Implement texture wrapping. 10 years ago
Tony Wasserka c81f1a9ebc Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats. 10 years ago
Tony Wasserka fd2539121c Pica: Initial support for multitexturing. 10 years ago
bunnei 4cb7a44d4e MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
10 years ago
bunnei f94d8f9603 GSP: Trigger GPU interrupts at more accurate locations. 10 years ago
Tony Wasserka 0305435edd Pica: Re-enable command names on MSVC.
The affected code is no longer limited by compiler support on that platform.
10 years ago
Tony Wasserka 79bb403089 More coding style fixes. 10 years ago
Tony Wasserka 2793619dce citra_qt: Add enhanced texture debugging widgets.
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area.
10 years ago
Tony Wasserka 8db65723d2 Build fix for something which shouldn't have compiled successfully to begin with. 10 years ago
Lioncash eb5054e6eb Fix warnings in video_core 11 years ago
Lioncash 6cc7c73b80 Core: Fix warnings in gpu.cpp 11 years ago
Tony Wasserka 9679d231df Pica/Rasterizer: Add texturing support. 11 years ago
Tony Wasserka 27cab6477e Pica/Rasterizer: Add initial implementation of texture combiners. 11 years ago
Tony Wasserka c4691b784b Pica: Add support for dumping textures. 11 years ago
Tony Wasserka f37e39deb9 Pica: Add debug utilities for dumping shaders. 11 years ago
archshift 662a1993e6 float24: Remove private default constructor
Fixes building with clang.
11 years ago
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. 11 years ago
Tony Wasserka f82410e633 Further refine GPU command list debugging. 11 years ago
Tony Wasserka b0051b2203 Refine command list debugging functionality and its qt interface. 11 years ago
Tony Wasserka 50b2b73be4 video core: added PICA definitions file. 11 years ago