There was an error fetching the commit references. Please try again later.
gl_shader_manager: Remove reliance on global accessor within MaxwellUniformData::SetFromRegs()
We can just pass in the Maxwell3D instance instead of going through the system class to get at it. This also lets us simplify the interface a little bit. Since we pass in the Maxwell3D context now, we only really need to pass the shader stage index value in.
Showing
- src/video_core/renderer_opengl/gl_rasterizer.cpp 1 addition, 1 deletionsrc/video_core/renderer_opengl/gl_rasterizer.cpp
- src/video_core/renderer_opengl/gl_shader_manager.cpp 6 additions, 7 deletionssrc/video_core/renderer_opengl/gl_shader_manager.cpp
- src/video_core/renderer_opengl/gl_shader_manager.h 2 additions, 1 deletionsrc/video_core/renderer_opengl/gl_shader_manager.h
Loading
Please register or sign in to comment