diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-18 19:59:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-18 19:59:10 -0800 |
| commit | 6dc33fb812a668487c0652673977a63ada2632ee (patch) | |
| tree | d658210e06996f9b157b552d78f9b542d202d357 /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | 5e6ad795cc914d4c3f8bb016b122bdc6713f477a (diff) | |
| parent | 4d1a0a24cc753d6655b07b74f3f0f098a4d588d1 (diff) | |
Merge pull request #1693 from Tinob/master
Missing ogl states
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 8ef0f6c12..6e78ab4cd 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -88,7 +88,7 @@ private: /// SamplerInfo struct. void Create(); /// Syncs the sampler object with the config, updating any necessary state. - void SyncWithConfig(const Tegra::Texture::FullTextureInfo& info); + void SyncWithConfig(const Tegra::Texture::TSCEntry& info); private: Tegra::Texture::TextureFilter mag_filter; @@ -100,6 +100,10 @@ private: bool uses_depth_compare; Tegra::Texture::DepthCompareFunc depth_compare_func; GLvec4 border_color; + float min_lod; + float max_lod; + float lod_bias; + float max_anisotropic; }; /** @@ -160,6 +164,12 @@ private: /// Syncs the LogicOp state to match the guest state void SyncLogicOpState(); + /// Syncs the the color clamp state + void SyncFragmentColorClampState(); + + /// Syncs the alpha coverage and alpha to one + void SyncMultiSampleState(); + /// Syncs the scissor test state to match the guest state void SyncScissorTest(); |
