diff options
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 6fa1b7ec4..35265b4a2 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -142,12 +142,16 @@ private: const Shader& shader, BaseBindings base_bindings); /// Configures a texture. Returns true when the texture is a texture buffer. - bool SetupTexture(const Shader& shader, u32 binding, - const Tegra::Texture::FullTextureInfo& texture, + bool SetupTexture(u32 binding, const Tegra::Texture::FullTextureInfo& texture, const GLShader::SamplerEntry& entry); + /// Configures images in a compute shader. void SetupComputeImages(const Shader& shader); + /// Configures an image. + void SetupImage(u32 binding, const Tegra::Texture::TICEntry& tic, + const GLShader::ImageEntry& entry); + /// Syncs the viewport and depth range to match the guest state void SyncViewport(OpenGLState& current_state); |