diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-16 08:16:39 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-30 06:11:36 +0200 |
commit | 26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28 (patch) | |
tree | b74634e5531b3a06b62189493f6adf1789c191e1 /src/video_core/shader/shader.cpp | |
parent | Merge pull request #2083 from yuriks/opengl-scissor-cached-rect (diff) | |
download | yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar.gz yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar.bz2 yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar.lz yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar.xz yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.tar.zst yuzu-26b68313b90d3aa47c9f6cfcc4c86cfc11d48a28.zip |
Diffstat (limited to '')
-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]; |