Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-03-03 | Add immediate mode vertex submission | Dwayne Slater | 1 | -55/+11 | |
2016-02-05 | pica: Cleanup lighting register definitions and documentation. | bunnei | 1 | -33/+36 | |
2016-02-05 | gl_rasterizer: Initial implementation of bump mapping. | bunnei | 1 | -0/+9 | |
2016-02-05 | gl_shader_gen: Implement lighting red, green, and blue reflection. | bunnei | 1 | -3/+15 | |
2016-02-05 | gl_shader_gen: Implement fragment lighting fresnel effect. | bunnei | 1 | -0/+5 | |
2016-02-05 | gl_shader_gen: Implement fragment lighting specular 1 component. | bunnei | 1 | -8/+19 | |
2016-02-05 | gl_shader_gen: Add support for D0 LUT scaling. | bunnei | 1 | -1/+67 | |
2016-02-05 | gl_shader_gen: Refactor lighting config to match Pica register naming. | bunnei | 1 | -0/+2 | |
- Also implement D0 LUT enable. | |||||
2016-02-05 | pica: Cleanup and add some comments to lighting registers. | bunnei | 1 | -18/+18 | |
2016-02-05 | gl_rasterizer: Minor naming refactor on Pica register naming. | bunnei | 1 | -15/+18 | |
2016-02-05 | renderer_opengl: Initial implementation of basic specular lighting. | bunnei | 1 | -1/+7 | |
2016-02-05 | renderer_opengl: Implement HW fragment lighting LUTs within our default UBO. | bunnei | 1 | -1/+1 | |
2016-02-05 | renderer_opengl: Implement diffuse component of HW fragment lighting. | bunnei | 1 | -10/+11 | |
2016-02-05 | pica: Implement decoding of basic fragment lighting components. | bunnei | 1 | -10/+53 | |
- Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output | |||||
2016-02-05 | pica: Implement fragment lighting LUTs. | bunnei | 1 | -0/+19 | |
2016-02-05 | pica: Add decodings for distance attenuation and LUT registers. | bunnei | 1 | -1/+104 | |
2016-02-05 | pica: Add pica_types module and move float24 definition. | bunnei | 1 | -112/+2 | |
2015-10-22 | gl_rasterizer: Move logic for creating ShaderCacheKey to a static function. | bunnei | 1 | -4/+4 | |
2015-10-22 | Initial implementation of fragment shader generation with caching. | Subv | 1 | -0/+4 | |
2015-09-11 | video_core: Reorganize headers | Lioncash | 1 | -1/+1 | |
2015-09-03 | OpenGL: Remove ugly and endian-unsafe color pointer casts | Yuri Kunde Schlesner | 1 | -0/+4 | |
2015-08-31 | Pica: Added the primitive_restart register (0x25f) to the registers map. | Subv | 1 | -1/+4 | |
2015-08-31 | Pica: Add the vertex_offset register to the Pica registers map. | Subv | 1 | -0/+1 | |
2015-08-30 | GPU: Implemented register 0x22A. | Subv | 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. | |||||
2015-08-24 | fixup! Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 1 | -4/+4 | |
2015-08-24 | Shaders: Fix multiplications between 0.0 and inf | Yuri Kunde Schlesner | 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) | |||||
2015-08-21 | SWRasterizer: Implemented stencil ops 6 and 7. | Subv | 1 | -6/+8 | |
IncrementWrap and DecrementWrap, verified with hwtests. | |||||
2015-08-21 | SWRasterizer: Implemented stencil action 1 (GL_ZERO). | Subv | 1 | -1/+1 | |
Verified with hwtests. | |||||
2015-08-20 | GPU/Rasterizer: Corrected the stencil implementation. | Subv | 1 | -5/+15 | |
Verified the behavior with hardware tests. | |||||
2015-08-16 | citra-qt: Improve shader debugger. | Tony Wasserka | 1 | -0/+11 | |
Now supports dumping the current shader and recognizes a larger number of output semantics. | |||||
2015-08-16 | videocore: Added RG8 texture support | Patrick Martin | 1 | -1/+2 | |
2015-08-15 | Shader: Define a common interface for running vertex shader programs. | bunnei | 1 | -1/+5 | |
2015-07-26 | Videocore: Don't reinitialize register name map on every query | Yuri Kunde Schlesner | 1 | -64/+1 | |
This greatly speeds up the command list debug widget. | |||||
2015-07-21 | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 1 | -0/+7 | |
2015-07-20 | Pica: Correct switched S/T texture wrapping registers | Yuri Kunde Schlesner | 1 | -2/+2 | |
This was found and hwtested by Lectem | |||||
2015-07-19 | Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride. | Subv | 1 | -0/+1 | |
Also added its name to the texture viewer widget | |||||
2015-07-19 | Video_Core: Finally fix pesky warning | zawata | 1 | -1/+1 | |
2015-07-15 | Pica/Shader: Add geometry shader definitions. | Tony Wasserka | 1 | -99/+113 | |
2015-07-14 | VideoCore: Implement the DOT3_RGB combiner | Lectem | 1 | -0/+1 | |
2015-07-13 | Pica: Implement stencil testing. | Tony Wasserka | 1 | -9/+34 | |
2015-07-09 | Added GL_CLAMP_TO_BORDER support | Lectem | 1 | -1/+7 | |
2015-06-28 | Common: Cleanup emu_window includes. | Emmanuel Gil Peyrot | 1 | -3/+3 | |
2015-06-14 | video_core: add extra braces around initializer | Yuri Kunde Schlesner | 1 | -3/+3 | |
Trivial change and fixes several warnings in the clang build. | |||||
2015-05-31 | Pica: Use zero for the SecondaryFragmentColor source. | bunnei | 1 | -0/+1 | |
- This is a workaround until we support fragment lighting. | |||||
2015-05-31 | Pica: Implement LogicOp function. | bunnei | 1 | -6/+21 | |
2015-05-31 | Pica: Implement command buffer execution registers. | bunnei | 1 | -12/+38 | |
2015-05-30 | Move video_core/math.h to common/vector_math.h | archshift | 1 | -2/+1 | |
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | |||||
2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 1 | -4/+4 | |
2015-05-23 | Pica: Create 'State' structure and move state memory there. | bunnei | 1 | -81/+105 | |
2015-05-23 | OpenGL renderer | tfarley | 1 | -10/+27 | |
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 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. | |||||
2015-05-14 | pica: Add the ULL specifier in IsDefaultAttribute | Lioncash | 1 | -1/+1 | |
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value. | |||||
2015-05-11 | Implement I4 texture format | archshift | 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. | |||||
2015-05-10 | rasterizer: Implemented combiner output scaling. | bunnei | 1 | -1/+12 | |
2015-05-10 | rasterizer: Fixed a depth testing bug. | bunnei | 1 | -3/+15 | |
2015-05-10 | rasterizer: Implement combiner buffer input. | bunnei | 1 | -3/+33 | |
2015-05-09 | Memory: Support more regions in the VAddr-PAddr translation functions | Yuri Kunde Schlesner | 1 | -11/+0 | |
Also adds better documentation and removes the one-off reimplementation of the function in pica.h. | |||||
2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -0/+3 | |
2015-05-07 | GPU: Implemented default vertex shader attributes. | Subv | 1 | -25/+42 | |
Fixes some games crashing. | |||||
2015-03-10 | GPU: Added the stencil test structure to the Pica Regs struct. | Subv | 1 | -9/+34 | |
2015-03-10 | GPU: Implemented more depth buffer formats. | Subv | 1 | -0/+7 | |
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others | |||||
2015-03-04 | GPU: Added RGB565/RGB8 framebuffer support and various cleanups. | bunnei | 1 | -3/+3 | |
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger. | |||||
2015-02-28 | Added RGBA5551 compatibility in the rasterizer | archshift | 1 | -0/+1 | |
This allows Virtual Console games to display properly. | |||||
2015-02-20 | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h | archshift | 1 | -11/+0 | |
2015-02-18 | Pica/BlendUnit: Implement separate color/alpha blend equations. | Tony Wasserka | 1 | -1/+1 | |
2015-02-18 | Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor. | Tony Wasserka | 1 | -0/+2 | |
Not really sure where the difference is, but some applications seem to use this 1:1 the same way... | |||||
2015-02-18 | Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. | Tony Wasserka | 1 | -0/+3 | |
2015-02-18 | Pica/TextureUnit: Implement mirrored repeating texture wrapping. | Tony Wasserka | 1 | -2/+3 | |
2015-02-18 | Pica: Fix a bug in the register definitions, relating to texture wrapping. | Tony Wasserka | 1 | -1/+1 | |
2015-02-18 | Pica/OutputMerger: Implement color format checking. | Tony Wasserka | 1 | -1/+1 | |
2015-02-18 | Pica/CommandProcessor: Properly implement shader load destination offset registers. | Tony Wasserka | 1 | -2/+6 | |
2015-02-10 | Add more blend equations from 3dbrew | Darius Goad | 1 | -1/+5 | |
2015-02-05 | Rasterizer: Implement the other color and alpha modifiers. | bunnei | 1 | -10/+20 | |
2015-01-31 | Pica: Implement blend factors. | bunnei | 1 | -6/+21 | |
2015-01-28 | Pica: Implement color/alpha channel enable. | bunnei | 1 | -0/+4 | |
2015-01-27 | Rasterizer: Implemented alpha testing. | bunnei | 1 | -3/+11 | |
2015-01-26 | GPU: Implement the remaining depth testing functions. | bunnei | 1 | -3/+8 | |
2015-01-13 | Pica/Rasterizer: Add ETC1 texture decompression support. | Tony Wasserka | 1 | -2/+2 | |
2014-12-31 | Pica/Rasterizer: Implement backface culling. | Tony Wasserka | 1 | -1/+15 | |
2014-12-31 | Pica/Rasterizer: Implement depth testing. | Tony Wasserka | 1 | -0/+1 | |
2014-12-31 | Pica: Add output merger definitions. | Tony Wasserka | 1 | -1/+56 | |
2014-12-31 | Pica/CommandProcessor: Add support for integer uniforms. | Tony Wasserka | 1 | -1/+9 | |
2014-12-29 | Rasterizer: Pre-divide vertex attributes by W | Yuri Kunde Schlesner | 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. | |||||
2014-12-21 | More warning cleanups | Chin | 1 | -5/+5 | |
2014-12-21 | License change | purpasmart96 | 1 | -1/+1 | |
2014-12-20 | Pica: Add support for boolean uniforms. | Tony Wasserka | 1 | -1/+7 | |
2014-12-20 | Pica/VertexShader: Add support for MOVA, CMP and IFC. | Tony Wasserka | 1 | -0/+8 | |
2014-12-20 | Add support for a ridiculous number of texture formats. | Tony Wasserka | 1 | -6/+16 | |
2014-12-20 | Pica: Unify ugly address translation hacks. | Tony Wasserka | 1 | -8/+17 | |
2014-12-20 | Pica: Further improve Tev emulation. | Tony Wasserka | 1 | -0/+1 | |
2014-12-20 | Pica: Implement texture wrapping. | Tony Wasserka | 1 | -1/+11 | |
2014-12-20 | Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats. | Tony Wasserka | 1 | -0/+2 | |
2014-12-20 | Pica: Initial support for multitexturing. | Tony Wasserka | 1 | -5/+35 | |
2014-12-12 | MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP. | bunnei | 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). | |||||
2014-12-10 | GSP: Trigger GPU interrupts at more accurate locations. | bunnei | 1 | -1/+9 | |
2014-12-09 | Pica: Re-enable command names on MSVC. | Tony Wasserka | 1 | -5/+0 | |
The affected code is no longer limited by compiler support on that platform. | |||||
2014-12-09 | More coding style fixes. | Tony Wasserka | 1 | -6/+12 | |
2014-12-09 | citra_qt: Add enhanced texture debugging widgets. | Tony Wasserka | 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. | |||||
2014-12-09 | Build fix for something which shouldn't have compiled successfully to begin with. | Tony Wasserka | 1 | -1/+1 | |
2014-10-08 | Fix warnings in video_core | Lioncash | 1 | -1/+1 | |
2014-09-14 | Core: Fix warnings in gpu.cpp | Lioncash | 1 | -1/+1 | |
2014-08-25 | Pica/Rasterizer: Add texturing support. | Tony Wasserka | 1 | -1/+4 | |
2014-08-25 | Pica/Rasterizer: Add initial implementation of texture combiners. | Tony Wasserka | 1 | -1/+104 | |
2014-08-25 | Pica: Add support for dumping textures. | Tony Wasserka | 1 | -1/+44 | |
2014-08-25 | Pica: Add debug utilities for dumping shaders. | Tony Wasserka | 1 | -1/+1 | |
2014-08-13 | float24: Remove private default constructor | archshift | 1 | -2/+0 | |
Fixes building with clang. | |||||
2014-08-12 | Pica: Add basic rasterizer. | Tony Wasserka | 1 | -1/+51 | |
2014-08-12 | Pica: Add triangle clipper. | Tony Wasserka | 1 | -2/+20 | |
2014-08-12 | Pica: Add primitive assembly stage. | Tony Wasserka | 1 | -1/+14 | |
2014-08-12 | Pica: Add vertex shader implementation. | Tony Wasserka | 1 | -5/+132 | |
2014-08-12 | Pica: Implement vertex loading. | Tony Wasserka | 1 | -7/+22 | |
2014-08-12 | Pica: Add register definition for vertex loading and rendering. | Tony Wasserka | 1 | -33/+128 | |
2014-08-12 | Pica: Add command processor. | Tony Wasserka | 1 | -0/+2 | |
2014-08-12 | Pica: Add float24 structure. | Tony Wasserka | 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. | |||||
2014-08-12 | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones. | Tony Wasserka | 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. | |||||
2014-08-12 | Remove the fancy RegisterSet class introduced in 4c2bff61e. | Tony Wasserka | 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. | |||||
2014-06-12 | Pica: Use some template magic to define register structures efficiently. | Tony Wasserka | 1 | -25/+102 | |
2014-06-12 | Further refine GPU command list debugging. | Tony Wasserka | 1 | -0/+16 | |
2014-06-12 | Refine command list debugging functionality and its qt interface. | Tony Wasserka | 1 | -0/+2 | |
2014-06-12 | video core: added PICA definitions file. | Tony Wasserka | 1 | -0/+35 | |