aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2015-07-29Merge pull request #963 from yuriks/gpu-fixesbunnei
Misc. GPU vertex loading fixes
2015-07-26Merge pull request #991 from yuriks/globjectsbunnei
OpenGL: Make OpenGL object resource wrappers fully inline
2015-07-26Merge pull request #992 from yuriks/hot-path-debugbunnei
VideoCore: #ifdef out some debugging routines
2015-07-26OpenGL: Make OpenGL object resource wrappers fully inlineYuri Kunde Schlesner
The functions are so simple that having them separate only bloats the code and hinders optimization.
2015-07-26Merge pull request #987 from yuriks/regnamesTony Wasserka
Videocore: Don't reinitialize register name map on every query.
2015-07-26Videocore: Don't reinitialize register name map on every queryYuri Kunde Schlesner
This greatly speeds up the command list debug widget.
2015-07-26Videocore: Simplify variables in vertex shader interpreterYuri Kunde Schlesner
Simplifies the code and gives a tiny speed-up.
2015-07-26Videocore: Replace std::stack in shader interpreter with static_vectorYuri Kunde Schlesner
Shaves off 1/3rd of the vertex shader time in Fire Emblem
2015-07-26VideoCore: #ifdef out some debugging routinesYuri Kunde Schlesner
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-25Address error that remained in last mergeYuri Kunde Schlesner
2015-07-25Merge pull request #892 from zawata/another-warning-fixesYuri Kunde Schlesner
Yet More Warning Fixes
2015-07-24Merge pull request #980 from Subv/more_breakpointsTony Wasserka
Qt/GPU Breakpoints: Added three more breakpoint types.
2015-07-23VideoCore: Fix values of unset components in input attribute arraysYuri Kunde Schlesner
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-23VideoCore: Saturate vertex colors before interpolatingYuri Kunde Schlesner
During testing, it was discovered that hardware does not interpolate colors output by the vertex shader as-is. Rather, it drops the sign and saturates the value to 1.0. This is done before interpolation, such that (e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the shader had output the values 1.0 and 0.5 instead, with the interpolated value never crossing 0.0. This change has been tested against hardware.
2015-07-23Qt/GPU Breakpoints: Added three more breakpoint types:Subv
* 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-23Merge pull request #977 from yuriks/glenable-tex2dbunnei
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
2015-07-22Rasterizer/GL: Set the border color when binding a texture.Subv
2015-07-22GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner
In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
2015-07-21Merge pull request #968 from Subv/texture_filteringbunnei
GPU: Added registers for min and mag texture filters
2015-07-21GPU: Added registers for min and mag texture filters and implemented them in ↵Subv
the hw renderer.
2015-07-21Merge pull request #929 from neobrain/geoshader_definitionsTony Wasserka
Pica/Shader: Add geometry shader definitions.
2015-07-19Merge pull request #944 from Subv/spambunnei
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
2015-07-19Pica: Correct switched S/T texture wrapping registersYuri Kunde Schlesner
This was found and hwtested by Lectem
2015-07-19Pica: Fix DP3 instruction, which wasn't assigning to the w componentYuri Kunde Schlesner
2015-07-19GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't ↵Subv
exist.
2015-07-19Rasterizer/Textures: Fixed a bug where the I4 format would get twice the ↵Subv
real stride. Also added its name to the texture viewer widget
2015-07-19Vertex Shader : Undo castingzawata
2015-07-19Video_Core : Type fixeszawata
2015-07-19Video_Core: Finally fix pesky warningzawata
2015-07-19Video_Core : Change Tabs to Spaceszawata
This really should be universalized, I keep getting errors creating commits because lines I've edited use tabs instead of spaces(and yes I did read the contributing guide and i know they are supposed to be spaces)
2015-07-19Video_Core : Fix Conversion Warningszawata
2015-07-15Pica/Shader: Add geometry shader definitions.Tony Wasserka
2015-07-15Merge pull request #931 from neobrain/move_default_attr_handlerTony Wasserka
Pica/CommandProcessor: Move default attribute setup to the proper position.
2015-07-15Pica/CommandProcessor: Move default attribute setup to the proper position.Tony Wasserka
2015-07-15Pica/Clipper: Output proper number of triangles in debugging logs.Tony Wasserka
2015-07-14VideoCore: Implement the DOT3_RGB combinerLectem
2015-07-13Pica: Implement stencil testing.Tony Wasserka
2015-07-13Clean up command_processor.cpp.Tony Wasserka
2015-07-13Add CiTrace recording support.Tony Wasserka
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-07-12Merge pull request #907 from Lectem/clamp_to_borderTony Wasserka
Add GL_CLAMP_TO_BORDER support.
2015-07-09Added GL_CLAMP_TO_BORDER supportLectem
2015-06-28Core: Cleanup hw includes.Emmanuel Gil Peyrot
2015-06-28Core, VideoCore: Replace or fix exit() calls.Emmanuel Gil Peyrot
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot
2015-06-28Common: Cleanup emu_window includes.Emmanuel Gil Peyrot
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot
2015-06-26VideoCore: Fix floating point warningzawata
2015-06-16VideoCore: Log the GL driver’s vendor and renderer.Emmanuel Gil Peyrot
2015-06-14video_core: add extra braces around initializerYuri Kunde Schlesner
Trivial change and fixes several warnings in the clang build.
2015-06-08Renderer formatting editstfarley