summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Fix format specifiers warningsaroulin2015-09-021-1/+1
|
* Merge pull request #1059 from Subv/vertex_offsetbunnei2015-08-301-1/+2
|\ | | | | GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET
| * GPU: Implemented register 0x22A.Subv2015-08-301-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 libraryYuri Kunde Schlesner2015-08-251-0/+4
|/ | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view.
* Merge pull request #997 from Lectem/cmdlist_full_debugTony Wasserka2015-08-161-14/+17
|\ | | | | citra-qt: Improve pica command list widget (add mask, fix some issues)
| * citra-qt/command list: Add mask columnLectem2015-07-261-14/+17
| |
* | Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka2015-08-161-1/+1
| |
* | Shader: Define a common interface for running vertex shader programs.bunnei2015-08-151-1/+4
| |
* | Shader: Move shader code to its own subdirectory, "shader".bunnei2015-08-151-1/+1
| |
* | GPU: Refactor "VertexShader" namespace to "Shader".bunnei2015-08-151-10/+9
| | | | | | | | - Also renames "vertex_shader.*" to "shader_interpreter.*"
* | Videocore: Implement simple vertex cachingYuri Kunde Schlesner2015-08-051-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-fixesbunnei2015-07-291-42/+38
|\ \ | | | | | | Misc. GPU vertex loading fixes
| * | VideoCore: Fix values of unset components in input attribute arraysYuri Kunde Schlesner2015-07-231-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 routinesYuri Kunde Schlesner2015-07-261-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-fixesYuri Kunde Schlesner2015-07-251-1/+1
|\ \ | | | | | | Yet More Warning Fixes
| * | Video_Core : Type fixeszawata2015-07-191-1/+1
| | |
| * | Video_Core : Fix Conversion Warningszawata2015-07-191-1/+1
| | |
* | | Qt/GPU Breakpoints: Added three more breakpoint types:Subv2015-07-231-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_definitionsTony Wasserka2015-07-211-39/+39
|\ \ | |/ |/| Pica/Shader: Add geometry shader definitions.
| * Pica/Shader: Add geometry shader definitions.Tony Wasserka2015-07-151-39/+39
| |
* | Pica/CommandProcessor: Move default attribute setup to the proper position.Tony Wasserka2015-07-151-40/+40
|/
* Clean up command_processor.cpp.Tony Wasserka2015-07-131-22/+27
|
* Add CiTrace recording support.Tony Wasserka2015-07-131-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 Peyrot2015-06-281-5/+7
|
* Pica: Implement command buffer execution registers.bunnei2015-05-311-32/+38
|
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-4/+4
|
* Pica: Create 'State' structure and move state memory there.bunnei2015-05-231-24/+23
|
* OpenGL renderertfarley2015-05-231-3/+23
|
* GPU/DefaultAttributes: Clear up a comment in command_processorSubv2015-05-171-2/+2
|
* GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set.Subv2015-05-171-21/+23
| | | | closes #735
* Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner2015-05-091-2/+2
|
* Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner2015-05-091-2/+2
| | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
* GPU: Implemented default vertex shader attributes.Subv2015-05-071-27/+71
| | | | Fixes some games crashing.
* Add profiling infrastructure and widgetYuri Kunde Schlesner2015-03-021-0/+6
|
* Pica/CommandProcessor: Properly implement shader load destination offset registers.Tony Wasserka2015-02-181-18/+4
|
* Pica/CommandProcessor: Work around initialized vertex attributes some more.Tony Wasserka2015-02-181-2/+8
|
* Pica/CommandProcessor: Cleanups.Tony Wasserka2014-12-311-3/+4
|
* Pica/CommandProcessor: Workaround games not setting the input position's w component.Tony Wasserka2014-12-311-0/+14
|
* Pica/CommandProcessor: Add support for integer uniforms.Tony Wasserka2014-12-311-0/+13
|
* GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei2014-12-291-0/+5
|
* Merge pull request #322 from chinhodado/masterbunnei2014-12-221-2/+2
|\ | | | | More warning cleanups
| * More warning cleanupsChin2014-12-211-2/+2
| |
* | Merge pull request #291 from purpasmart96/licensebunnei2014-12-211-1/+1
|\ \ | |/ |/| License change
| * License changepurpasmart962014-12-211-1/+1
| |
* | Pica: Add support for boolean uniforms.Tony Wasserka2014-12-201-0/+6
| |
* | Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka2014-12-201-0/+3
| |
* | Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations.Tony Wasserka2014-12-201-0/+7
| |
* | Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes.Tony Wasserka2014-12-201-7/+8
| |
* | Pica: Unify ugly address translation hacks.Tony Wasserka2014-12-201-2/+2
|/
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-3/+3
|
* GSP: Trigger GPU interrupts at more accurate locations.bunnei2014-12-101-0/+6
|
* GPU: Fixed bug in command list size decoding.bunnei2014-12-101-1/+2
|
* Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka2014-12-091-0/+13
|
* Silence a few -Wsign-compare warnings.Rohit Nirmal2014-12-011-1/+1
|
* Fix some warningsSean2014-10-301-1/+1
|
* Fix warnings in video_coreLioncash2014-10-081-6/+6
|
* Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka2014-08-251-4/+16
|
* Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka2014-08-251-0/+2
|
* Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka2014-08-251-0/+2
|
* Pica/CommandProcessor: Implement parameter masking.Tony Wasserka2014-08-251-5/+13
|
* Pica: Add debug utility functions for dumping geometry data.Tony Wasserka2014-08-251-0/+8
|
* Pica: Add primitive assembly stage.Tony Wasserka2014-08-121-1/+2
|
* Pica: Add vertex shader implementation.Tony Wasserka2014-08-121-5/+103
|
* Pica: Implement vertex loading.Tony Wasserka2014-08-121-1/+80
|
* Pica: Add command processor.Tony Wasserka2014-08-121-0/+60