capi(d3d12): change the layout so that descriptor is first in libra_source_image_d3d12_t
This commit is contained in:
parent
33d95ac399
commit
c526b7043a
|
@ -23,10 +23,10 @@ use librashader::runtime::{FilterChainParameters, Size, Viewport};
|
||||||
/// Direct3D 12 parameters for the source image.
|
/// Direct3D 12 parameters for the source image.
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct libra_source_image_d3d12_t {
|
pub struct libra_source_image_d3d12_t {
|
||||||
/// The resource containing the image.
|
|
||||||
pub resource: ManuallyDrop<ID3D12Resource>,
|
|
||||||
/// A CPU descriptor handle to a shader resource view of the image.
|
/// A CPU descriptor handle to a shader resource view of the image.
|
||||||
pub descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
|
pub descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,
|
||||||
|
/// The resource containing the image.
|
||||||
|
pub resource: ManuallyDrop<ID3D12Resource>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Direct3D 12 parameters for the output image.
|
/// Direct3D 12 parameters for the output image.
|
||||||
|
|
Loading…
Reference in a new issue