message: Truncate long strings in DXIL disassembly
diff: @@ -1559,9 +1559,20 @@ rdcstr Metadata::valString() const
  else if(isConstant)
  {
  if(type == NULL)
  + {
  + // truncate very long strings - most likely these are shader source
  + if(str.length() > 400)
  + {
  + rdcstr trunc = str;
  + trunc.erase(200, str.length() - 400);
  + trunc.insert(200, "...");
  + return StringFormat::Fmt("!%s", escapeString(trunc).c_str());
  + }
  + else
  {
  return StringFormat::Fmt("!%s", escapeString(str).c_str());
  }
  + }
  else
  {
  if(constant)
  