summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader_environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader_environment.h')
-rw-r--r--src/video_core/shader_environment.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h
index 37d712045..d26dbfaab 100644
--- a/src/video_core/shader_environment.h
+++ b/src/video_core/shader_environment.h
@@ -29,22 +29,6 @@ class Memorymanager;
namespace VideoCommon {
-struct TextureHandle {
- explicit TextureHandle(u32 data, bool via_header_index) {
- if (via_header_index) {
- image = data;
- sampler = data;
- } else {
- const Tegra::Texture::TextureHandle handle{data};
- image = handle.tic_id;
- sampler = via_header_index ? image : handle.tsc_id.Value();
- }
- }
-
- u32 image;
- u32 sampler;
-};
-
class GenericEnvironment : public Shader::Environment {
public:
explicit GenericEnvironment() = default;