yuzu-mainline/src/video_core
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
..
buffer_cache Merge pull request #4066 from ReinUsesLisp/shared-ptr-buf 2020-06-15 22:29:32 -03:00
engines Merge pull request #4049 from ReinUsesLisp/separate-samplers 2020-06-13 13:48:27 -04:00
macro video_core/macro_jit_x64: Remove initializer in member variable 2020-06-15 05:17:55 -03:00
renderer_opengl gl_device: Reserve at least 4 image bindings for fragment stage 2020-06-16 03:03:07 -04:00
renderer_vulkan Merge pull request #4066 from ReinUsesLisp/shared-ptr-buf 2020-06-15 22:29:32 -03:00
shader shader/texture: Join separate image and sampler pairs offline 2020-06-05 00:24:51 -03:00
texture_cache texture_cache: Port original code management for 2D vs 3D textures 2020-06-08 05:02:22 -03:00
textures Clang Format and Documentation. 2020-04-28 14:02:51 -04:00
CMakeLists.txt rasterizer_cache: Remove files and includes 2020-06-07 04:32:57 -03:00
dirty_flags.cpp
dirty_flags.h
dma_pusher.cpp DmaPusher: Remove dead code in step 2020-05-16 12:42:27 +10:00
dma_pusher.h DmaPusher: Remove dead code in step 2020-05-16 12:42:27 +10:00
fence_manager.h fixed_pipeline_state: explicitly use template keyword after 1f345ebe3a 2020-05-01 23:38:23 +00:00
gpu_asynch.cpp
gpu_asynch.h
gpu_synch.cpp
gpu_synch.h
gpu_thread.cpp Async GPU: Correct flushing behavior to be similar to old async GPU behavior. 2020-04-22 11:36:26 -04:00
gpu_thread.h
gpu.cpp Update src/video_core/gpu.cpp 2020-05-05 15:39:44 -04:00
gpu.h texture: Implement R8G8UI 2020-04-30 13:19:36 -04:00
guest_driver.cpp
guest_driver.h
memory_manager.cpp kernel: memory: Improve implementation of device shared memory. (#3707) 2020-04-23 11:37:12 -04:00
memory_manager.h
morton.cpp texture: Implement R8G8UI 2020-04-30 13:19:36 -04:00
morton.h
query_cache.h
rasterizer_accelerated.cpp
rasterizer_accelerated.h
rasterizer_interface.h {maxwell_3d,buffer_cache}: Implement memory barriers using 3D registers 2020-04-28 02:18:12 -03:00
renderer_base.cpp
renderer_base.h
sampler_cache.cpp
sampler_cache.h
shader_cache.h shader_cache: Implement a generic shader cache 2020-06-07 04:32:32 -03:00
surface.cpp texture: Implement R8G8UI 2020-04-30 13:19:36 -04:00
surface.h texture: Implement R8G8UI 2020-04-30 13:19:36 -04:00
video_core.cpp
video_core.h