Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-04-14 | gl_shader_decompiler: Use variable AOFFI on supported hardware | ReinUsesLisp | 1 | -17/+12 | |
2019-04-04 | video_core/renderer_opengl: Remove unnecessary includes | Lioncash | 1 | -3/+0 | |
Quite a few unused includes have built up over time, particularly on core/memory.h. Removing these includes means the source files including those files will no longer need to be rebuilt if they're changed, making compilation slightly faster in this scenario. | |||||
2019-02-07 | gl_shader_cache: Fixup GLSL unique identifiers | ReinUsesLisp | 1 | -1/+1 | |
2019-02-07 | gl_shader_disk_cache: Save GLSL and entries into the precompiled file | ReinUsesLisp | 1 | -2/+0 | |
2019-01-15 | video_core: Rename glsl_decompiler to gl_shader_decompiler | ReinUsesLisp | 1 | -1/+1 | |
2019-01-15 | video_core: Replace gl_shader_decompiler | ReinUsesLisp | 1 | -155/+3 | |
2018-12-09 | Implemented a shader unique identifier. | Fernando Sahmkow | 1 | -0/+3 | |
2018-11-29 | gl_rasterizer: Enable clip distances when set in register and in shader | ReinUsesLisp | 1 | -0/+1 | |
2018-11-20 | shader_cache: Only lock covered instructions. | Markus Wick | 1 | -0/+1 | |
2018-10-20 | gl_shader_decompiler: Move position varying declaration back to gl_shader_gen | ReinUsesLisp | 1 | -0/+2 | |
The intention of declaring them in gl_shader_decompiler was to be able to use blocks to implement geometry shaders. But that wasn't needed in the end and it caused issues when both vertex stages were being used, resulting in a redeclaration of "position". | |||||
2018-10-07 | gl_shader_decompiler: Implement geometry shaders | ReinUsesLisp | 1 | -0/+6 | |
2018-10-06 | Implemented Depth Compare and Shadow Samplers | FernandoS27 | 1 | -3/+11 | |
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -9/+9 | |
2018-09-08 | gl_shader_decompiler: Partially implement several non-2D texture types (Subv). | bunnei | 1 | -6/+44 | |
2018-09-04 | gl_shader_cache: Use an u32 for the binding point cache. | Markus Wick | 1 | -0/+8 | |
The std::string generation with its malloc and free requirement was a noticeable overhead. Also switch to an ordered_map to avoid the std::hash call. As those maps usually have a size of two elements, the lookup time shall not matter. | |||||
2018-08-28 | renderer_opengl: Implement a new shader cache. | bunnei | 1 | -71/+4 | |
2018-08-22 | gl_shader_gen: Make ShaderSetup's constructor explicit | Lioncash | 1 | -1/+1 | |
Prevents implicit conversions. | |||||
2018-08-22 | gl_shader_gen: Use a std::vector to represent program code instead of std::array | Lioncash | 1 | -10/+15 | |
While convenient as a std::array, it's also quite a large set of data as well (32KB). It being an array also means data cannot be std::moved. Any situation where the code is being set or relocated means that a full copy of that 32KB data must be done. If we use a std::vector we do need to allocate on the heap, however, it does allow us to std::move the data we have within the std::vector into another std::vector instance, eliminating the need to always copy the program data (as std::move in this case would just transfer the pointers and bare necessities over to the new vector instance). | |||||
2018-08-22 | renderer_opengl: Namespace OpenGL code | Lioncash | 1 | -6/+6 | |
Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. | |||||
2018-08-22 | Revert "Shader: Use the right sampler type in the TEX, TEXS and TLDS instructions." | bunnei | 1 | -44/+6 | |
- This reverts commit 3ef4b3d4b445960576f10d1ba6521580d03e3da8. - This commit had broken a lot of games. We really should do a full implementation of this in one change. | |||||
2018-08-19 | Shader: Use the right sampler type in the TEX, TEXS and TLDS instructions. | Subv | 1 | -6/+44 | |
Different sampler types have their parameters in different registers. | |||||
2018-07-13 | gl_shader_gen: Implement dual vertex shader mode. | bunnei | 1 | -3/+30 | |
- When VertexA shader stage is enabled, we combine with VertexB program to make a single Vertex Shader stage. | |||||
2018-06-07 | gl_shader_gen: Add uniform handling for indirect const buffer access. | bunnei | 1 | -3/+15 | |
2018-06-06 | GPU: Implement sampling multiple textures in the generated glsl shaders. | Subv | 1 | -0/+40 | |
All tested games that use a single texture show no regression. Only Texture2D textures are supported right now, each shader gets its own "tex_fs/vs/gs" sampler array to maintain independent textures between shader stages, the textures themselves are reused if possible. | |||||
2018-04-15 | GPU: Use the same buffer names in the generated GLSL and the buffer uploading code. | Subv | 1 | -1/+13 | |
2018-04-15 | shaders: Expose hints about used const buffers. | bunnei | 1 | -2/+36 | |
2018-04-14 | gl_shader_gen: Add hashable setup/config structs. | bunnei | 1 | -27/+48 | |
2018-03-20 | renderer_gl: Port over gl_shader_gen module from Citra. | bunnei | 1 | -0/+66 | |
2018-01-13 | Remove references to PICA and rasterizers in video_core | James Rowe | 1 | -162/+0 | |
2017-06-15 | gl_rasterizer/lighting: implement geometric factor | wwylele | 1 | -0/+2 | |
2017-05-30 | gl_rasterizer: sync spot light status | wwylele | 1 | -1/+2 | |
2017-05-20 | gl_rasterizer: implement procedural texture | wwylele | 1 | -0/+13 | |
2017-05-03 | pica: use correct coordinates for texture 2 | wwylele | 1 | -0/+1 | |
2017-04-17 | OpenGL: Pass Pica regs via parameter | Yuri Kunde Schlesner | 1 | -3/+3 | |
2017-04-17 | OpenGL: Move PicaShaderConfig to gl_shader_gen.h | Yuri Kunde Schlesner | 1 | -2/+109 | |
Also move the implementation of CurrentConfig to the cpp file. | |||||
2017-04-17 | OpenGL: Move Attributes enum to a more appropriate file | Yuri Kunde Schlesner | 1 | -0/+11 | |
2016-05-03 | Pica: Use a union for PicaShaderConfig | Jannik Vogel | 1 | -1/+1 | |
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-10-22 | gl_rasterizer: Use MMH3 hash for shader cache hey. | bunnei | 1 | -1/+1 | |
- Includes a check to confirm no hash collisions. | |||||
2015-10-22 | gl_shader_gen: Add additional function documentation. | bunnei | 1 | -0/+10 | |
2015-10-22 | renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups. | bunnei | 1 | -0/+17 | |