yuzu/src/video_core/renderer_opengl
Morph e2f5d16540 gl_device: Reserve at least 4 image bindings for fragment stage
Due to the limitation of GL_MAX_IMAGE_UNITS being low (8) on Intel's and Nvidia's proprietary drivers, we have to reserve an appropriate amount of image bindings for each of the stages. So far games have been observed to use 4 image bindings on the fragment stage (Kirby Star Allies) and 1 on the vertex stage (TWD series).
No games thus far in my limited testing used more than 4 images concurrently and across all currently active programs.
This fixes shader compilation errors on Kirby Star Allies on OpenGL (GLSL/GLASM)
2020-06-16 03:03:07 -04:00
..
gl_buffer_cache.cpp buffer_cache: Avoid passing references of shared pointers and misc style changes 2020-06-09 18:30:49 -03:00
gl_buffer_cache.h Merge pull request #4066 from ReinUsesLisp/shared-ptr-buf 2020-06-15 22:29:32 -03:00
gl_device.cpp gl_device: Reserve at least 4 image bindings for fragment stage 2020-06-16 03:03:07 -04:00
gl_device.h glsl: Squash constant buffers into a single SSBO when we hit the limit 2020-05-31 21:33:49 -03:00
gl_fence_manager.cpp buffer_cache: Use boost::intrusive::set for caching 2020-05-21 16:44:00 -03:00
gl_fence_manager.h Address Feedback. 2020-04-22 11:36:24 -04:00
gl_framebuffer_cache.cpp gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_framebuffer_cache.h gl_state: Remove completely 2020-02-28 17:56:35 -03:00
gl_query_cache.cpp gl_query_cache: Resolve use-after-move in CachedQuery move assignment operator 2020-04-15 22:20:06 -04:00
gl_query_cache.h query_cache: Address feedback 2020-02-14 17:38:27 -03:00
gl_rasterizer.cpp Merge pull request #4064 from ReinUsesLisp/invalidate-buffers 2020-06-14 00:29:16 -04:00
gl_rasterizer.h Merge pull request #3986 from ReinUsesLisp/shader-cache 2020-06-12 23:14:48 -04:00
gl_resource_manager.cpp renderer_opengl: Add assembly program code paths 2020-05-19 18:00:04 -03:00
gl_resource_manager.h renderer_opengl: Add assembly program code paths 2020-05-19 18:00:04 -03:00
gl_sampler_cache.cpp Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. 2020-02-27 21:34:00 -05:00
gl_sampler_cache.h video_core: Add missing override specifiers 2019-07-07 13:38:39 -04:00
gl_shader_cache.cpp vk_pipeline_cache: Use generic shader cache 2020-06-07 04:32:57 -03:00
gl_shader_cache.h gl_shader_cache: Use generic shader cache 2020-06-07 04:32:57 -03:00
gl_shader_decompiler.cpp Merge pull request #4031 from Morph1984/fix-gs-outputs 2020-06-04 15:18:51 -04:00
gl_shader_decompiler.h glsl: Squash constant buffers into a single SSBO when we hit the limit 2020-05-31 21:33:49 -03:00
gl_shader_disk_cache.cpp shader/texture: Join separate image and sampler pairs offline 2020-06-05 00:24:51 -03:00
gl_shader_disk_cache.h shader/texture: Join separate image and sampler pairs offline 2020-06-05 00:24:51 -03:00
gl_shader_manager.cpp gl_shader_manager: Unbind GLSL program when binding a host pipeline 2020-05-26 04:20:39 -03:00
gl_shader_manager.h renderer_opengl: Add assembly program code paths 2020-05-19 18:00:04 -03:00
gl_shader_util.cpp gl_shader_cache: Address review commentaries 2019-07-15 17:38:25 -03:00
gl_shader_util.h gl_shader_util: Add parameter to handle retrievable programs 2019-02-06 22:20:57 -03:00
gl_state_tracker.cpp gl_rasterizer: Implement line widths and smooth lines 2020-04-13 01:30:34 -03:00
gl_state_tracker.h gl_rasterizer: Implement line widths and smooth lines 2020-04-13 01:30:34 -03:00
gl_stream_buffer.cpp buffer_cache: Avoid passing references of shared pointers and misc style changes 2020-06-09 18:30:49 -03:00
gl_stream_buffer.h buffer_cache: Avoid passing references of shared pointers and misc style changes 2020-06-09 18:30:49 -03:00
gl_texture_cache.cpp texture_cache: Handle 3D texture blits with one layer 2020-06-08 05:01:00 -03:00
gl_texture_cache.h texture_cache: Implement rendering to 3D textures 2020-06-08 05:01:00 -03:00
maxwell_to_gl.h gl_rasterizer: Implement viewport swizzles with NV_viewport_swizzle 2020-05-04 17:51:30 -03:00
renderer_opengl.cpp renderer_opengl: Only enable DEBUG_OUTPUT when graphics debugging is enabled 2020-06-05 21:21:12 -03:00
renderer_opengl.h renderer_opengl: Add assembly program code paths 2020-05-19 18:00:04 -03:00
utils.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
utils.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00