| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove references to PICA and rasterizers in video_core | James Rowe | 2018-01-12 | 1 | -701/+0 |
| | | |||||
| * | pica/shader/interpreter: implement SETEMIT and EMIT | wwylele | 2017-08-19 | 1 | -0/+16 |
| | | |||||
| * | pica/shader_interpreter: fix off-by-one in LOOP | wwylele | 2017-07-27 | 1 | -1/+1 |
| | | |||||
| * | Pica: Set program code / swizzle data limit to 4096 | Jannik Vogel | 2017-05-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | One of the later commits will enable writing to GS regs. It turns out that on startup, most games will write 4096 GS program words. The current limit of 1024 would hence result in 3072 (4096 - 1024) error messages: ``` HW.GPU <Error> video_core/shader/shader.cpp:WriteProgramCode:229: Invalid GS program offset 1024 ``` New constants have been introduced to represent these limits. The swizzle data size has also been raised. This matches the given field sizes of [GPUREG_SH_OPDESCS_INDEX](https://3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_OPDESCS_INDEX) and [GPUREG_SH_CODETRANSFER_INDEX](https://www.3dbrew.org/wiki/GPU/Internal_Registers#GPUREG_SH_CODETRANSFER_INDEX) (12 bit = [0; 4095]). | ||||
| * | VideoCore: Split shader regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -1/+1 |
| | | |||||
| * | VideoCore: Consistently use shader configuration to load attributes | Yuri Kunde Schlesner | 2017-01-29 | 1 | -2/+2 |
| | | |||||
| * | VideoCore: Rename some types to more accurate names | Yuri Kunde Schlesner | 2017-01-29 | 1 | -2/+2 |
| | | |||||
| * | VideoCore/Shader: Move entry_point to SetupBatch | Yuri Kunde Schlesner | 2017-01-25 | 1 | -10/+9 |
| | | |||||
| * | VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup | Yuri Kunde Schlesner | 2017-01-25 | 1 | -9/+7 |
| | | |||||
| * | Shader: Remove OutputRegisters struct | Yuri Kunde Schlesner | 2017-01-25 | 1 | -2/+2 |
| | | |||||
| * | Shader: Initialize conditional_code in interpreter | Yuri Kunde Schlesner | 2017-01-25 | 1 | -0/+3 |
| | | | | | | | | This doesn't belong in LoadInputVertex because it also happens for non-VS invocations. Since it's not used by the JIT it seems adequate to initialize it in the interpreter which is the only thing that cares about them. | ||||
| * | Shader: Don't read ShaderSetup from global state | Yuri Kunde Schlesner | 2017-01-25 | 1 | -3/+3 |
| | | |||||
| * | VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines | Yuri Kunde Schlesner | 2017-01-25 | 1 | -5/+34 |
| | | |||||
| * | Fix some warnings (#2399) | Jonathan Hao | 2017-01-04 | 1 | -2/+0 |
| | | |||||
| * | VideoCore/Shader: Extract DebugData out from UnitState | Yuri Kunde Schlesner | 2016-12-16 | 1 | -74/+72 |
| | | |||||
| * | VideoCore/Shader: Extract evaluate_condition lambda to function scope | Yuri Kunde Schlesner | 2016-12-16 | 1 | -26/+24 |
| | | |||||
| * | VideoCore/Shader: Extract call lambda up a scope and remove unused param | Yuri Kunde Schlesner | 2016-12-15 | 1 | -21/+17 |
| | | |||||
| * | VideoCore/Shader: Move DebugData to a separate file | Yuri Kunde Schlesner | 2016-12-15 | 1 | -0/+1 |
| | | |||||
| * | VideoCore: Shader interpreter cleanups | Yuri Kunde Schlesner | 2016-09-29 | 1 | -32/+42 |
| | | |||||
| * | 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 | -4/+1 |
| | | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
| * | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-18 | 1 | -3/+2 |
| | | |||||
| * | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -143/+147 |
| | | |||||
| * | VideoCore: Fix dangling lambda context in shader interpreter | Yuri Kunde Schlesner | 2016-09-15 | 1 | -1/+1 |
| | | | | | | | The static meant that after the first execution, these lambda context would be pointing to a random location on the stack. Fixes a random crash when using the interpreter. | ||||
| * | Retrieve shader result from new OutputRegisters-type | Jannik Vogel | 2016-05-16 | 1 | -2/+2 |
| | | |||||
| * | Use new shader-jit signature for interpreter | Jannik Vogel | 2016-05-13 | 1 | -4/+4 |
| | | |||||
| * | Move program_counter and call_stack from UnitState to interpreter | Jannik Vogel | 2016-05-12 | 1 | -26/+42 |
| | | |||||
| * | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -2/+10 |
| | | |||||
| * | Merge pull request #1538 from lioncash/dot | bunnei | 2016-03-20 | 1 | -5/+3 |
| |\ | | | | | shader_interpreter: use std::inner_product for the dot product | ||||
| | * | shader_interpreter: use std::inner_product for the dot product | Lioncash | 2016-03-17 | 1 | -5/+3 |
| | | | | | | | | | Same thing, less code. | ||||
| * | | video_core: Don't cast away const | Lioncash | 2016-03-17 | 1 | -1/+1 |
| |/ | |||||
| * | PICA: Fix MAD/MADI encoding | Jannik Vogel | 2016-03-15 | 1 | -2/+5 |
| | | |||||
| * | Add immediate mode vertex submission | Dwayne Slater | 2016-03-02 | 1 | -0/+1 |
| | | |||||
| * | Shader: Implement "invert condition" feature of IFU instruction | Yuri Kunde Schlesner | 2016-01-24 | 1 | -1/+2 |
| | | | | | | | If the bit 0 of the JMPU instruction is set, then the jump condition will be inverted. That is, a jump will happen when the boolean is false instead of when it is true. | ||||
| * | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -3/+2 |
| | | |||||
| * | Shaders: Explicitly conform to PICA semantics in MAX/MIN | Yuri Kunde Schlesner | 2015-08-24 | 1 | -2/+8 |
| | | |||||
| * | Merge pull request #1062 from aroulin/shader-rcp-rsq | bunnei | 2015-08-23 | 1 | -6/+4 |
| |\ | | | | | Shader: RCP and RSQ computes only the 1st component | ||||
| | * | Shader: Use std::sqrt for float instead of sqrt | aroulin | 2015-08-23 | 1 | -1/+1 |
| | | | |||||
| | * | Shader: RCP and RSQ computes only the 1st component | aroulin | 2015-08-23 | 1 | -6/+4 |
| | | | |||||
| * | | Shader: implement DPH/DPHI in interpreter | aroulin | 2015-08-22 | 1 | -1/+8 |
| |/ | | | | | Tests revealed that the component with w=1 is SRC1 and not SRC2, it is now fixed on 3dbrew. | ||||
| * | Shader: implement SGE, SGEI in interpreter | aroulin | 2015-08-19 | 1 | -0/+14 |
| | | |||||
| * | Shader: implement EX2 and LG2 in interpreter | aroulin | 2015-08-16 | 1 | -0/+36 |
| | | |||||
| * | Introduce a shader tracer to allow inspection of input/output values for ↵ | Tony Wasserka | 2015-08-16 | 1 | -22/+82 |
| | | | | | each processed instruction. | ||||
| * | Shader: Use a POD struct for registers. | bunnei | 2015-08-15 | 1 | -6/+6 |
| | | |||||
| * | Shader: Define a common interface for running vertex shader programs. | bunnei | 2015-08-15 | 1 | -128/+7 |
| | | |||||
| * | Shader: Move shader code to its own subdirectory, "shader". | bunnei | 2015-08-15 | 1 | -0/+629 |
