diff --git a/.metadata/emitter.settings.rsp b/.metadata/emitter.settings.rsp index b335175..865b02f 100644 --- a/.metadata/emitter.settings.rsp +++ b/.metadata/emitter.settings.rsp @@ -1,2 +1,6 @@ --memberRemap ^ID[2|3]D\w+$=[Agile] +--with-type +D3D12_BARRIER_SYNC=uint +--with-type +D3D12_BARRIER_ACCESS=uint diff --git a/include/directx/d3d12.idl b/include/directx/d3d12.idl index acf6d0c..3c2624e 100644 --- a/include/directx/d3d12.idl +++ b/include/directx/d3d12.idl @@ -5432,9 +5432,7 @@ typedef enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_VIDEO_ENCODE = 0x400000, D3D12_BARRIER_SYNC_BUILD_RAYTRACING_ACCELERATION_STRUCTURE = 0x800000, D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE = 0x1000000, - // error CS0031: Constant value '-2147483648' cannot be converted to a 'uint' - // D3D12_BARRIER_SYNC_SPLIT = unchecked((int)(0x80000000)), - // D3D12_BARRIER_SYNC_SPLIT = 0x80000000, + D3D12_BARRIER_SYNC_SPLIT = 0x80000000, } D3D12_BARRIER_SYNC; cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC );" ) @@ -5465,7 +5463,7 @@ typedef enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_VIDEO_PROCESS_WRITE = 0x100000, D3D12_BARRIER_ACCESS_VIDEO_ENCODE_READ = 0x200000, D3D12_BARRIER_ACCESS_VIDEO_ENCODE_WRITE = 0x400000, - // D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000, + D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000, } D3D12_BARRIER_ACCESS; cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS );" )