diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-19 14:58:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 14:58:53 -0500 |
| commit | 475370c8f89002e3b508eb152b981a5b89049d68 (patch) | |
| tree | 79a145e24f2bf5ab5baca6824cae6cd525a8d170 /src/video_core/renderer_opengl/gl_device.h | |
| parent | 9ca3a4758a556c7da1312f8dee40819c7cfe606c (diff) | |
| parent | 9fc7ca1731862354ef70bfaf34d2c807a904a27b (diff) | |
Merge pull request #9556 from vonchenplus/draw_texture
video_core: Implement maxwell3d draw texture method
Diffstat (limited to 'src/video_core/renderer_opengl/gl_device.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_device.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.h index 2a72d84be..3ff8cad83 100644 --- a/src/video_core/renderer_opengl/gl_device.h +++ b/src/video_core/renderer_opengl/gl_device.h @@ -4,6 +4,8 @@ #pragma once #include <cstddef> +#include <string> + #include "common/common_types.h" #include "core/frontend/emu_window.h" #include "shader_recompiler/stage.h" @@ -146,6 +148,10 @@ public: return has_sparse_texture_2; } + bool HasDrawTexture() const { + return has_draw_texture; + } + bool IsWarpSizePotentiallyLargerThanGuest() const { return warp_size_potentially_larger_than_guest; } @@ -216,6 +222,7 @@ private: bool has_shader_int64{}; bool has_amd_shader_half_float{}; bool has_sparse_texture_2{}; + bool has_draw_texture{}; bool warp_size_potentially_larger_than_guest{}; bool need_fastmath_off{}; bool has_cbuf_ftou_bug{}; |
