diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-05 12:58:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-05 12:58:39 -0400 |
| commit | 4533769f7f99abb8595fd0a78e714edbf9af2e57 (patch) | |
| tree | 18c7814ec81d70be275c2a79200bc909c793a097 /src/video_core/shader_cache.h | |
| parent | 00d9a9c44e201058a93c4fa11582c8a7119bdb40 (diff) | |
| parent | dfb7fc8293a528d6c8cc2abef7fac5a6a7bf2883 (diff) | |
Merge pull request #11212 from Kelebek1/shader_stuff
Fix various misc pipeline/shader things
Diffstat (limited to 'src/video_core/shader_cache.h')
| -rw-r--r-- | src/video_core/shader_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_cache.h b/src/video_core/shader_cache.h index de8e08002..a76896620 100644 --- a/src/video_core/shader_cache.h +++ b/src/video_core/shader_cache.h @@ -70,7 +70,7 @@ public: protected: struct GraphicsEnvironments { std::array<GraphicsEnvironment, NUM_PROGRAMS> envs; - std::array<Shader::Environment*, NUM_PROGRAMS> env_ptrs; + std::array<Shader::Environment*, NUM_PROGRAMS> env_ptrs{}; std::span<Shader::Environment* const> Span() const noexcept { return std::span(env_ptrs.begin(), std::ranges::find(env_ptrs, nullptr)); |
