diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-10-20 08:15:50 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-10-20 08:34:32 +0200 |
commit | f21a189148c7c306885b26801e72fb84f867e88b (patch) | |
tree | d713f929ec31ddfbaf9d4649a594a24394c42c54 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #4785 from Morph1984/fs-hades (diff) | |
download | yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar.gz yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar.bz2 yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar.lz yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar.xz yuzu-f21a189148c7c306885b26801e72fb84f867e88b.tar.zst yuzu-f21a189148c7c306885b26801e72fb84f867e88b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index f451404b2..1d0f585fa 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -53,6 +53,13 @@ namespace OpenGL { struct ScreenInfo; struct DrawParameters; +struct BindlessSSBO { + GLuint64EXT address; + GLsizei length; + GLsizei padding; +}; +static_assert(sizeof(BindlessSSBO) * CHAR_BIT == 128); + class RasterizerOpenGL : public VideoCore::RasterizerAccelerated { public: explicit RasterizerOpenGL(Core::Frontend::EmuWindow& emu_window, Tegra::GPU& gpu, @@ -126,7 +133,7 @@ private: /// Configures a global memory buffer. void SetupGlobalMemory(u32 binding, const GlobalMemoryEntry& entry, GPUVAddr gpu_addr, - std::size_t size, GLuint64EXT* pointer); + size_t size, BindlessSSBO* ssbo); /// Configures the current textures to use for the draw command. void SetupDrawTextures(std::size_t stage_index, Shader* shader); |