mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
Go back to using COMMON as fallback state
RENDER_TARGET requires a bit to be set, but COMMON doesn't (this also matches hardcoded before states elsewhere) Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2349>
This commit is contained in:
parent
7a4ba078d9
commit
ce3a05851d
|
@ -97,7 +97,7 @@ d3d_convert_usage_bits_to_d3d12_app_resource_state(enum xrt_swapchain_usage_bits
|
|||
state = D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE;
|
||||
} else {
|
||||
//! @todo unspecified fallback
|
||||
state = D3D12_RESOURCE_STATE_RENDER_TARGET;
|
||||
state = D3D12_RESOURCE_STATE_COMMON;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue