diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-06 15:39:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 15:39:51 +0800 |
| commit | e8d40559d50b952335f4899392944a9dca418b62 (patch) | |
| tree | 94cbbc1e616e12ecc6b9c167f630649b829368fe /src/video_core/renderer_opengl/gl_device.h | |
| parent | e112d0a52fc0660a5faded0f438c2cde325e608c (diff) | |
| parent | 7d904fef2e6ac9ce8a3df71e758a36d39b8f69e5 (diff) | |
Merge pull request #5288 from ReinUsesLisp/workaround-garbage
gl_texture_cache: Avoid format views on Intel and AMD
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h index 13e66846c..3e79d1e37 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -96,6 +96,10 @@ public: return has_precise_bug; } + bool HasBrokenTextureViewFormats() const { + return has_broken_texture_view_formats; + } + bool HasFastBufferSubData() const { return has_fast_buffer_sub_data; } @@ -137,6 +141,7 @@ private: bool has_variable_aoffi{}; bool has_component_indexing_bug{}; bool has_precise_bug{}; + bool has_broken_texture_view_formats{}; bool has_fast_buffer_sub_data{}; bool has_nv_viewport_array2{}; bool has_debugging_tool_attached{}; |
