Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pica/command_processor: build geometry pipeline and run geometry shader | wwylele | 2017-08-19 | 1 | -1/+20 |
| | | | | | | | | | | | | The geometry pipeline manages data transfer between VS, GS and primitive assembler. It has known four modes: - no GS mode: sends VS output directly to the primitive assembler (what citra currently does) - GS mode 0: sends VS output to GS input registers, and sends GS output to primitive assembler - GS mode 1: sends VS output to GS uniform registers, and sends GS output to primitive assembler. It also takes an index from the index buffer at the beginning of each primitive for determine the primitive size. - GS mode 2: similar to mode 1, but doesn't take the index and uses a fixed primitive size. hwtest shows that immediate mode also supports GS (at least for mode 0), so the geometry pipeline gets refactored into its own class for supporting both drawing mode. In the immediate mode, some games don't set the pipeline registers to a valid value until the first attribute input, so a geometry pipeline reset flag is set in `pipeline.vs_default_attributes_setup.index` trigger, and the actual pipeline reconfigure is triggered in the first attribute input. In the normal drawing mode with index buffer, the vertex cache is a little bit modified to support the geometry pipeline. Instead of OutputVertex, it now holds AttributeBuffer, which is the input to the geometry pipeline. The AttributeBuffer->OutputVertex conversion is done inside the pipeline vertex handler. The actual hardware vertex cache is believed to be implemented in a similar way (because this is the only way that makes sense). Both geometry pipeline and GS unit rely on states preservation across drawing call, so they are put into the global state. In the future, the other three vertex shader units should be also placed in the global state, and a scheduler should be implemented on top of the four units. Note that the current gs_unit already allows running VS on it in the future. | ||||
* | VideoCore: Split regs.h inclusions | Yuri Kunde Schlesner | 2017-02-09 | 1 | -1/+1 |
| | |||||
* | VideoCore: Move Regs to its own file | Yuri Kunde Schlesner | 2017-02-04 | 1 | -484/+1 |
| | |||||
* | VideoCore: Split geometry pipeline regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -1/+1 |
| | |||||
* | VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines | Yuri Kunde Schlesner | 2017-01-26 | 1 | -1/+1 |
| | |||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -2/+1 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -461/+460 |
| | |||||
* | Turn ShaderSetup into struct | Jannik Vogel | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -1/+4 |
| | |||||
* | Pica: Improve accuracy of immediate-mode support | Yuri Kunde Schlesner | 2016-03-24 | 1 | -1/+14 |
| | | | | This partially fixes Etrian Odyssey IV. | ||||
* | Add immediate mode vertex submission | Dwayne Slater | 2016-03-03 | 1 | -0/+1 |
| | |||||
* | Debugger: Use 3dbrew names for GPU registers | Yuri Kunde Schlesner | 2016-01-25 | 1 | -57/+465 |
| | | | | | This list was imported from the 3dbrew wiki page and is pretty much complete. | ||||
* | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -2/+2 |
| | |||||
* | Pica: Added the primitive_restart register (0x25f) to the registers map. | Subv | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Pica: Add the vertex_offset register to the Pica registers map. | Subv | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders. | bunnei | 2015-08-16 | 1 | -0/+3 |
| | | | | | - Config: Add an option for selecting to use shader JIT or interpreter. - Qt: Add a menu option for enabling/disabling the shader JIT. | ||||
* | Videocore: Don't reinitialize register name map on every query | Yuri Kunde Schlesner | 2015-07-26 | 1 | -1/+71 |
| | | | | This greatly speeds up the command list debug widget. | ||||
* | Pica: Create 'State' structure and move state memory there. | bunnei | 2015-05-23 | 1 | -0/+20 |