mirror of
https://github.com/thejerf/baijiSteamVR.git
synced 2026-10-27 07:02:57 +01:00
Add OpenXR support and related VR changes
This commit is contained in:
1 parent
b55aaa8ca7
commit
a2dad38be5
3121 files changed
+582713
-217
No files matched your search
@@ -24,6 +24,7 @@
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/DataReader.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/OpenXROpcodeReplay.h"
|
||||
#include "VideoCommon/Statistics.h"
|
||||
#include "VideoCommon/VertexLoaderBase.h"
|
||||
#include "VideoCommon/VertexLoaderManager.h"
|
||||
@@ -227,6 +228,8 @@ public:
|
||||
OPCODE_CALLBACK(void OnCommand(const u8* data, u32 size))
|
||||
{
|
||||
ASSERT(size >= 1);
|
||||
if (!m_in_display_list && VideoCommon::OpenXROpcodeReplay::IsReplayLogFrameActive())
|
||||
VideoCommon::OpenXROpcodeReplay::CaptureCommand(is_preprocess, data, size);
|
||||
if constexpr (!is_preprocess)
|
||||
{
|
||||
// Display lists get added directly into the FIFO stream since this same callback is used to
|
||||
|
||||
Reference in new issue
Block a user