aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core
Commit message (Collapse)AuthorAge
* VideoCore: Fix values of unset components in input attribute arraysGravatar Yuri Kunde Schlesner2015-07-23
| | | | | | | | | | | | | | | | | | | 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: Saturate vertex colors before interpolatingGravatar Yuri Kunde Schlesner2015-07-23
| | | | | | | | | | | 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.
* Merge pull request #977 from yuriks/glenable-tex2dGravatar bunnei2015-07-23
|\ | | | | GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
* | Rasterizer/GL: Set the border color when binding a texture.Gravatar Subv2015-07-22
| |
| * GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsGravatar Yuri Kunde Schlesner2015-07-22
| | | | | | | | | | | | | | 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.
* | Merge pull request #968 from Subv/texture_filteringGravatar bunnei2015-07-21
|\ \ | |/ |/| GPU: Added registers for min and mag texture filters
| * GPU: Added registers for min and mag texture filters and implemented them in ↵Gravatar Subv2015-07-21
| | | | | | | | the hw renderer.
* | Merge pull request #929 from neobrain/geoshader_definitionsGravatar Tony Wasserka2015-07-21
|\ \ | |/ |/| Pica/Shader: Add geometry shader definitions.
* | Merge pull request #944 from Subv/spamGravatar bunnei2015-07-19
|\ \ | | | | | | GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
* | | Pica: Correct switched S/T texture wrapping registersGravatar Yuri Kunde Schlesner2015-07-19
| | | | | | | | | | | | This was found and hwtested by Lectem
* | | Pica: Fix DP3 instruction, which wasn't assigning to the w componentGravatar Yuri Kunde Schlesner2015-07-19
| | |
| * | GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't ↵Gravatar Subv2015-07-19
|/ / | | | | | | exist.
* | Rasterizer/Textures: Fixed a bug where the I4 format would get twice the ↵Gravatar Subv2015-07-19
| | | | | | | | | | | | real stride. Also added its name to the texture viewer widget
| * Pica/Shader: Add geometry shader definitions.Gravatar Tony Wasserka2015-07-15
| |
* | Merge pull request #931 from neobrain/move_default_attr_handlerGravatar Tony Wasserka2015-07-15
|\ \ | | | | | | Pica/CommandProcessor: Move default attribute setup to the proper position.
| * | Pica/CommandProcessor: Move default attribute setup to the proper position.Gravatar Tony Wasserka2015-07-15
| |/
* / Pica/Clipper: Output proper number of triangles in debugging logs.Gravatar Tony Wasserka2015-07-15
|/
* VideoCore: Implement the DOT3_RGB combinerGravatar Lectem2015-07-14
|
* Pica: Implement stencil testing.Gravatar Tony Wasserka2015-07-13
|
* Clean up command_processor.cpp.Gravatar Tony Wasserka2015-07-13
|
* Add CiTrace recording support.Gravatar Tony Wasserka2015-07-13
| | | | | | 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).
* Merge pull request #907 from Lectem/clamp_to_borderGravatar Tony Wasserka2015-07-12
|\ | | | | Add GL_CLAMP_TO_BORDER support.
| * Added GL_CLAMP_TO_BORDER supportGravatar Lectem2015-07-09
| |
* | Core: Cleanup hw includes.Gravatar Emmanuel Gil Peyrot2015-06-28
| |
* | Core, VideoCore: Replace or fix exit() calls.Gravatar Emmanuel Gil Peyrot2015-06-28
| |
* | CitraQt: Cleanup includes.Gravatar Emmanuel Gil Peyrot2015-06-28
| |
* | Common: Cleanup emu_window includes.Gravatar Emmanuel Gil Peyrot2015-06-28
| |
* | Common: Cleanup key_map includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|/
* VideoCore: Fix floating point warningGravatar zawata2015-06-26
|
* VideoCore: Log the GL driver’s vendor and renderer.Gravatar Emmanuel Gil Peyrot2015-06-16
|
* video_core: add extra braces around initializerGravatar Yuri Kunde Schlesner2015-06-14
| | | | Trivial change and fixes several warnings in the clang build.
* Renderer formatting editsGravatar tfarley2015-06-08
|
* Render-to-texture flush, interval math fixGravatar tfarley2015-06-08
|
* Liberal texture unbind (clout menu)Gravatar tfarley2015-06-08
|
* Depth format fix (crush3d intro/black screens)Gravatar tfarley2015-06-08
|
* Implemented glColorMaskGravatar tfarley2015-06-08
|
* Merge pull request #811 from archshift/commonifyGravatar archshift2015-05-31
|\ | | | | Commonify video_core utility headers
* | Pica: Use zero for the SecondaryFragmentColor source.Gravatar bunnei2015-05-31
| | | | | | | | - This is a workaround until we support fragment lighting.
* | rasterizer: Remove unnecessary 'using' for BlendEquation.Gravatar bunnei2015-05-31
| |
* | Pica: Implement LogicOp function.Gravatar bunnei2015-05-31
| |
* | rasterizer: Implement AddSigned combiner function for alpha channel.Gravatar bunnei2015-05-31
| |
* | vertex_shader: Use address offset on src2 in inverted mode.Gravatar bunnei2015-05-31
| |
* | Pica: Implement command buffer execution registers.Gravatar bunnei2015-05-31
| |
* | vertex_shader: Implement SLT/SLTI instructions.Gravatar bunnei2015-05-31
| |
* | vertex_shader: Implement MIN instruction.Gravatar bunnei2015-05-31
| |
| * Move video_core/color.h to common/color.hGravatar archshift2015-05-30
| |
| * Move video_core/math.h to common/vector_math.hGravatar archshift2015-05-30
|/ | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* Remove every trailing whitespace from the project (but externals).Gravatar Emmanuel Gil Peyrot2015-05-29
|
* gl_state: Remove unnecessary const specifier on ApplyGravatar Lioncash2015-05-23
|
* video_core/utils: Remove unused variables in GetMortonOffsetGravatar Lioncash2015-05-23
|