You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshots stored from nightly Jenkins ASV "Test GPU Profile" only contain Vulkan versions, not DX12 versions (#496)
* Add suffix to screenshot file name
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
* Update screenshot scripts
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
* Remove duplicated function
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
* Change to add the env info to a folder instead of the file name
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
* Optimize code
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
Signed-off-by: jiaweig <51759646+jiaweig-amzn@users.noreply.github.com>
// Note this will pause the script until the capture is complete
1454
-
if (PrepareForScreenCapture(filePath))
1459
+
if (PrepareForScreenCapture(filePath, s_instance->m_envPath))
1455
1460
{
1456
1461
AZ_Assert(s_instance->m_frameCaptureId == AZ::Render::FrameCaptureRequests::s_InvalidFrameCaptureId, "Attempting to start a capture while one is in progress");
// Note this will pause the script until the capture is complete
1487
-
if (PrepareForScreenCapture(filePath))
1492
+
if (PrepareForScreenCapture(filePath, s_instance->m_envPath))
1488
1493
{
1489
1494
AZ_Assert(s_instance->m_frameCaptureId == AZ::Render::FrameCaptureRequests::s_InvalidFrameCaptureId, "Attempting to start a capture while one is in progress");
// Note this will pause the script until the capture is complete
1517
-
if (PrepareForScreenCapture(filePath))
1522
+
if (PrepareForScreenCapture(filePath, s_instance->m_envPath))
1518
1523
{
1519
1524
AZ_Assert(s_instance->m_frameCaptureId == AZ::Render::FrameCaptureRequests::s_InvalidFrameCaptureId, "Attempting to start a capture while one is in progress");
auto operation = [passHierarchy, slot, outputFilePath, readbackOption]()
1612
1617
{
1613
1618
// Note this will pause the script until the capture is complete
1614
-
if (PrepareForScreenCapture(outputFilePath))
1619
+
if (PrepareForScreenCapture(outputFilePath, s_instance->m_envPath))
1615
1620
{
1616
1621
AZ_Assert(s_instance->m_frameCaptureId == AZ::Render::FrameCaptureRequests::s_InvalidFrameCaptureId, "Attempting to start a capture while one is in progress");
if (screenshotTestInfo.m_officialBaselineScreenshotFilePath.empty())
1165
1174
{
1166
1175
ReportScriptError(AZStd::string::format("Screenshot check failed. Could not determine expected screenshot path for '%s'", screenshotTestInfo.m_screenshotFilePath.c_str()));
if (screenshotTestInfo.m_localBaselineScreenshotFilePath.empty())
1204
1212
{
1205
1213
ReportScriptWarning(AZStd::string::format("Screenshot check failed. Could not determine local baseline screenshot path for '%s'", screenshotTestInfo.m_screenshotFilePath.c_str()));
0 commit comments