summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_cache.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-20shader_cache: Only lock covered instructions.Markus Wick1-1/+2
2018-11-10gl_shader_decompiler: Guard out of bound geometry shader input readsReinUsesLisp1-6/+7
Geometry shaders follow a pattern that results in out of bound reads. This pattern is: - VSETP to predicate - Use that predicate to conditionally set a register a big number - Use the register to access geometry shaders At the time of writing this commit I don't know what's the intent of this number. Some drivers argue about these out of bound reads. To avoid this issue, input reads are guarded limiting reads to the highest posible vertex input of the current topology (e.g. points to 1 and triangles to 3).
2018-11-08rasterizer_cache: Remove reliance on the System singletonLioncash1-0/+4
Rather than have a transparent dependency, we can make it explicit in the interface. This also gets rid of the need to put the core include in a header.
2018-10-22Use standard UBO and fix/stylize the codeFernandoS271-10/+0
2018-10-22Cache uniform locations and restructure the implementationFernandoS271-3/+9
2018-10-22Remove SyncAlphaTest and clang formatFernandoS271-1/+0
2018-10-22Implemented Alpha TestingFernandoS271-0/+5
2018-10-16rasterizer_cache: Refactor to support in-order flushing.bunnei1-6/+4
2018-10-16rasterizer_cache: Reintroduce method for flushing.bunnei1-0/+3
2018-10-07gl_shader_decompiler: Implement geometry shadersReinUsesLisp1-2/+44
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-09-04gl_shader_cache: Use an u32 for the binding point cache.Markus Wick1-5/+5
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-31gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.bunnei1-4/+3
2018-08-31Report correct shader size.Markus Wick1-1/+1
Seems like this was an oversee in regards to 1fd979f50a9f4c21fa8cafba7268d959e3076924 It changed GLShader::ProgramCode to a std::vector, so sizeof is wrong.
2018-08-28renderer_opengl: Implement a new shader cache.bunnei1-0/+69