diff options
| -rw-r--r-- | src/video_core/shader/shader.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index 272f3ffe1..3febe739c 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp | |||
| @@ -146,10 +146,8 @@ DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_ | |||
| 146 | state.debug.max_opdesc_id = 0; | 146 | state.debug.max_opdesc_id = 0; |
| 147 | 147 | ||
| 148 | // Setup input register table | 148 | // Setup input register table |
| 149 | boost::fill(state.registers.input, Math::Vec4<float24>::AssignToAll(float24::Zero())); | ||
| 149 | const auto& attribute_register_map = config.input_register_map; | 150 | const auto& attribute_register_map = config.input_register_map; |
| 150 | float24 dummy_register; | ||
| 151 | boost::fill(state.registers.input, &dummy_register); | ||
| 152 | |||
| 153 | for (unsigned i = 0; i < num_attributes; i++) | 151 | for (unsigned i = 0; i < num_attributes; i++) |
| 154 | state.registers.input[attribute_register_map.GetRegisterForAttribute(i)] = input.attr[i]; | 152 | state.registers.input[attribute_register_map.GetRegisterForAttribute(i)] = input.attr[i]; |
| 155 | 153 | ||