Holds D3D12 related functions that didn't fit somewhere else.
More...
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "d3d/d3d_d3d12_helpers.hpp"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include <dxgi1_6.h>
#include <d3d12.h>
#include <wil/com.h>
#include <wil/result.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
|
XrResult | oxr_d3d12_get_requirements (struct oxr_logger *log, struct oxr_system *sys, XrGraphicsRequirementsD3D12KHR *graphicsRequirements) |
|
XrResult | oxr_d3d12_check_device (struct oxr_logger *log, struct oxr_system *sys, ID3D12Device *device) |
|
Holds D3D12 related functions that didn't fit somewhere else.
- Author
- Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com
◆ DEFAULT_CATCH
#define DEFAULT_CATCH |
( |
|
MSG | ) |
|
Value: catch (wil::ResultException const &e) \
{ \
return
oxr_error(log, XR_ERROR_RUNTIME_FAILURE, MSG
": %s", e.what()); \
} \
catch (std::exception const &e) \
{ \
return
oxr_error(log, XR_ERROR_RUNTIME_FAILURE, MSG
": %s", e.what()); \
} \
catch (...) \
{ \
return
oxr_error(log, XR_ERROR_RUNTIME_FAILURE, MSG); \
}
XrResult oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt,...)
Definition: oxr_logger.c:203