Xiang Li 6 år sedan
förälder
incheckning
3faf581d0b
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      lib/DXIL/DxilSubobject.cpp

+ 3 - 0
lib/DXIL/DxilSubobject.cpp

@@ -76,6 +76,9 @@ void DxilSubobject::CopyUnionedContents(const DxilSubobject &other) {
     HitGroup.ClosestHit = other.HitGroup.ClosestHit;
     HitGroup.ClosestHit = other.HitGroup.ClosestHit;
     HitGroup.Intersection = other.HitGroup.Intersection;
     HitGroup.Intersection = other.HitGroup.Intersection;
     break;
     break;
+  default:
+    DXASSERT(0, "invalid kind");
+    break;
   }
   }
 }
 }