Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-12 | Remove references to PICA and rasterizers in video_core | James Rowe | |
2017-09-17 | Improved performance of FromAttributeBuffer | Huw Pascoe | |
Ternary operator is optimized by the compiler whereas std::min() is meant to return a value. I've noticed a 5%-10% emulation speed increase. | |||
2017-08-19 | correct constness | wwylele | |
2017-08-19 | pica/shader: extend UnitState for GS | wwylele | |
Among four shader units in pica, a special unit can be configured to run both VS and GS program. GSUnitState represents this unit, which extends UnitState (which represents the other three normal units) with extra state for primitive emitting. It uses lots of raw pointers to represent internal structure in order to keep it standard layout type for JIT to access. This unit doesn't handle triangle winding (inverting) itself; instead, it calls a WindingSetter handler. This will be explained in the following commits | |||
2017-02-12 | Merge pull request #2550 from yuriks/pica-refactor2 | Yuri Kunde Schlesner | |
Small VideoCore cleanups | |||
2017-02-10 | video_core: Fix benign out-of-bounds indexing of array (#2553) | Yuri Kunde Schlesner | |
The resulting pointer wasn't written to unless the index was verified as valid, but that's still UB and triggered debug checks in MSVC. Reported by garrettboast on IRC | |||
2017-02-09 | VideoCore: Split regs.h inclusions | Yuri Kunde Schlesner | |
2017-02-04 | VideoCore: Move Regs to its own file | Yuri Kunde Schlesner | |
2017-02-04 | VideoCore: Split shader regs from Regs struct | Yuri Kunde Schlesner | |
2017-02-04 | VideoCore: Split rasterizer regs from Regs struct | Yuri Kunde Schlesner | |
2017-01-29 | VideoCore: Extract swrast-specific data from OutputVertex | Yuri Kunde Schlesner | |
2017-01-29 | VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer | Yuri Kunde Schlesner | |
This also fixes a long-standing but neverthless harmless memory corruption bug, whech the padding of the OutputVertex struct would get corrupted by unused attributes. | |||
2017-01-29 | VideoCore: Split shader output writing from semantic loading | Yuri Kunde Schlesner | |
2017-01-29 | VideoCore: Consistently use shader configuration to load attributes | Yuri Kunde Schlesner | |
2017-01-29 | VideoCore: Rename some types to more accurate names | Yuri Kunde Schlesner | |
2017-01-25 | Shader: Remove OutputRegisters struct | Yuri Kunde Schlesner | |
2017-01-25 | Shader: Initialize conditional_code in interpreter | Yuri Kunde Schlesner | |
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. | |||
2017-01-25 | VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines | Yuri Kunde Schlesner | |
2017-01-25 | VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h} | Yuri Kunde Schlesner | |
2017-01-25 | VideoCore/Shader: Split shader uniform state and shader engine | Yuri Kunde Schlesner | |
Currently there's only a single dummy implementation, which will be split in a following commit. | |||
2017-01-25 | VideoCore/Shader: Add constness to methods | Yuri Kunde Schlesner | |
2017-01-25 | VideoCore/Shader: Use only entry_point as ShaderSetup param | Yuri Kunde Schlesner | |
This removes all implicit dependency of ShaderState on global PICA state. | |||
2017-01-25 | VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup | Yuri Kunde Schlesner | |
2017-01-25 | VideoCore/Shader: Extract input vertex loading code into function | Yuri Kunde Schlesner | |
2017-01-23 | video_core: fix shader.cpp signed / unsigned warning | Kloen | |
2016-12-16 | VideoCore/Shader: Extract DebugData out from UnitState | Yuri Kunde Schlesner | |
2016-12-14 | VideoCore: Eliminate an unnecessary copy in the drawcall loop | Yuri Kunde Schlesner | |
2016-09-29 | VideoCore: Fix out-of-bounds read in ShaderSetup::ProduceDebugInfo | Yuri Kunde Schlesner | |
As far as I can tell, memset was replaced by a fill without correcting the parameter type, causing an out-of-bounds array read in the Vec4 constructor. | |||
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||
2016-09-18 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | |
2016-05-16 | Retrieve shader result from new OutputRegisters-type | Jannik Vogel | |
2016-05-13 | Use new shader-jit signature for interpreter | Jannik Vogel | |
2016-05-13 | Refactor access to state in shader-jit | Jannik Vogel | |
2016-05-12 | Move program_counter and call_stack from UnitState to interpreter | Jannik Vogel | |
2016-05-11 | Turn ShaderSetup into struct | Jannik Vogel | |
2016-05-03 | Pica: Replace logic in shader.cpp with loop | Jannik Vogel | |
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | |
2016-04-29 | Common: Remove section measurement from profiler (#1731) | Yuri Kunde Schlesner | |
This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI. | |||
2016-04-13 | shader_jit_x64.cpp: Rename JitCompiler to JitShader. | bunnei | |
2016-04-13 | shader: Remove unused 'state' argument from 'Setup' function. | bunnei | |
2016-04-13 | shader_jit_x64: Specify shader main offset at runtime. | bunnei | |
2016-04-13 | shader_jit_x64: Allocate each program independently and persist for emu session. | bunnei | |
2016-04-05 | Merge pull request #1643 from MerryMage/make_unique | Mathew Maidment | |
Common: Remove Common::make_unique, use std::make_unique | |||
2016-04-05 | Common: Remove Common::make_unique, use std::make_unique | MerryMage | |
2016-03-22 | Merge pull request #1508 from JayFoxRox/vs-output-map | bunnei | |
Respect vs output map | |||
2016-03-14 | Respect vs output map | Jannik Vogel | |
2016-03-12 | shader_jit_x64: Clear cache after code space fills up. | bunnei | |
2016-03-12 | shader: Update log message to use proper log class. | bunnei | |