Commit 635de036 by Sean Risser

Replace WARN with a LOG_TRAP

A WARN was mistakenly used when logging the unsupported extension structs in getPhysicalDeviceFeatures2. Bug: b/169966461 Change-Id: I9923c46ae83e6eb4ba70b76d401221fcf45c5734 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/48989 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarSean Risser <srisser@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 816c626b
...@@ -312,7 +312,7 @@ void PhysicalDevice::getFeatures2(VkPhysicalDeviceFeatures2 *features) const ...@@ -312,7 +312,7 @@ void PhysicalDevice::getFeatures2(VkPhysicalDeviceFeatures2 *features) const
getPhysicalDeviceImagelessFramebufferFeatures(reinterpret_cast<VkPhysicalDeviceImagelessFramebufferFeatures *>(curExtension)); getPhysicalDeviceImagelessFramebufferFeatures(reinterpret_cast<VkPhysicalDeviceImagelessFramebufferFeatures *>(curExtension));
break; break;
default: default:
WARN("curExtension->pNext->sType = %s", vk::Stringify(curExtension->sType).c_str()); LOG_TRAP("curExtension->pNext->sType = %s", vk::Stringify(curExtension->sType).c_str());
break; break;
} }
curExtension = reinterpret_cast<VkBaseOutStructure *>(curExtension->pNext); curExtension = reinterpret_cast<VkBaseOutStructure *>(curExtension->pNext);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment