[GPU] Misc GCC build fixes

This commit is contained in:
Joel Linn
2021-05-05 17:02:45 +02:00
committed by Rick Gibbed
parent 5284075cf9
commit 6dfa36d1b8
5 changed files with 4 additions and 51 deletions

View File

@@ -973,7 +973,7 @@ struct Src : OperandAddress {
// For creating instances for use in declarations.
struct DclT {};
static constexpr DclT Dcl;
static constexpr DclT Dcl = {};
static Src R(uint32_t index, uint32_t swizzle = kXYZW) {
return Src(OperandType::kTemp, swizzle, index);