summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_device.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2023-01-05 05:28:48 +0100
committerFeng Chen <vonchenplus@gmail.com>2023-01-05 05:41:33 +0100
commit013b6891531b37e0f882b8b88d404feb63370617 (patch)
treecbfeebc7a015f15004028056c8932c000201e1fc /src/video_core/renderer_opengl/gl_device.h
parentvideo_core: Implement maxwell3d draw texture method (diff)
downloadyuzu-013b6891531b37e0f882b8b88d404feb63370617.tar
yuzu-013b6891531b37e0f882b8b88d404feb63370617.tar.gz
yuzu-013b6891531b37e0f882b8b88d404feb63370617.tar.bz2
yuzu-013b6891531b37e0f882b8b88d404feb63370617.tar.lz
yuzu-013b6891531b37e0f882b8b88d404feb63370617.tar.xz
yuzu-013b6891531b37e0f882b8b88d404feb63370617.tar.zst
yuzu-013b6891531b37e0f882b8b88d404feb63370617.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_device.h7
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{};