summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar MerryMage2016-02-11 17:41:15 +0000
committerGravatar MerryMage2016-02-12 19:51:16 +0000
commit6c71858c5c698a718045ba44eda495080417a84b (patch)
tree0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/video_core/debug_utils
parentMerge pull request #1264 from bunnei/fragment-lighting-hw (diff)
downloadyuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.gz
yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.xz
yuzu-6c71858c5c698a718045ba44eda495080417a84b.zip
BitField: Make trivially copyable and remove assignment operator
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 4f66dbd65..6e6fd7335 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -201,11 +201,11 @@ void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, c
201 201
202 if (it == output_info_table.end()) { 202 if (it == output_info_table.end()) {
203 output_info_table.emplace_back(); 203 output_info_table.emplace_back();
204 output_info_table.back().type = type; 204 output_info_table.back().type.Assign(type);
205 output_info_table.back().component_mask = component_mask; 205 output_info_table.back().component_mask.Assign(component_mask);
206 output_info_table.back().id = i; 206 output_info_table.back().id.Assign(i);
207 } else { 207 } else {
208 it->component_mask = it->component_mask | component_mask; 208 it->component_mask.Assign(it->component_mask | component_mask);
209 } 209 }
210 } catch (const std::out_of_range& ) { 210 } catch (const std::out_of_range& ) {
211 DEBUG_ASSERT_MSG(false, "Unknown output attribute mapping"); 211 DEBUG_ASSERT_MSG(false, "Unknown output attribute mapping");