mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
b0ca330e14
Each Maxwell shader stage can have an arbitrary number of textures, but we're limited to a certain number in OpenGL. We try to only use the minimum amount of host textures by not keeping a 1:1 relation between guest texture ids and host texture ids, ie, guest texture id 8 can be host texture id 0 if it's the only texture used in the guest shader program. This mapping will have to be passed to the shader decompiler so it can rewrite the texture accesses. |
||
---|---|---|
.. | ||
gl_rasterizer.cpp | ||
gl_rasterizer.h | ||
gl_rasterizer_cache.cpp | ||
gl_rasterizer_cache.h | ||
gl_resource_manager.h | ||
gl_shader_decompiler.cpp | ||
gl_shader_decompiler.h | ||
gl_shader_gen.cpp | ||
gl_shader_gen.h | ||
gl_shader_util.cpp | ||
gl_shader_util.h | ||
gl_state.cpp | ||
gl_state.h | ||
gl_stream_buffer.cpp | ||
gl_stream_buffer.h | ||
maxwell_to_gl.h | ||
renderer_opengl.cpp | ||
renderer_opengl.h |