summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-27 07:37:15 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:38:33 +0200
commit1bf4154e7d0589dab6922321bf39cf80f22c07d0 (patch)
treefd7a2fa46e99d3126f66bdd1a8b6aa232a65d800 /src/video_core/renderer_opengl/gl_shader_decompiler.h
parentshader: Implement bindless images (diff)
downloadyuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar.gz
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar.bz2
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar.lz
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar.xz
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.tar.zst
yuzu-1bf4154e7d0589dab6922321bf39cf80f22c07d0.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.h b/src/video_core/renderer_opengl/gl_shader_decompiler.h
index c1569e737..14d11c7fc 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.h
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.h
@@ -27,6 +27,7 @@ struct ShaderEntries;
using Maxwell = Tegra::Engines::Maxwell3D::Regs;
using ProgramResult = std::pair<std::string, ShaderEntries>;
using SamplerEntry = VideoCommon::Shader::Sampler;
+using ImageEntry = VideoCommon::Shader::Image;
class ConstBufferEntry : public VideoCommon::Shader::ConstBuffer {
public:
@@ -74,6 +75,7 @@ struct ShaderEntries {
std::vector<ConstBufferEntry> const_buffers;
std::vector<SamplerEntry> samplers;
std::vector<SamplerEntry> bindless_samplers;
+ std::vector<ImageEntry> images;
std::vector<GlobalMemoryEntry> global_memory_entries;
std::array<bool, Maxwell::NumClipDistances> clip_distances{};
std::size_t shader_length{};