summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar bunnei2016-02-13 21:10:05 -0500
committerGravatar bunnei2016-02-13 21:10:05 -0500
commit0d086616d1af239b8e41b246bea3c1ef85fc907f (patch)
tree0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/video_core/debug_utils
parentMerge pull request #1264 from bunnei/fragment-lighting-hw (diff)
parentBitField: Make trivially copyable and remove assignment operator (diff)
downloadyuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.gz
yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.tar.xz
yuzu-0d086616d1af239b8e41b246bea3c1ef85fc907f.zip
Merge pull request #1406 from MerryMage/bitfield2
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");