Prechádzať zdrojové kódy

Merge pull request #16756 from akioCL/remove_unused_xr_function

[OpenXR] Remove unused xr function and descriptor
Alex Peterson 2 rokov pred
rodič
commit
6fd913a0ff

+ 0 - 25
Gems/Atom/RHI/Vulkan/Code/Include/Atom/RHI.Reflect/Vulkan/XRVkDescriptors.h

@@ -63,31 +63,6 @@ namespace AZ::Vulkan
         } m_inputData;
         } m_inputData;
     };
     };
 
 
-    class XRSessionDescriptor final
-        : public RHI::XRSessionDescriptor
-    {
-        using Base = RHI::XRSessionDescriptor;
-
-    public:
-        AZ_CLASS_ALLOCATOR(XRSessionDescriptor, AZ::SystemAllocator);
-        AZ_RTTI(XRSessionDescriptor, "{2859EB21-D013-496B-B922-7C903BC377CF}", Base);
-
-        XRSessionDescriptor() = default;
-        ~XRSessionDescriptor() = default;
-
-        struct GraphicsBinding
-        {
-            uint32_t m_queueFamilyIndex = 0;
-            uint32_t m_queueIndex = 0;
-        };
-
-        // Provided by the RHI::Vulkan backend
-        struct
-        {
-            GraphicsBinding m_graphicsBinding;
-        } m_inputData;
-    };
-
     class XRSwapChainDescriptor final
     class XRSwapChainDescriptor final
         : public RHI::XRSwapChainDescriptor
         : public RHI::XRSwapChainDescriptor
     {
     {

+ 0 - 9
Gems/Atom/RPI/Code/Include/Atom/RPI.Public/XR/XRRenderingInterface.h

@@ -132,15 +132,6 @@ namespace AZ::RPI
 
 
         //! Return the X button state from the controller.
         //! Return the X button state from the controller.
         virtual float GetTriggerState(const AZ::u32 handIndex) const = 0;
         virtual float GetTriggerState(const AZ::u32 handIndex) const = 0;
-
-        //! Initialize a shading rate image attachment of a pass template with contents suitable for a foveated level.
-        //! Returns the image that was created and initialized.
-        //! If no foveated level is specified, the value will be retrieved from the settings registry.
-        virtual AZ::Data::Instance<AZ::RPI::AttachmentImage> InitPassFoveatedAttachment(
-            [[maybe_unused]] const PassTemplate& passTemplate, [[maybe_unused]] const RHI::XRFoveatedLevel* level = nullptr) const
-        {
-            return nullptr;
-        };
     };
     };
 
 
     //! This class contains the interface that will be used to register the XR system with RPI and RHI.
     //! This class contains the interface that will be used to register the XR system with RPI and RHI.