aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader_environment.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-23 04:28:34 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:30 -0400
commitd621e96d0de212cc16897eadf71e8a1b2e1eb5dc (patch)
tree8695f2f4dddf2564b63e4574d6616ccb0e79568c /src/video_core/shader_environment.h
parent850b08a16cecf260e7c8e07b81b5e0078622974d (diff)
shader: Initial OpenGL implementation
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 37d7120459..d26dbfaab6 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;