summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GPU: Implement sampling multiple textures in the generated glsl shaders.Subv2018-06-061-1/+0
| | | | | | 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.
* gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)bunnei2018-04-181-3/+2
| | | | | | * gl_shader_gen: Support vertical/horizontal viewport flipping. * fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
* GPU: Don't use explicit binding points when uploading the constbuffers to opengl.Subv2018-04-151-0/+11
| | | | The bindpoints will now be dynamically calculated based on the number of buffers used by the previous shader stage.
* shaders: Expose hints about used const buffers.bunnei2018-04-151-13/+28
|
* GPU: Upload the entirety of each constbuffer for each shader stage as SSBOs.Subv2018-04-151-4/+3
| | | | We're going to need the shader generator to give us a mapping of the actual used const buffers to properly bind them to the shader.
* shaders: Add NumTextureSamplers const, remove unused #pragma.bunnei2018-04-151-0/+3
|
* gl_shader_manager: Cleanup and consolidate uniform handling.bunnei2018-04-141-22/+9
|
* renderer_opengl: Add gl_shader_manager class.bunnei2018-04-141-0/+161