You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add support for Direct3D 12 OpenXR backend.
This change adds support for running XR projects built with the `d3d12` rendering backend. The XR backend hooks into the setup for the D3D12 render context in order to use the desired device and command queue for submission to OpenXR. The XR backend takes care of importing the D3D12 swapchain images into the render context. As part of this process, three issues are addressed: - Ensuring that resource state transitions are only done on textures that require them. - Enabling view instancing in the PSOs for multiview render passes. - Addressing a bug in the D3D12 runtime where PSO creation may fail when front face detection is used. Please refer to #86283 for additional discussions on the implementation details.
This commit is contained in:
@@ -435,7 +435,7 @@ String ShaderRD::_version_get_sha1(Version *p_version) const {
|
||||
}
|
||||
|
||||
static const char *shader_file_header = "GDSC";
|
||||
static const uint32_t cache_file_version = 3;
|
||||
static const uint32_t cache_file_version = 4;
|
||||
|
||||
String ShaderRD::_get_cache_file_path(Version *p_version, int p_group) {
|
||||
const String &sha1 = _version_get_sha1(p_version);
|
||||
|
||||
Reference in New Issue
Block a user