summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-30GPU: Implemented register 0x22A.Subv1-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.
2015-08-16Introduce a shader tracer to allow inspection of input/output values for each processed instruction.Tony Wasserka1-1/+1
2015-08-15Shader: Define a common interface for running vertex shader programs.bunnei1-1/+4
2015-08-15Shader: Move shader code to its own subdirectory, "shader".bunnei1-1/+1
2015-08-15GPU: Refactor "VertexShader" namespace to "Shader".bunnei1-10/+9
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-08-05Videocore: Implement simple vertex cachingYuri Kunde Schlesner1-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.
2015-07-26citra-qt/command list: Add mask columnLectem1-14/+17
2015-07-26VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner1-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.
2015-07-23VideoCore: Fix values of unset components in input attribute arraysYuri Kunde Schlesner1-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.
2015-07-23Qt/GPU Breakpoints: Added three more breakpoint types:Subv1-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
2015-07-19Video_Core : Type fixeszawata1-1/+1
2015-07-19Video_Core : Fix Conversion Warningszawata1-1/+1
2015-07-15Pica/Shader: Add geometry shader definitions.Tony Wasserka1-39/+39
2015-07-15Pica/CommandProcessor: Move default attribute setup to the proper position.Tony Wasserka1-40/+40
2015-07-13Clean up command_processor.cpp.Tony Wasserka1-22/+27
2015-07-13Add CiTrace recording support.Tony Wasserka1-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).
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot1-5/+7
2015-05-31Pica: Implement command buffer execution registers.bunnei1-32/+38
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-4/+4
2015-05-23Pica: Create 'State' structure and move state memory there.bunnei1-24/+23
2015-05-23OpenGL renderertfarley1-3/+23
2015-05-17GPU/DefaultAttributes: Clear up a comment in command_processorSubv1-2/+2
2015-05-17GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set.Subv1-21/+23
closes #735
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner1-2/+2
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner1-2/+2
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-05-07GPU: Implemented default vertex shader attributes.Subv1-27/+71
Fixes some games crashing.
2015-03-02Add profiling infrastructure and widgetYuri Kunde Schlesner1-0/+6
2015-02-18Pica/CommandProcessor: Properly implement shader load destination offset registers.Tony Wasserka1-18/+4
2015-02-18Pica/CommandProcessor: Work around initialized vertex attributes some more.Tony Wasserka1-2/+8
2014-12-31Pica/CommandProcessor: Cleanups.Tony Wasserka1-3/+4
2014-12-31Pica/CommandProcessor: Workaround games not setting the input position's w component.Tony Wasserka1-0/+14
2014-12-31Pica/CommandProcessor: Add support for integer uniforms.Tony Wasserka1-0/+13
2014-12-29GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei1-0/+5
2014-12-21More warning cleanupsChin1-2/+2
2014-12-21License changepurpasmart961-1/+1
2014-12-20Pica: Add support for boolean uniforms.Tony Wasserka1-0/+6
2014-12-20Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka1-0/+3
2014-12-20Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations.Tony Wasserka1-0/+7
2014-12-20Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes.Tony Wasserka1-7/+8
2014-12-20Pica: Unify ugly address translation hacks.Tony Wasserka1-2/+2
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-3/+3
2014-12-10GSP: Trigger GPU interrupts at more accurate locations.bunnei1-0/+6
2014-12-10GPU: Fixed bug in command list size decoding.bunnei1-1/+2
2014-12-09Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka1-0/+13
2014-12-01Silence a few -Wsign-compare warnings.Rohit Nirmal1-1/+1
2014-10-30Fix some warningsSean1-1/+1
2014-10-08Fix warnings in video_coreLioncash1-6/+6
2014-08-25Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka1-4/+16
2014-08-25Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka1-0/+2
2014-08-25Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka1-0/+2
2014-08-25Pica/CommandProcessor: Implement parameter masking.Tony Wasserka1-5/+13
2014-08-25Pica: Add debug utility functions for dumping geometry data.Tony Wasserka1-0/+8
2014-08-12Pica: Add primitive assembly stage.Tony Wasserka1-1/+2
2014-08-12Pica: Add vertex shader implementation.Tony Wasserka1-5/+103
2014-08-12Pica: Implement vertex loading.Tony Wasserka1-1/+80
2014-08-12Pica: Add command processor.Tony Wasserka1-0/+60