Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -3/+4 |
| | |||||
* | pica: Handle default lighting case | Sam Spilsbury | 2016-04-23 | 1 | -1/+6 |
| | |||||
* | HWRasterizer: Texture forwarding | tfarley | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | Rasterizer: Respect buffer-write allow registers | Jannik Vogel | 2016-04-08 | 1 | -1/+11 |
| | |||||
* | Pica: Improve accuracy of immediate-mode support | Yuri Kunde Schlesner | 2016-03-24 | 1 | -1/+6 |
| | | | | This partially fixes Etrian Odyssey IV. | ||||
* | Merge pull request #1508 from JayFoxRox/vs-output-map | bunnei | 2016-03-22 | 1 | -3/+5 |
|\ | | | | | Respect vs output map | ||||
| * | Respect vs output map | Jannik Vogel | 2016-03-14 | 1 | -3/+5 |
| | | |||||
* | | core/video_core: Make NumIds functions constexpr | Lioncash | 2016-03-17 | 1 | -1/+1 |
| | | |||||
* | | core/video_core: Don't cast away const in subscript operators | Lioncash | 2016-03-17 | 1 | -3/+3 |
| | | | | | | | | Not to say these subscript operators aren't totally ugly as is. | ||||
* | | PICA: Fix viewport offset | Jannik Vogel | 2016-03-14 | 1 | -2/+2 |
|/ | |||||
* | Add immediate mode vertex submission | Dwayne Slater | 2016-03-03 | 1 | -55/+11 |
| | |||||
* | pica: Cleanup lighting register definitions and documentation. | bunnei | 2016-02-05 | 1 | -33/+36 |
| | |||||
* | gl_rasterizer: Initial implementation of bump mapping. | bunnei | 2016-02-05 | 1 | -0/+9 |
| | |||||
* | gl_shader_gen: Implement lighting red, green, and blue reflection. | bunnei | 2016-02-05 | 1 | -3/+15 |
| | |||||
* | gl_shader_gen: Implement fragment lighting fresnel effect. | bunnei | 2016-02-05 | 1 | -0/+5 |
| | |||||
* | gl_shader_gen: Implement fragment lighting specular 1 component. | bunnei | 2016-02-05 | 1 | -8/+19 |
| | |||||
* | gl_shader_gen: Add support for D0 LUT scaling. | bunnei | 2016-02-05 | 1 | -1/+67 |
| | |||||
* | gl_shader_gen: Refactor lighting config to match Pica register naming. | bunnei | 2016-02-05 | 1 | -0/+2 |
| | | | | - Also implement D0 LUT enable. | ||||
* | pica: Cleanup and add some comments to lighting registers. | bunnei | 2016-02-05 | 1 | -18/+18 |
| | |||||
* | gl_rasterizer: Minor naming refactor on Pica register naming. | bunnei | 2016-02-05 | 1 | -15/+18 |
| | |||||
* | renderer_opengl: Initial implementation of basic specular lighting. | bunnei | 2016-02-05 | 1 | -1/+7 |
| | |||||
* | renderer_opengl: Implement HW fragment lighting LUTs within our default UBO. | bunnei | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | renderer_opengl: Implement diffuse component of HW fragment lighting. | bunnei | 2016-02-05 | 1 | -10/+11 |
| | |||||
* | pica: Implement decoding of basic fragment lighting components. | bunnei | 2016-02-05 | 1 | -10/+53 |
| | | | | | | | - Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output | ||||
* | pica: Implement fragment lighting LUTs. | bunnei | 2016-02-05 | 1 | -0/+19 |
| | |||||
* | pica: Add decodings for distance attenuation and LUT registers. | bunnei | 2016-02-05 | 1 | -1/+104 |
| | |||||
* | pica: Add pica_types module and move float24 definition. | bunnei | 2016-02-05 | 1 | -112/+2 |
| | |||||
* | gl_rasterizer: Move logic for creating ShaderCacheKey to a static function. | bunnei | 2015-10-22 | 1 | -4/+4 |
| | |||||
* | Initial implementation of fragment shader generation with caching. | Subv | 2015-10-22 | 1 | -0/+4 |
| | |||||
* | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -1/+1 |
| | |||||
* | OpenGL: Remove ugly and endian-unsafe color pointer casts | Yuri Kunde Schlesner | 2015-09-03 | 1 | -0/+4 |
| | |||||
* | Pica: Added the primitive_restart register (0x25f) to the registers map. | Subv | 2015-08-31 | 1 | -1/+4 |
| | |||||
* | Pica: Add the vertex_offset register to the Pica registers map. | Subv | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1059 from Subv/vertex_offset | bunnei | 2015-08-30 | 1 | -1/+6 |
|\ | | | | | GPU: Implemented register 0x22A PICA_REG_DRAW_VERTEX_OFFSET | ||||
| * | GPU: Implemented register 0x22A. | Subv | 2015-08-30 | 1 | -1/+6 |
| | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #1049 from Subv/stencil | bunnei | 2015-08-30 | 1 | -5/+17 |
|\ \ | | | | | | | Rasterizer: Corrected the stencil implementation. | ||||
| * | | SWRasterizer: Implemented stencil ops 6 and 7. | Subv | 2015-08-21 | 1 | -6/+8 |
| | | | | | | | | | | | | IncrementWrap and DecrementWrap, verified with hwtests. | ||||
| * | | SWRasterizer: Implemented stencil action 1 (GL_ZERO). | Subv | 2015-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | Verified with hwtests. | ||||
| * | | GPU/Rasterizer: Corrected the stencil implementation. | Subv | 2015-08-20 | 1 | -5/+15 |
| |/ | | | | | | | Verified the behavior with hardware tests. | ||||
* | | fixup! Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 2015-08-24 | 1 | -4/+4 |
| | | |||||
* | | Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 2015-08-24 | 1 | -1/+13 |
|/ | | | | | | | | The PICA200 semantics for multiplication are so that when multiplying inf by exactly 0.0, the result is 0.0, instead of NaN, as defined by IEEE. This is relied upon by games. Fixes #1024 (missing OoT interface items) | ||||
* | Merge pull request #1034 from yuriks/rg8-textures | bunnei | 2015-08-17 | 1 | -1/+2 |
|\ | | | | | videocore: Added RG8 texture support | ||||
| * | videocore: Added RG8 texture support | Patrick Martin | 2015-08-16 | 1 | -1/+2 |
| | | |||||
* | | citra-qt: Improve shader debugger. | Tony Wasserka | 2015-08-16 | 1 | -0/+11 |
|/ | | | | Now supports dumping the current shader and recognizes a larger number of output semantics. | ||||
* | Shader: Define a common interface for running vertex shader programs. | bunnei | 2015-08-15 | 1 | -1/+5 |
| | |||||
* | Videocore: Don't reinitialize register name map on every query | Yuri Kunde Schlesner | 2015-07-26 | 1 | -64/+1 |
| | | | | This greatly speeds up the command list debug widget. | ||||
* | Merge pull request #892 from zawata/another-warning-fixes | Yuri Kunde Schlesner | 2015-07-25 | 1 | -1/+1 |
|\ | | | | | Yet More Warning Fixes | ||||
| * | Video_Core: Finally fix pesky warning | zawata | 2015-07-19 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #968 from Subv/texture_filtering | bunnei | 2015-07-22 | 1 | -0/+7 |
|\ \ | | | | | | | GPU: Added registers for min and mag texture filters | ||||
| * | | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 2015-07-21 | 1 | -0/+7 |
| | | | |||||
* | | | Merge pull request #929 from neobrain/geoshader_definitions | Tony Wasserka | 2015-07-21 | 1 | -99/+113 |
|\ \ \ | |/ / |/| | | Pica/Shader: Add geometry shader definitions. | ||||
| * | | Pica/Shader: Add geometry shader definitions. | Tony Wasserka | 2015-07-15 | 1 | -99/+113 |
| |/ | |||||
* | | Pica: Correct switched S/T texture wrapping registers | Yuri Kunde Schlesner | 2015-07-20 | 1 | -2/+2 |
| | | | | | | | | This was found and hwtested by Lectem | ||||
* | | Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride. | Subv | 2015-07-19 | 1 | -0/+1 |
|/ | | | | Also added its name to the texture viewer widget | ||||
* | VideoCore: Implement the DOT3_RGB combiner | Lectem | 2015-07-14 | 1 | -0/+1 |
| | |||||
* | Pica: Implement stencil testing. | Tony Wasserka | 2015-07-13 | 1 | -9/+34 |
| | |||||
* | Merge pull request #907 from Lectem/clamp_to_border | Tony Wasserka | 2015-07-12 | 1 | -1/+7 |
|\ | | | | | Add GL_CLAMP_TO_BORDER support. | ||||
| * | Added GL_CLAMP_TO_BORDER support | Lectem | 2015-07-09 | 1 | -1/+7 |
| | | |||||
* | | Common: Cleanup emu_window includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -3/+3 |
|/ | |||||
* | video_core: add extra braces around initializer | Yuri Kunde Schlesner | 2015-06-14 | 1 | -3/+3 |
| | | | | Trivial change and fixes several warnings in the clang build. | ||||
* | Merge pull request #811 from archshift/commonify | archshift | 2015-05-31 | 1 | -2/+1 |
|\ | | | | | Commonify video_core utility headers | ||||
| * | Move video_core/math.h to common/vector_math.h | archshift | 2015-05-30 | 1 | -2/+1 |
| | | | | | | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | ||||
* | | Pica: Use zero for the SecondaryFragmentColor source. | bunnei | 2015-05-31 | 1 | -0/+1 |
| | | | | | | | | - This is a workaround until we support fragment lighting. | ||||
* | | Pica: Implement LogicOp function. | bunnei | 2015-05-31 | 1 | -6/+21 |
| | | |||||
* | | Pica: Implement command buffer execution registers. | bunnei | 2015-05-31 | 1 | -12/+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 | -81/+105 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -10/+27 |
| | |||||
* | Merge pull request #772 from lioncash/warn | bunnei | 2015-05-18 | 1 | -1/+1 |
|\ | | | | | core/video_core: Fix a few warnings when compiling on MSVC. | ||||
| * | pica: Add the ULL specifier in IsDefaultAttribute | Lioncash | 2015-05-14 | 1 | -1/+1 |
| | | | | | | | | This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value. | ||||
* | | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 1 | -2/+0 |
|/ | | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory. | ||||
* | Implement I4 texture format | archshift | 2015-05-11 | 1 | -1/+1 |
| | | | | | | @neobrain, could you confirm that this is correct? It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D. | ||||
* | rasterizer: Implemented combiner output scaling. | bunnei | 2015-05-10 | 1 | -1/+12 |
| | |||||
* | rasterizer: Fixed a depth testing bug. | bunnei | 2015-05-10 | 1 | -3/+15 |
| | |||||
* | rasterizer: Implement combiner buffer input. | bunnei | 2015-05-10 | 1 | -3/+33 |
| | |||||
* | Memory: Support more regions in the VAddr-PAddr translation functions | Yuri Kunde Schlesner | 2015-05-09 | 1 | -11/+0 |
| | | | | | Also adds better documentation and removes the one-off reimplementation of the function in pica.h. | ||||
* | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #721 from yuriks/more-cleanups | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+3 |
|\ | | | | | More cleanups | ||||
| * | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+3 |
| | | |||||
* | | GPU: Implemented default vertex shader attributes. | Subv | 2015-05-07 | 1 | -25/+42 |
|/ | | | | Fixes some games crashing. | ||||
* | GPU: Added the stencil test structure to the Pica Regs struct. | Subv | 2015-03-10 | 1 | -9/+34 |
| | |||||
* | GPU: Implemented more depth buffer formats. | Subv | 2015-03-10 | 1 | -0/+7 |
| | | | | This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others | ||||
* | GPU: Added RGB565/RGB8 framebuffer support and various cleanups. | bunnei | 2015-03-04 | 1 | -3/+3 |
| | | | | | | - Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger. | ||||
* | Added RGBA5551 compatibility in the rasterizer | archshift | 2015-02-28 | 1 | -0/+1 |
| | | | | This allows Virtual Console games to display properly. | ||||
* | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h | archshift | 2015-02-20 | 1 | -11/+0 |
| | |||||
* | Pica/BlendUnit: Implement separate color/alpha blend equations. | Tony Wasserka | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor. | Tony Wasserka | 2015-02-18 | 1 | -0/+2 |
| | | | | Not really sure where the difference is, but some applications seem to use this 1:1 the same way... | ||||
* | Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. | Tony Wasserka | 2015-02-18 | 1 | -0/+3 |
| | |||||
* | Pica/TextureUnit: Implement mirrored repeating texture wrapping. | Tony Wasserka | 2015-02-18 | 1 | -2/+3 |
| | |||||
* | Pica: Fix a bug in the register definitions, relating to texture wrapping. | Tony Wasserka | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Pica/OutputMerger: Implement color format checking. | Tony Wasserka | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Pica/CommandProcessor: Properly implement shader load destination offset registers. | Tony Wasserka | 2015-02-18 | 1 | -2/+6 |
| | |||||
* | Add more blend equations from 3dbrew | Darius Goad | 2015-02-10 | 1 | -1/+5 |
| | |||||
* | Rasterizer: Implement the other color and alpha modifiers. | bunnei | 2015-02-05 | 1 | -10/+20 |
| | |||||
* | Pica: Implement blend factors. | bunnei | 2015-01-31 | 1 | -6/+21 |
| | |||||
* | Pica: Implement color/alpha channel enable. | bunnei | 2015-01-28 | 1 | -0/+4 |
| | |||||
* | Rasterizer: Implemented alpha testing. | bunnei | 2015-01-27 | 1 | -3/+11 |
| | |||||
* | GPU: Implement the remaining depth testing functions. | bunnei | 2015-01-26 | 1 | -3/+8 |
| | |||||
* | Pica/Rasterizer: Add ETC1 texture decompression support. | Tony Wasserka | 2015-01-13 | 1 | -2/+2 |
| | |||||
* | Pica/Rasterizer: Implement backface culling. | Tony Wasserka | 2014-12-31 | 1 | -1/+15 |
| | |||||
* | Pica/Rasterizer: Implement depth testing. | Tony Wasserka | 2014-12-31 | 1 | -0/+1 |
| | |||||
* | Pica: Add output merger definitions. | Tony Wasserka | 2014-12-31 | 1 | -1/+56 |
| | |||||
* | Pica/CommandProcessor: Add support for integer uniforms. | Tony Wasserka | 2014-12-31 | 1 | -1/+9 |
| | |||||
* | Rasterizer: Pre-divide vertex attributes by W | Yuri Kunde Schlesner | 2014-12-29 | 1 | -0/+20 |
| | | | | | Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop. | ||||
* | Merge pull request #322 from chinhodado/master | bunnei | 2014-12-22 | 1 | -5/+5 |
|\ | | | | | More warning cleanups | ||||
| * | More warning cleanups | Chin | 2014-12-21 | 1 | -5/+5 |
| | | |||||
* | | 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 | -1/+7 |
| | | |||||
* | | Pica/VertexShader: Add support for MOVA, CMP and IFC. | Tony Wasserka | 2014-12-20 | 1 | -0/+8 |
| | | |||||
* | | Add support for a ridiculous number of texture formats. | Tony Wasserka | 2014-12-20 | 1 | -6/+16 |
| | | |||||
* | | Pica: Unify ugly address translation hacks. | Tony Wasserka | 2014-12-20 | 1 | -8/+17 |
| | | |||||
* | | Pica: Further improve Tev emulation. | Tony Wasserka | 2014-12-20 | 1 | -0/+1 |
| | | |||||
* | | Pica: Implement texture wrapping. | Tony Wasserka | 2014-12-20 | 1 | -1/+11 |
| | | |||||
* | | Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats. | Tony Wasserka | 2014-12-20 | 1 | -0/+2 |
| | | |||||
* | | Pica: Initial support for multitexturing. | Tony Wasserka | 2014-12-20 | 1 | -5/+35 |
|/ | |||||
* | MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP. | bunnei | 2014-12-12 | 1 | -2/+2 |
| | | | | - Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU). | ||||
* | GSP: Trigger GPU interrupts at more accurate locations. | bunnei | 2014-12-10 | 1 | -1/+9 |
| | |||||
* | Pica: Re-enable command names on MSVC. | Tony Wasserka | 2014-12-09 | 1 | -5/+0 |
| | | | | The affected code is no longer limited by compiler support on that platform. | ||||
* | More coding style fixes. | Tony Wasserka | 2014-12-09 | 1 | -6/+12 |
| | |||||
* | citra_qt: Add enhanced texture debugging widgets. | Tony Wasserka | 2014-12-09 | 1 | -1/+14 |
| | | | | Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area. | ||||
* | Build fix for something which shouldn't have compiled successfully to begin with. | Tony Wasserka | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Fix warnings in video_core | Lioncash | 2014-10-08 | 1 | -1/+1 |
| | |||||
* | Core: Fix warnings in gpu.cpp | Lioncash | 2014-09-14 | 1 | -1/+1 |
| | |||||
* | Pica/Rasterizer: Add texturing support. | Tony Wasserka | 2014-08-25 | 1 | -1/+4 |
| | |||||
* | Pica/Rasterizer: Add initial implementation of texture combiners. | Tony Wasserka | 2014-08-25 | 1 | -1/+104 |
| | |||||
* | Pica: Add support for dumping textures. | Tony Wasserka | 2014-08-25 | 1 | -1/+44 |
| | |||||
* | Pica: Add debug utilities for dumping shaders. | Tony Wasserka | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | float24: Remove private default constructor | archshift | 2014-08-13 | 1 | -2/+0 |
| | | | | Fixes building with clang. | ||||
* | Pica: Add basic rasterizer. | Tony Wasserka | 2014-08-12 | 1 | -1/+51 |
| | |||||
* | Pica: Add triangle clipper. | Tony Wasserka | 2014-08-12 | 1 | -2/+20 |
| | |||||
* | Pica: Add primitive assembly stage. | Tony Wasserka | 2014-08-12 | 1 | -1/+14 |
| | |||||
* | Pica: Add vertex shader implementation. | Tony Wasserka | 2014-08-12 | 1 | -5/+132 |
| | |||||
* | Pica: Implement vertex loading. | Tony Wasserka | 2014-08-12 | 1 | -7/+22 |
| | |||||
* | Pica: Add register definition for vertex loading and rendering. | Tony Wasserka | 2014-08-12 | 1 | -33/+128 |
| | |||||
* | Pica: Add command processor. | Tony Wasserka | 2014-08-12 | 1 | -0/+2 |
| | |||||
* | Pica: Add float24 structure. | Tony Wasserka | 2014-08-12 | 1 | -0/+75 |
| | | | | | 24-bit floating points are used internally for calculations on the GPU, however the current code will still emulate that with 32-bit floating points. In the future we might want to accurately perform the calculations with correct bitness in the future, but for now we just wrap the calculations around this class. | ||||
* | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones. | Tony Wasserka | 2014-08-12 | 1 | -1/+1 |
| | | | | | This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though. | ||||
* | Remove the fancy RegisterSet class introduced in 4c2bff61e. | Tony Wasserka | 2014-08-12 | 1 | -98/+144 |
| | | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use. | ||||
* | Pica: Use some template magic to define register structures efficiently. | Tony Wasserka | 2014-06-12 | 1 | -25/+102 |
| | |||||
* | Further refine GPU command list debugging. | Tony Wasserka | 2014-06-12 | 1 | -0/+16 |
| | |||||
* | Refine command list debugging functionality and its qt interface. | Tony Wasserka | 2014-06-12 | 1 | -0/+2 |
| | |||||
* | video core: added PICA definitions file. | Tony Wasserka | 2014-06-12 | 1 | -0/+35 |