diff options
| author | bunnei <bunneidev@gmail.com> | 2016-10-06 19:35:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-06 19:35:37 -0400 |
| commit | d989102c9cdbeea77445d4f00297157b6d3b6f50 (patch) | |
| tree | 4226184e2a89f9854f1c4133c5b1e02e05f99294 /src/video_core/shader/shader.cpp | |
| parent | 09c3e444d42856ca0978153dcabcb5c3884877b9 (diff) | |
| parent | d9a904f9cbce6fb37968aad0a82a944ee8b4d2e1 (diff) | |
Merge pull request #2082 from yuriks/shader-interp-crash
Fix/mask crash in shader debugger in Mii Maker
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -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_ state.debug.max_opdesc_id = 0; // Setup input register table + boost::fill(state.registers.input, Math::Vec4<float24>::AssignToAll(float24::Zero())); const auto& attribute_register_map = config.input_register_map; - float24 dummy_register; - boost::fill(state.registers.input, &dummy_register); - for (unsigned i = 0; i < num_attributes; i++) state.registers.input[attribute_register_map.GetRegisterForAttribute(i)] = input.attr[i]; |
