diff options
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate_program.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate_program.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.cpp b/src/shader_recompiler/frontend/maxwell/translate_program.cpp index 5250509c1..ed8729fca 100644 --- a/src/shader_recompiler/frontend/maxwell/translate_program.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate_program.cpp | |||
| @@ -192,7 +192,9 @@ IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b | |||
| 192 | result.local_memory_size = std::max(vertex_a.local_memory_size, vertex_b.local_memory_size); | 192 | result.local_memory_size = std::max(vertex_a.local_memory_size, vertex_b.local_memory_size); |
| 193 | for (size_t index = 0; index < 32; ++index) { | 193 | for (size_t index = 0; index < 32; ++index) { |
| 194 | result.info.input_generics[index].used |= vertex_b.info.input_generics[index].used; | 194 | result.info.input_generics[index].used |= vertex_b.info.input_generics[index].used; |
| 195 | result.info.stores_generics[index] |= vertex_b.info.stores_generics[index]; | 195 | if (vertex_b.info.stores_generics[index]) { |
| 196 | result.info.stores_generics[index] = true; | ||
| 197 | } | ||
| 196 | } | 198 | } |
| 197 | Optimization::JoinTextureInfo(result.info, vertex_b.info); | 199 | Optimization::JoinTextureInfo(result.info, vertex_b.info); |
| 198 | Optimization::JoinStorageInfo(result.info, vertex_b.info); | 200 | Optimization::JoinStorageInfo(result.info, vertex_b.info); |