mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 09:17:52 -05:00
Fix shader dumps with nvdisasm
skip fragment shaders when rasterizer is disabled initialize env_ptrs
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user