DawnTest: Move the position of [selected] to be easier to spot.
The [selected] was on the second line of an adpater description in the output of DawnTest which made it a bit difficult to find. Move it at the end of the first line which is the adapter name. Bug: None Change-Id: I686b40588b03aac827c347510525f6c969b7180b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116860 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
7092786f31
commit
edca14171e
|
@ -477,14 +477,12 @@ void DawnTestEnvironment::PrintTestConfigurationAndAdapterInfo(
|
|||
<< properties.deviceID;
|
||||
|
||||
// Preparing for outputting hex numbers
|
||||
log << std::showbase << std::hex << std::setfill('0') << std::setw(4)
|
||||
|
||||
<< " - \"" << properties.adapterName << "\" - \"" << properties.driverDescription
|
||||
<< "\"\n"
|
||||
log << std::showbase << std::hex << std::setfill('0') << std::setw(4) << " - \""
|
||||
<< properties.adapterName << "\" - \"" << properties.driverDescription
|
||||
<< (properties.selected ? " [Selected]" : "") << "\"\n"
|
||||
<< " type: " << properties.AdapterTypeName()
|
||||
<< ", backend: " << properties.ParamName() << "\n"
|
||||
<< " vendorId: 0x" << vendorId.str() << ", deviceId: 0x" << deviceId.str()
|
||||
<< (properties.selected ? " [Selected]" : "") << "\n";
|
||||
<< " vendorId: 0x" << vendorId.str() << ", deviceId: 0x" << deviceId.str() << "\n";
|
||||
|
||||
if (strlen(properties.vendorName) || strlen(properties.architecture)) {
|
||||
log << " vendorName: " << properties.vendorName
|
||||
|
|
Loading…
Reference in New Issue