29 lines
579 B
C++
29 lines
579 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include <Common/RHI/Stubs.h>
|
|
|
|
namespace UnitTest
|
|
{
|
|
namespace StubRHI
|
|
{
|
|
using namespace AZ;
|
|
|
|
PhysicalDevice::PhysicalDevice()
|
|
{
|
|
m_descriptor.m_type = RHI::PhysicalDeviceType::Fake;
|
|
m_descriptor.m_description = "UnitTest Fake Device";
|
|
}
|
|
|
|
RHI::PhysicalDeviceList PhysicalDevice::Enumerate()
|
|
{
|
|
return RHI::PhysicalDeviceList{ aznew PhysicalDevice };
|
|
}
|
|
|
|
}
|
|
}
|