Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GPU: Remove the broken frame_skip option. | Emmanuel Gil Peyrot | 2016-11-27 | 1 | -4/+0 |
| | | | | Fixes #1960. | ||||
* | Cache Vertices instead of Output registers (#2165) | jphalimi | 2016-11-24 | 1 | -6/+7 |
| | | | | This patch brings +3% performance improvement on average. It removes ToVertex() as an important hotspot of the emulator. | ||||
* | Fix format error from #2195 | wwylele | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | GPU/CiTrace: Avoid calling GetTextures() when not necessary. | Subv | 2016-11-20 | 1 | -6/+5 |
| | |||||
* | Fix typos | Ricardo de Almeida Gonzaga | 2016-10-20 | 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 | -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-19 | 1 | -1/+2 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -321/+328 |
| | |||||
* | Pica: Add fog state | Jannik Vogel | 2016-06-07 | 1 | -0/+14 |
| | |||||
* | Merge pull request #1812 from JayFoxRox/refactor-shader | bunnei | 2016-06-01 | 1 | -8/+13 |
|\ | | | | | Retrieve shader result from new OutputRegisters-type | ||||
| * | Retrieve shader result from new OutputRegisters-type | Jannik Vogel | 2016-05-16 | 1 | -8/+13 |
| | | |||||
* | | Merge pull request #1733 from lioncash/vert_loader | bunnei | 2016-05-24 | 1 | -2/+1 |
|\ \ | |/ |/| | VertexLoader: Minor changes | ||||
| * | vertex_loader: Add constructors to facilitate immediate and two-step initialization | Lioncash | 2016-05-09 | 1 | -2/+1 |
| | | |||||
* | | Move default_attributes into Pica state | Jannik Vogel | 2016-05-12 | 1 | -1/+1 |
| | | |||||
* | | Turn ShaderSetup into struct | Jannik Vogel | 2016-05-11 | 1 | -4/+4 |
|/ | |||||
* | Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation | Jannik Vogel | 2016-05-04 | 1 | -6/+4 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -8/+14 |
| | |||||
* | Merge pull request #1730 from hrydgard/vertex-loader | bunnei | 2016-04-29 | 1 | -120/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove late accesses to attribute_config * Refactor: Extract VertexLoader from command_processor.cpp. Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached. * Move "&" to their proper place, add missing includes and make some properly relative. * Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached). * Optimize the vertex loader, nearly doubling its speed. * Debugger fix * Move and rename the MemoryAccesses class to MemoryAccessTracker. | ||||
| * | Move and rename the MemoryAccesses class to MemoryAccessTracker. | Henrik Rydgard | 2016-04-29 | 1 | -1/+1 |
| | | |||||
| * | Don't keep base_address in the loader, it doesn't belong there (with it, the loader can't be cached). | Henrik Rydgard | 2016-04-28 | 1 | -3/+4 |
| | | |||||
| * | Refactor: Extract VertexLoader from command_processor.cpp. | Henrik Rydgard | 2016-04-28 | 1 | -124/+10 |
| | | | | | | | | Preparation for a similar concept to Dolphin or PPSSPP. These can be JIT-ed and cached. | ||||
| * | Remove late accesses to attribute_config | Henrik Rydgard | 2016-04-28 | 1 | -5/+7 |
| | | |||||
* | | Common: Remove section measurement from profiler (#1731) | Yuri Kunde Schlesner | 2016-04-29 | 1 | -4/+0 |
|/ | | | | 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. | ||||
* | shader: Remove unused 'state' argument from 'Setup' function. | bunnei | 2016-04-14 | 1 | -2/+2 |
| | |||||
* | Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY) | Jannik Vogel | 2016-04-10 | 1 | -19/+0 |
| | |||||
* | Pica: Improve accuracy of immediate-mode support | Yuri Kunde Schlesner | 2016-03-24 | 1 | -20/+26 |
| | | | | This partially fixes Etrian Odyssey IV. | ||||
* | Merge pull request #1535 from JayFoxRox/fix-align | bunnei | 2016-03-18 | 1 | -6/+6 |
|\ | | | | | PICA: Alignment happens locally in vertex | ||||
| * | PICA: Alignment happens locally in vertex | Jannik Vogel | 2016-03-17 | 1 | -6/+6 |
| | | |||||
* | | video_core: Don't cast away const | Lioncash | 2016-03-17 | 1 | -5/+6 |
|/ | |||||
* | PICA: Align vertex attributes | Jannik Vogel | 2016-03-13 | 1 | -1/+5 |
| | |||||
* | renderer_base: Don't directly expose the rasterizer unique_ptr | Lioncash | 2016-03-09 | 1 | -5/+5 |
| | | | | | There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer. | ||||
* | Add immediate mode vertex submission | Dwayne Slater | 2016-03-03 | 1 | -1/+47 |
| | |||||
* | Merge pull request #1395 from ds84182/padding-attributes | bunnei | 2016-02-25 | 1 | -7/+17 |
|\ | | | | | Add support for padding vertex attributes | ||||
| * | Fix out of bounds array access when loading a component >= 12 | Dwayne Slater | 2016-02-21 | 1 | -1/+4 |
| | | |||||
| * | Add support for padding vertex attributes | Dwayne Slater | 2016-02-21 | 1 | -6/+13 |
| | | |||||
* | | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2016-02-12 | 1 | -2/+2 |
| | | |||||
* | | pica_types: Replace float24/20/16 with a template class. | bunnei | 2016-02-05 | 1 | -8/+8 |
| | | |||||
* | | command_processor: Add an assertion to ensure LUTs are not written past their boundaries. | bunnei | 2016-02-05 | 1 | -0/+3 |
| | | |||||
* | | pica: Implement fragment lighting LUTs. | bunnei | 2016-02-05 | 1 | -0/+15 |
|/ | |||||
* | command_processor: Get rid of variable shadowing | Lioncash | 2016-01-17 | 1 | -2/+1 |
| | |||||
* | VideoCore: Unify interface to OpenGL and SW rasterizers | Yuri Kunde Schlesner | 2015-12-08 | 1 | -17/+10 |
| | | | | | | This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations. | ||||
* | GPU/Loaders: Log an error when a loader tries to load from a component beyond the available ones (12). | Subv | 2015-11-10 | 1 | -0/+2 |
| | | | | Related to #1170 | ||||
* | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -11/+10 |
| | |||||
* | video_core: Fix format specifiers warnings | aroulin | 2015-09-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1059 from Subv/vertex_offset | bunnei | 2015-08-30 | 1 | -1/+2 |
|\ | | | | | GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET | ||||
| * | GPU: Implemented register 0x22A. | Subv | 2015-08-30 | 1 | -1/+2 |
| | | | | | | | | | | | | This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering. Register 0x22A doesn't affect indexed rendering. | ||||
* | | Integrate the MicroProfile profiling library | Yuri Kunde Schlesner | 2015-08-25 | 1 | -0/+4 |
|/ | | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view. | ||||
* | Merge pull request #997 from Lectem/cmdlist_full_debug | Tony Wasserka | 2015-08-16 | 1 | -14/+17 |
|\ | | | | | citra-qt: Improve pica command list widget (add mask, fix some issues) | ||||
| * | citra-qt/command list: Add mask column | Lectem | 2015-07-26 | 1 | -14/+17 |
| | | |||||
* | | Introduce a shader tracer to allow inspection of input/output values for each processed instruction. | Tony Wasserka | 2015-08-16 | 1 | -1/+1 |
| | | |||||
* | | Shader: Define a common interface for running vertex shader programs. | bunnei | 2015-08-15 | 1 | -1/+4 |
| | | |||||
* | | Shader: Move shader code to its own subdirectory, "shader". | bunnei | 2015-08-15 | 1 | -1/+1 |
| | | |||||
* | | GPU: Refactor "VertexShader" namespace to "Shader". | bunnei | 2015-08-15 | 1 | -10/+9 |
| | | | | | | | | - Also renames "vertex_shader.*" to "shader_interpreter.*" | ||||
* | | Videocore: Implement simple vertex caching | Yuri Kunde Schlesner | 2015-08-05 | 1 | -62/+89 |
| | | | | | | | | | | | | This gives a ~2/3 reduction in the amount of vertices that need to be processed through the vertex loaders and the vertex shader, yielding a good speedup. | ||||
* | | Merge pull request #963 from yuriks/gpu-fixes | bunnei | 2015-07-29 | 1 | -42/+38 |
|\ \ | | | | | | | Misc. GPU vertex loading fixes | ||||
| * | | VideoCore: Fix values of unset components in input attribute arrays | Yuri Kunde Schlesner | 2015-07-23 | 1 | -42/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an input attribute array had a field with less than 4 components, the remaining components were left unset if not specified by a default vertex attribute. If neither mechanism would set a component, it would assume a garbage value. It has been verified that the hardware behavior is to instead to set the missing components from the fixed default of (0 0 0 1). The default vertex attribute values aren't used at all if a vertex array is specified for that attribute. Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch when selecting a character in Cubic Ninja, as well as eliminating the unset-W hack which was required for Ocarina of Time to not have garbled triangles. This change has been tested against hardware. | ||||
* | | | VideoCore: #ifdef out some debugging routines | Yuri Kunde Schlesner | 2015-07-26 | 1 | -1/+9 |
| |/ |/| | | | | | | | | | | | Some disabled debugging functionality was being called from rendering routines in VideoCore. Although disabled, many of them still allocated memory or did some extra work that was enough to show up in a profiler. Gives a slight (~2ms) speedup. | ||||
* | | Merge pull request #892 from zawata/another-warning-fixes | Yuri Kunde Schlesner | 2015-07-25 | 1 | -1/+1 |
|\ \ | | | | | | | Yet More Warning Fixes | ||||
| * | | Video_Core : Type fixes | zawata | 2015-07-19 | 1 | -1/+1 |
| | | | |||||
| * | | Video_Core : Fix Conversion Warnings | zawata | 2015-07-19 | 1 | -1/+1 |
| | | | |||||
* | | | Qt/GPU Breakpoints: Added three more breakpoint types: | Subv | 2015-07-23 | 1 | -2/+2 |
| |/ |/| | | | | | | | | | * IncomingDisplayTransfer: Triggered just before a display transfer is performed. * GSPCommandProcessed: Triggered right after a GSP command is processed. * BufferSwapped: Triggered when the frames flip | ||||
* | | Merge pull request #929 from neobrain/geoshader_definitions | Tony Wasserka | 2015-07-21 | 1 | -39/+39 |
|\ \ | |/ |/| | Pica/Shader: Add geometry shader definitions. | ||||
| * | Pica/Shader: Add geometry shader definitions. | Tony Wasserka | 2015-07-15 | 1 | -39/+39 |
| | | |||||
* | | Pica/CommandProcessor: Move default attribute setup to the proper position. | Tony Wasserka | 2015-07-15 | 1 | -40/+40 |
|/ | |||||
* | Clean up command_processor.cpp. | Tony Wasserka | 2015-07-13 | 1 | -22/+27 |
| | |||||
* | Add CiTrace recording support. | Tony Wasserka | 2015-07-13 | 1 | -2/+53 |
| | | | | | | This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still). | ||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -5/+7 |
| | |||||
* | Pica: Implement command buffer execution registers. | bunnei | 2015-05-31 | 1 | -32/+38 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -4/+4 |
| | |||||
* | Pica: Create 'State' structure and move state memory there. | bunnei | 2015-05-23 | 1 | -24/+23 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -3/+23 |
| | |||||
* | GPU/DefaultAttributes: Clear up a comment in command_processor | Subv | 2015-05-17 | 1 | -2/+2 |
| | |||||
* | GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set. | Subv | 2015-05-17 | 1 | -21/+23 |
| | | | | closes #735 | ||||
* | Memory: Add GetPhysicalPointer helper function | Yuri Kunde Schlesner | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Memory: Support more regions in the VAddr-PAddr translation functions | Yuri Kunde Schlesner | 2015-05-09 | 1 | -2/+2 |
| | | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h. | ||||
* | GPU: Implemented default vertex shader attributes. | Subv | 2015-05-07 | 1 | -27/+71 |
| | | | | Fixes some games crashing. | ||||
* | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 2015-03-02 | 1 | -0/+6 |
| | |||||
* | Pica/CommandProcessor: Properly implement shader load destination offset registers. | Tony Wasserka | 2015-02-18 | 1 | -18/+4 |
| | |||||
* | Pica/CommandProcessor: Work around initialized vertex attributes some more. | Tony Wasserka | 2015-02-18 | 1 | -2/+8 |
| | |||||
* | Pica/CommandProcessor: Cleanups. | Tony Wasserka | 2014-12-31 | 1 | -3/+4 |
| | |||||
* | Pica/CommandProcessor: Workaround games not setting the input position's w component. | Tony Wasserka | 2014-12-31 | 1 | -0/+14 |
| | |||||
* | Pica/CommandProcessor: Add support for integer uniforms. | Tony Wasserka | 2014-12-31 | 1 | -0/+13 |
| | |||||
* | GPU: Implement frameskip and remove forced framebuffer swap hack. | bunnei | 2014-12-29 | 1 | -0/+5 |
| | |||||
* | Merge pull request #322 from chinhodado/master | bunnei | 2014-12-22 | 1 | -2/+2 |
|\ | | | | | More warning cleanups | ||||
| * | More warning cleanups | Chin | 2014-12-21 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 1 | -1/+1 |
|\ \ | |/ |/| | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | | |||||
* | | Pica: Add support for boolean uniforms. | Tony Wasserka | 2014-12-20 | 1 | -0/+6 |
| | | |||||
* | | Pica/DebugUtils: Add an event triggered after loading a vertex. | Tony Wasserka | 2014-12-20 | 1 | -0/+3 |
| | | |||||
* | | Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations. | Tony Wasserka | 2014-12-20 | 1 | -0/+7 |
| | | |||||
* | | Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes. | Tony Wasserka | 2014-12-20 | 1 | -7/+8 |
| | | |||||
* | | Pica: Unify ugly address translation hacks. | Tony Wasserka | 2014-12-20 | 1 | -2/+2 |
|/ | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -3/+3 |
| | |||||
* | GSP: Trigger GPU interrupts at more accurate locations. | bunnei | 2014-12-10 | 1 | -0/+6 |
| | |||||
* | GPU: Fixed bug in command list size decoding. | bunnei | 2014-12-10 | 1 | -1/+2 |
| | |||||
* | Pica/DebugUtils: Add breakpoint functionality. | Tony Wasserka | 2014-12-09 | 1 | -0/+13 |
| | |||||
* | Silence a few -Wsign-compare warnings. | Rohit Nirmal | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Fix some warnings | Sean | 2014-10-30 | 1 | -1/+1 |
| | |||||
* | Fix warnings in video_core | Lioncash | 2014-10-08 | 1 | -6/+6 |
| | |||||
* | Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper. | Tony Wasserka | 2014-08-25 | 1 | -4/+16 |
| | |||||
* | Pica/DebugUtils: Add convenient tev setup printer. | Tony Wasserka | 2014-08-25 | 1 | -0/+2 |
| | |||||
* | Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated. | Tony Wasserka | 2014-08-25 | 1 | -0/+2 |
| | |||||
* | Pica/CommandProcessor: Implement parameter masking. | Tony Wasserka | 2014-08-25 | 1 | -5/+13 |
| | |||||
* | Pica: Add debug utility functions for dumping geometry data. | Tony Wasserka | 2014-08-25 | 1 | -0/+8 |
| | |||||
* | Pica: Add primitive assembly stage. | Tony Wasserka | 2014-08-12 | 1 | -1/+2 |
| | |||||
* | Pica: Add vertex shader implementation. | Tony Wasserka | 2014-08-12 | 1 | -5/+103 |
| | |||||
* | Pica: Implement vertex loading. | Tony Wasserka | 2014-08-12 | 1 | -1/+80 |
| | |||||
* | Pica: Add command processor. | Tony Wasserka | 2014-08-12 | 1 | -0/+60 |