summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/debug_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/debug_data.h')
-rw-r--r--src/video_core/shader/debug_data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/shader/debug_data.h b/src/video_core/shader/debug_data.h
index b0ccf437d..9e82122e1 100644
--- a/src/video_core/shader/debug_data.h
+++ b/src/video_core/shader/debug_data.h
@@ -19,8 +19,8 @@ struct DebugData;
template <>
struct DebugData<false> {
// TODO: Hide these behind and interface and move them to DebugData<true>
- u32 max_offset; ///< maximum program counter ever reached
- u32 max_opdesc_id; ///< maximum swizzle pattern index ever used
+ u32 max_offset = 0; ///< maximum program counter ever reached
+ u32 max_opdesc_id = 0; ///< maximum swizzle pattern index ever used
};
template <>
@@ -75,8 +75,8 @@ struct DebugData<true> {
unsigned mask = 0;
};
- u32 max_offset; ///< maximum program counter ever reached
- u32 max_opdesc_id; ///< maximum swizzle pattern index ever used
+ u32 max_offset = 0; ///< maximum program counter ever reached
+ u32 max_opdesc_id = 0; ///< maximum swizzle pattern index ever used
/// List of records for each executed shader instruction
std::vector<DebugData<true>::Record> records;