diff --git a/GigiCompilerLib/Backends/DX12/nodes/node_resource_texture.inl b/GigiCompilerLib/Backends/DX12/nodes/node_resource_texture.inl index aba04f1d..3744b304 100644 --- a/GigiCompilerLib/Backends/DX12/nodes/node_resource_texture.inl +++ b/GigiCompilerLib/Backends/DX12/nodes/node_resource_texture.inl @@ -3,6 +3,14 @@ // Copyright (c) 2024 Electronic Arts Inc. All rights reserved. // /////////////////////////////////////////////////////////////////////////////// +static std::string SanitizeFilenameForCpp(const std::string& fileName) +{ + std::string ret = fileName; + StringReplaceAll(ret, "\\\\", "\\"); // This is a bit ugly, but trying to prevent double escaping + StringReplaceAll(ret, "\\", "\\\\"); + return ret; +} + static void MakeStringReplacementForNode(std::unordered_map& stringReplacementMap, RenderGraph& renderGraph, const RenderGraphNode_Resource_Texture& node) { if (!ResourceNodeIsUsed(node)) @@ -139,15 +147,15 @@ static void MakeStringReplacementForNode(std::unordered_map inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& MipSlice, _Out_ U& ArraySlice, _Out_ V& PlaneSlice ) noexcept diff --git a/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/include/d3dx12/d3dx12_state_object.h b/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/include/d3dx12/d3dx12_state_object.h index f74d2577..8f3456b6 100644 --- a/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/include/d3dx12/d3dx12_state_object.h +++ b/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/include/d3dx12/d3dx12_state_object.h @@ -11,8 +11,8 @@ #error D3DX12 requires C++ #endif -#include "d3d12.h" #include "d3dx12_default.h" +#include "d3d12.h" #include "d3dx12_core.h" //================================================================================================ @@ -2151,3 +2151,4 @@ class CD3DX12_WORK_GRAPH_SUBOBJECT #undef D3DX12_COM_PTR #undef D3DX12_COM_PTR_GET #undef D3DX12_COM_PTR_ADDRESSOF + diff --git a/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/version.txt b/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/version.txt new file mode 100644 index 00000000..9eb39bf7 --- /dev/null +++ b/GigiCompilerLib/Backends/DX12/templates/Module/AgilitySDK/version.txt @@ -0,0 +1,4 @@ +1.614.1 +downloaded from https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.614.1 +I renamed the .nupkg to .zip and grabbed the bin and include from the build/native folder. +I also copied the contents of bin/x64 to bin and deleted the 3 subfolders (arm64, win32, x64) \ No newline at end of file diff --git a/GigiCompilerLib/Backends/DX12/templates/Module/DX12Utils/dxutils.cpp b/GigiCompilerLib/Backends/DX12/templates/Module/DX12Utils/dxutils.cpp index 0cf547cc..b84fff3f 100644 --- a/GigiCompilerLib/Backends/DX12/templates/Module/DX12Utils/dxutils.cpp +++ b/GigiCompilerLib/Backends/DX12/templates/Module/DX12Utils/dxutils.cpp @@ -624,7 +624,7 @@ namespace DX12Utils // allocate a scratch buffer for creating our BLAS and TLAS scratch = CreateBuffer( device, - (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ResultDataMaxSizeInBytes, bottomLevelPrebuildInfo.ResultDataMaxSizeInBytes)), + (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ScratchDataSizeInBytes, bottomLevelPrebuildInfo.ScratchDataSizeInBytes)), D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COMMON, D3D12_HEAP_TYPE_DEFAULT, diff --git a/GigiCompilerLib/Backends/DX12/templates/Module/readme.txt b/GigiCompilerLib/Backends/DX12/templates/Module/readme.txt index 9f4323c5..f3f114a8 100644 --- a/GigiCompilerLib/Backends/DX12/templates/Module/readme.txt +++ b/GigiCompilerLib/Backends/DX12/templates/Module/readme.txt @@ -107,5 +107,5 @@ there instead of in the usual windows SDK location. You also need to add this to a single cpp file (such as where your main function exists): -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\AgilitySDK\\bin\\"; }/*$(endif)*/ diff --git a/GigiCompilerLib/Backends/Shared.h b/GigiCompilerLib/Backends/Shared.h index 2eb662e9..08969142 100644 --- a/GigiCompilerLib/Backends/Shared.h +++ b/GigiCompilerLib/Backends/Shared.h @@ -617,6 +617,17 @@ inline std::string GetNodeTypeString(const RenderGraphNode& node) return ""; } +inline bool StringBeginsWith(const char* hayStack, const char* needle) +{ + size_t hayStackLen = strlen(hayStack); + size_t needleLen = strlen(needle); + + if (needleLen > hayStackLen) + return false; + + return std::strncmp(hayStack, needle, needleLen) == 0; +} + template inline std::string ConditionToString(const Condition& condition, const RenderGraph& renderGraph, const TVARIABLETOSTRING& VariableToStringFn) { @@ -631,8 +642,17 @@ inline std::string ConditionToString(const Condition& condition, const RenderGra if (condition.variable2Index != -1) value2 = VariableToStringFn(renderGraph.variables[condition.variable2Index], renderGraph); else + { value2 = condition.value2; + if (condition.variable1Index != -1 && renderGraph.variables[condition.variable1Index].enumIndex != -1) + { + std::string enumValueScope = renderGraph.enums[renderGraph.variables[condition.variable1Index].enumIndex].name + "::"; + if (!StringBeginsWith(value2.c_str(), enumValueScope.c_str())) + value2 = enumValueScope + value2; + } + } + switch (condition.comparison) { case ConditionComparison::IsFalse: return "!" + value1; diff --git a/GigiEdit/main.cpp b/GigiEdit/main.cpp index 42a491a6..813ae30e 100644 --- a/GigiEdit/main.cpp +++ b/GigiEdit/main.cpp @@ -542,7 +542,7 @@ struct Example : void UpdateWindowTitle() { std::string newWindowTitle; - newWindowTitle = "GigiEdit (v" GIGI_VERSION() " " BUILD_FLAVOR() ") - "; + newWindowTitle = "GigiEdit (v" GIGI_VERSION_WITH_BUILD_NUMBER() " " BUILD_FLAVOR() ") - "; if (!g_renderGraphFileName.empty()) newWindowTitle += g_renderGraphFileName; else diff --git a/GigiViewerDX12/DX12Utils/FBXCache.cpp b/GigiViewerDX12/DX12Utils/FBXCache.cpp index f6c9ce0b..c2dd6744 100644 --- a/GigiViewerDX12/DX12Utils/FBXCache.cpp +++ b/GigiViewerDX12/DX12Utils/FBXCache.cpp @@ -178,84 +178,77 @@ FBXCache::FBXData& FBXCache::Get(FileCache& fileCache, const char* fileName_) newVertex.materialID = importMesh.materialID; } + } + } + } - ofbx::Vec2Attributes uvs = geom.getUVs(0); - if (!uvs.values) - continue; - - // Calculate tangents and bitangents, using uv0 - std::vector tangents(indexCount, Vec3{ 0.0f, 0.0f, 0.0f }); - std::vector bitangents(indexCount, Vec3{ 0.0f, 0.0f, 0.0f }); - for (int i = 0; i < static_cast(indexCount); i += 3) - { - int vertexIndex1 = tmpTriIndices[i + 0]; - int vertexIndex2 = tmpTriIndices[i + 1]; - int vertexIndex3 = tmpTriIndices[i + 2]; - - int vi1 = i + 0; - int vi2 = i + 1; - int vi3 = i + 2; - - Vec3 pos1 = ToVec3(positions.get(vertexIndex1)); - Vec3 pos2 = ToVec3(positions.get(vertexIndex2)); - Vec3 pos3 = ToVec3(positions.get(vertexIndex3)); + // Calculate tangents and bitangents, using uv0 + { + std::vector tangents(geometry.size(), Vec3{ 0.0f, 0.0f, 0.0f }); + std::vector bitangents(geometry.size(), Vec3{ 0.0f, 0.0f, 0.0f }); + for (size_t vertexIndex = 0; vertexIndex < geometry.size(); vertexIndex += 3) + { + FlattenedVertex& v1 = geometry[vertexIndex + 0]; + FlattenedVertex& v2 = geometry[vertexIndex + 1]; + FlattenedVertex& v3 = geometry[vertexIndex + 2]; - Vec2 uv1 = ToVec2(uvs.get(vertexIndex1)); - Vec2 uv2 = ToVec2(uvs.get(vertexIndex2)); - Vec2 uv3 = ToVec2(uvs.get(vertexIndex3)); + Vec3 pos1 = v1.position; + Vec3 pos2 = v2.position; + Vec3 pos3 = v3.position; - Vec3 pos21 = pos2 - pos1; - Vec3 pos31 = pos3 - pos1; + Vec2 uv1 = v1.uvs[0]; + Vec2 uv2 = v2.uvs[0]; + Vec2 uv3 = v3.uvs[0]; - Vec2 uv21 = uv2 - uv1; - Vec2 uv31 = uv3 - uv1; + Vec3 pos21 = pos2 - pos1; + Vec3 pos31 = pos3 - pos1; - float r = 1.0f / (uv21[0] * uv31[1] - uv21[1] * uv31[0]); + Vec2 uv21 = uv2 - uv1; + Vec2 uv31 = uv3 - uv1; - if (std::isfinite(r)) - { - Vec3 u = Vec3{ (uv31[1] * pos21[0] - uv21[1] * pos31[0]) * r, (uv31[1] * pos21[1] - uv21[1] * pos31[1]) * r, (uv31[1] * pos21[2] - uv21[1] * pos31[2]) * r }; - Vec3 v = Vec3{ (uv21[0] * pos31[0] - uv31[0] * pos21[0]) * r, (uv21[0] * pos31[1] - uv31[0] * pos21[1]) * r, (uv21[0] * pos31[2] - uv31[0] * pos21[2]) * r }; + float r = 1.0f / (uv21[0] * uv31[1] - uv21[1] * uv31[0]); - tangents[vi1] += u; - tangents[vi2] += u; - tangents[vi3] += u; + if (std::isfinite(r)) + { + Vec3 u = Vec3{ (uv31[1] * pos21[0] - uv21[1] * pos31[0]) * r, (uv31[1] * pos21[1] - uv21[1] * pos31[1]) * r, (uv31[1] * pos21[2] - uv21[1] * pos31[2]) * r }; + Vec3 v = Vec3{ (uv21[0] * pos31[0] - uv31[0] * pos21[0]) * r, (uv21[0] * pos31[1] - uv31[0] * pos21[1]) * r, (uv21[0] * pos31[2] - uv31[0] * pos21[2]) * r }; - bitangents[vi1] += v; - bitangents[vi2] += v; - bitangents[vi3] += v; - } - } + tangents[vertexIndex + 0] += u; + tangents[vertexIndex + 1] += u; + tangents[vertexIndex + 2] += u; - for (size_t indexIndex = 0; indexIndex < indexCount; ++indexIndex) - { - int vi = tmpTriIndices[indexIndex]; + bitangents[vertexIndex + 0] += v; + bitangents[vertexIndex + 1] += v; + bitangents[vertexIndex + 2] += v; + } + } - Vec3 normal = ToVec3(normals.get(vi)); + for (size_t vertexIndex = 0; vertexIndex < geometry.size(); ++vertexIndex) + { + FlattenedVertex& v = geometry[vertexIndex]; - Vec3& tangent = tangents[indexIndex]; - Vec3& bitangent = bitangents[indexIndex]; + const Vec3& normal = v.normal; + const Vec3& tangent = tangents[vertexIndex]; + const Vec3& bitangent = bitangents[vertexIndex]; - Vec3 tangentOut = tangent - normal * Dot(normal, tangent); - if (Dot(tangentOut, tangentOut) < 0.00001f) - tangentOut = tangent; + Vec3 tangentOut = tangent - normal * Dot(normal, tangent); + if (Dot(tangentOut, tangentOut) < 0.00001f) + tangentOut = tangent; - if (Dot(tangentOut, tangentOut) > 0.0f) - { - tangentOut = Normalize(tangentOut); - geometry[geometryIndexStart + indexIndex].tangent[0] = tangentOut[0]; - geometry[geometryIndexStart + indexIndex].tangent[1] = tangentOut[1]; - geometry[geometryIndexStart + indexIndex].tangent[2] = tangentOut[2]; - geometry[geometryIndexStart + indexIndex].tangent[3] = (Dot(Cross(normal, tangent), bitangent) < 0.0f) ? 0.0f : 1.0f; - } - else - { - geometry[geometryIndexStart + indexIndex].tangent[0] = 1.0f; - geometry[geometryIndexStart + indexIndex].tangent[1] = 0.0f; - geometry[geometryIndexStart + indexIndex].tangent[2] = 0.0f; - geometry[geometryIndexStart + indexIndex].tangent[3] = 1.0f; - } - } + if (Dot(tangentOut, tangentOut) > 0.0f) + { + tangentOut = Normalize(tangentOut); + v.tangent[0] = tangentOut[0]; + v.tangent[1] = tangentOut[1]; + v.tangent[2] = tangentOut[2]; + v.tangent[3] = (Dot(Cross(normal, tangent), bitangent) < 0.0f) ? 0.0f : 1.0f; + } + else + { + v.tangent[0] = 1.0f; + v.tangent[1] = 0.0f; + v.tangent[2] = 0.0f; + v.tangent[3] = 1.0f; } } } diff --git a/GigiViewerDX12/DX12Utils/FlattenedVertex.h b/GigiViewerDX12/DX12Utils/FlattenedVertex.h index 9fcc8da9..27bc7a21 100644 --- a/GigiViewerDX12/DX12Utils/FlattenedVertex.h +++ b/GigiViewerDX12/DX12Utils/FlattenedVertex.h @@ -12,10 +12,10 @@ typedef std::array Vec4; struct FlattenedVertex { - Vec3 position; - Vec3 normal; - Vec4 tangent; - Vec4 albedo; + Vec3 position = Vec3{ 0.0f, 0.0f, 0.0f }; + Vec3 normal = Vec3{ 0.0f, 0.0f, 0.0f }; + Vec4 tangent = Vec4{ 0.0f, 0.0f, 0.0f, 0.0f }; + Vec4 albedo = Vec4{ 0.0f, 0.0f, 0.0f, 0.0f }; Vec2 uvs[4]; // FBX supports up to 4 uvs int materialID = -1; int shapeIndex = -1; // mesh index in FBX. shape index in OBJ. diff --git a/GigiViewerDX12/Interpreter/RenderGraphNode_Resource_Buffer.cpp b/GigiViewerDX12/Interpreter/RenderGraphNode_Resource_Buffer.cpp index 641f32ce..62a136e9 100644 --- a/GigiViewerDX12/Interpreter/RenderGraphNode_Resource_Buffer.cpp +++ b/GigiViewerDX12/Interpreter/RenderGraphNode_Resource_Buffer.cpp @@ -198,7 +198,7 @@ bool GigiInterpreterPreviewWindowDX12::MakeAccelerationStructures(const RenderGr // allocate a scratch buffer for creating our BLAS and TLAS ID3D12Resource* scratch = CreateBuffer( m_device, - (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ResultDataMaxSizeInBytes, bottomLevelPrebuildInfo.ResultDataMaxSizeInBytes)), + (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ScratchDataSizeInBytes, bottomLevelPrebuildInfo.ScratchDataSizeInBytes)), D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COMMON, D3D12_HEAP_TYPE_DEFAULT, diff --git a/GigiViewerDX12/main.cpp b/GigiViewerDX12/main.cpp index 5ee944cc..fbc0d18c 100644 --- a/GigiViewerDX12/main.cpp +++ b/GigiViewerDX12/main.cpp @@ -90,7 +90,7 @@ #include "renderdoc_app.h" #if USE_AGILITY_SDK() -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\external\\AgilitySDK\\bin\\"; } #endif @@ -110,8 +110,8 @@ static const uint64_t ImGuiShaderFlag_Signed = 1 << 9; struct FrameContext { - ID3D12CommandAllocator* CommandAllocator; - UINT64 FenceValue; + ID3D12CommandAllocator* CommandAllocator = nullptr; + UINT64 FenceValue = 0; }; // Data @@ -177,6 +177,7 @@ static bool g_renderDocCaptureNextFrame = false; static bool g_renderDocIsCapturing = false; static bool g_renderDocLaunchUI = false; static bool g_renderDocEnabled = false; +static bool g_pixCaptureEnabled = true; static int g_renderDocFrameCaptureCount = 1; void RenderFrame(bool forceExecute); @@ -1104,7 +1105,7 @@ void OnServerMessage(const PreviewMsg_Ping& msg) void UpdateWindowTitle() { std::string newWindowTitle; - newWindowTitle = "Gigi Viewer (v" GIGI_VERSION() " DX12 " BUILD_FLAVOR ")"; + newWindowTitle = "Gigi Viewer (v" GIGI_VERSION_WITH_BUILD_NUMBER() " DX12 " BUILD_FLAVOR ")"; if (!g_renderGraphFileName.empty()) { newWindowTitle += " - "; @@ -1357,12 +1358,13 @@ void HandleMainMenu() } // Pix & RenderDoc Capture + if (g_pixCaptureEnabled || g_renderDocEnabled) // TODO: test with them both off { ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical); static int captureFrames = 1; static std::string waitingToOpenFileName = ""; static bool openCapture = true; - if (ImGui::Button("Pix Capture")) + if (g_pixCaptureEnabled && ImGui::Button("Pix Capture")) { wchar_t fileName[1024]; int i = 0; @@ -1407,6 +1409,8 @@ void HandleMainMenu() } } + ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical); + // Open Editor if (ImGui::Button("Open Editor")) { @@ -7218,8 +7222,7 @@ int main(int argc, char** argv) g_recentPythonScripts.LoadAllEntries(); SetGigiHeadlessMode(!BREAK_ON_GIGI_ASSERTS()); - PIXLoadLatestWinPixGpuCapturerLibrary(); - PIXSetHUDOptions(PIX_HUD_SHOW_ON_NO_WINDOWS); + // Parse command line parameters int argIndex = 0; @@ -7288,12 +7291,23 @@ int main(int argc, char** argv) g_renderDocEnabled = true; argIndex++; } + else if (!_stricmp(argv[argIndex], "-nopixcapture")) + { + g_pixCaptureEnabled = false; + argIndex++; + } else { argIndex++; } } + if (g_pixCaptureEnabled) + { + PIXLoadLatestWinPixGpuCapturerLibrary(); + PIXSetHUDOptions(PIX_HUD_SHOW_ON_NO_WINDOWS); + } + if (g_renderDocEnabled) { TryLoadRenderDocAPI(); @@ -7709,24 +7723,26 @@ bool CreateDeviceD3D(HWND hWnd) if (pdx12Debug != NULL) { g_pd3dDevice->QueryInterface(IID_PPV_ARGS(&g_pd3dInfoQueue)); - - g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, DX12_BREAK_ON_ERROR()); - g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, DX12_BREAK_ON_CORRUPTION()); - g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, DX12_BREAK_ON_WARN()); - g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_INFO, false); - g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_MESSAGE, false); - - D3D12_MESSAGE_ID hide[] = + if (g_pd3dInfoQueue) { - // Don't care about the clear value not matching the fast clear value - D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, - D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE - }; - D3D12_INFO_QUEUE_FILTER filter; - memset(&filter, 0, sizeof(filter)); - filter.DenyList.NumIDs = _countof(hide); - filter.DenyList.pIDList = hide; - g_pd3dInfoQueue->AddStorageFilterEntries(&filter); + g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, DX12_BREAK_ON_ERROR()); + g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, DX12_BREAK_ON_CORRUPTION()); + g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, DX12_BREAK_ON_WARN()); + g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_INFO, false); + g_pd3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_MESSAGE, false); + + D3D12_MESSAGE_ID hide[] = + { + // Don't care about the clear value not matching the fast clear value + D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, + D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE + }; + D3D12_INFO_QUEUE_FILTER filter; + memset(&filter, 0, sizeof(filter)); + filter.DenyList.NumIDs = _countof(hide); + filter.DenyList.pIDList = hide; + g_pd3dInfoQueue->AddStorageFilterEntries(&filter); + } pdx12Debug->Release(); } diff --git a/HowToMakeAPublicRelease.md b/HowToMakeAPublicRelease.md index fe435956..80b5308b 100644 --- a/HowToMakeAPublicRelease.md +++ b/HowToMakeAPublicRelease.md @@ -15,6 +15,10 @@ That branch is meant to be mirrored verbatim to the public repo at https://githu So, the first step is to get the "ExternalRelease" branch to contain what you want the public repo to contain. Like for instance, by merging main into the branch. +You should also increment the build number in Version.h, in the GIGI_VERSION_WITH_BUILD_NUMBER() macro. Or, if the +major or minor version number changed since last release, set the build number to 0. Make sure install.nsi has the same +version numbers specified for VERSIONMAJOR, VERSIONMINOR and VERSIONBUILD. + This branch should be tested to verify that things are working correctly. The Viewer and DX12 unit tests should also be ran, to help ensure everything is working correctly. @@ -35,14 +39,16 @@ You may then push the changes to a branch and merge that branch down to main (ma ## Gigi Version Numbers -Public Gigi versions are of the form v<major>.<minor>.<build> such as v0.99.0. The major and minor version number come from Version.h. The version number in Version.h refers to the file version of .gg files, so incrementing that number should only be done for functional reasons involving schema changes or default functionality changes. The build number part of the version number exists only in github, and should be incremented if the major and minor version numbers are the same as the last build, or set to zero if the major or minor version number has changed since the last release. +Public Gigi versions are of the form v<major>.<minor>.<build> such as v0.99.0. Version.h contains +the build verion numbers in two macros: -In short, there is no need to update the version number in version.h. Either it has been updated or it has not, but either way, the build portion of the version number will be what makes it unique in the github repo. +* GIGI_VERSION() - This refers to the file version of .gg files, so incrementing that number should usually only be done for functional reasons involving schema changes or default functionality changes +* GIGI_VERSION_WITH_BUILD_NUMBER() is a version number that includes the build number in the public release, to help see what specific build is being used. ## Making The Release In the private gitlab repo, find the job for the ExternalRelease branch and download the artifacts from the Release job when complete. It will give you a file named artifacts.zip. Rename it to Gigi-<major>.<minor>.<build>.x64.windows.zip, for example, Gigi-0.99.0.x64.windows.zip. This will be one of the two files manually added to the release as an asset. -To make the installer, extract that zip file. Inside, open **Install.nsi** in a text editor and update the version numbers, save and close. Next, right click **Install.nsi** and select "Compile NSIS Script". If you don't have NSIS installed, you can download it from https://sourceforge.net/projects/nsis/. This will make a file named based on the version numbers E.g. Gigi-0.99.0.x64.windows.installer.exe. This is the second file that needs to be manually added to the release as an asset. +To make the installer, extract that zip file. Inside, right click **Install.nsi** and select "Compile NSIS Script". If you don't have NSIS installed, you can download it from https://sourceforge.net/projects/nsis/. This will make a file named based on the version numbers E.g. Gigi-0.99.0.x64.windows.installer.exe. This is the second file that needs to be manually added to the release as an asset. In the public github repo, create a new release through the web interface at https://github.com/electronicarts/gigi/releases/new. You should create a new tag named from the version number (such as v0.99.0) and the release should be the same name. You can put change notes into the description. Then click "Publish release" and you are done! \ No newline at end of file diff --git a/Install.nsi b/Install.nsi index 09aae540..7f851d94 100644 --- a/Install.nsi +++ b/Install.nsi @@ -11,7 +11,7 @@ !define DESCRIPTION "Rapid Graphics Development Platform" !define VERSIONMAJOR 0 !define VERSIONMINOR 99 - !define VERSIONBUILD 1 + !define VERSIONBUILD 4 !define SLUG "${APPNAME} v${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}" # These will be displayed by the "Click here for support information" link in "Add/Remove Programs" diff --git a/RenderGraph/Visitors.h b/RenderGraph/Visitors.h index 76de67f8..3bf44047 100644 --- a/RenderGraph/Visitors.h +++ b/RenderGraph/Visitors.h @@ -13,6 +13,48 @@ #include #include "GigiCompilerLib/Utils.h" +inline void ZeroDfltIfEmpty(std::string& dflt, DataFieldType type, const std::string& path) +{ + if (dflt.empty()) + { + switch (type) + { + case DataFieldType::Int: dflt = "0"; break; + case DataFieldType::Int2: dflt = "0,0"; break; + case DataFieldType::Int3: dflt = "0,0,0"; break; + case DataFieldType::Int4: dflt = "0,0,0,0"; break; + case DataFieldType::Uint: dflt = "0"; break; + case DataFieldType::Uint2: dflt = "0,0"; break; + case DataFieldType::Uint3: dflt = "0,0,0"; break; + case DataFieldType::Uint4: dflt = "0,0,0,0"; break; + case DataFieldType::Float: dflt = "0.0f"; break; + case DataFieldType::Float2: dflt = "0.0f,0.0f"; break; + case DataFieldType::Float3: dflt = "0.0f,0.0f,0.0f"; break; + case DataFieldType::Float4: dflt = "0.0f,0.0f,0.0f,0.0f"; break; + case DataFieldType::Bool: dflt = "false"; break; + case DataFieldType::Float4x4: dflt = "0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f"; break; + case DataFieldType::Uint_16: dflt = "0"; break; + default: + { + Assert(false, "Unhandled data field type %s (%i).\nIn %s\n", EnumToString(type), type, path.c_str()); + break; + } + } + } +} + +inline int GetEnumIndex(const RenderGraph& renderGraph, const char* scope, const char* name) +{ + for (size_t i = 0; i < renderGraph.enums.size(); ++i) + { + const Enum& e = renderGraph.enums[i]; + if (e.scope == scope && e.originalName == name) + return (int)i; + } + + return -1; +} + struct DfltFixupVisitor { template @@ -1514,33 +1556,9 @@ struct ValidationVisitor return false; } - // Every variable needs a default! - if (variable.dflt.empty()) - { - switch (variable.type) - { - case DataFieldType::Int: variable.dflt = "0"; break; - case DataFieldType::Int2: variable.dflt = "0,0"; break; - case DataFieldType::Int3: variable.dflt = "0,0,0"; break; - case DataFieldType::Int4: variable.dflt = "0,0,0,0"; break; - case DataFieldType::Uint: variable.dflt = "0"; break; - case DataFieldType::Uint2: variable.dflt = "0,0"; break; - case DataFieldType::Uint3: variable.dflt = "0,0,0"; break; - case DataFieldType::Uint4: variable.dflt = "0,0,0,0"; break; - case DataFieldType::Float: variable.dflt = "0.0f"; break; - case DataFieldType::Float2: variable.dflt = "0.0f,0.0f"; break; - case DataFieldType::Float3: variable.dflt = "0.0f,0.0f,0.0f"; break; - case DataFieldType::Float4: variable.dflt = "0.0f,0.0f,0.0f,0.0f"; break; - case DataFieldType::Bool: variable.dflt = "false"; break; - case DataFieldType::Float4x4: variable.dflt = "0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f"; break; - case DataFieldType::Uint_16: variable.dflt = "0"; break; - default: - { - Assert(false, "Unhandled data field type %s (%i).\nIn %s\n", EnumToString(variable.type), variable.type, path.c_str()); - break; - } - } - } + // Every variable needs a default + if (variable.Enum.empty()) + ZeroDfltIfEmpty(variable.dflt, variable.type, path); // Enum validation if (!variable.Enum.empty()) @@ -1558,6 +1576,13 @@ struct ValidationVisitor if (e.scope == variable.scope && e.originalName == variable.Enum) { variable.enumIndex = enumIndex; + + if (variable.dflt.empty()) + { + Assert(renderGraph.enums[enumIndex].items.size() > 0, "Tried to set a dflt for Variable \'%s\' but the enum has no items!\nIn %s\n", variable.name.c_str(), path.c_str()); + variable.dflt = renderGraph.enums[enumIndex].items[0].label; + } + return true; } } @@ -1573,6 +1598,10 @@ struct ValidationVisitor { for (StructField& field : s.fields) { + // Every field needs a default + if (field.Enum.empty()) + ZeroDfltIfEmpty(field.dflt, field.type, path); + if (field.Enum.empty()) continue; @@ -1589,6 +1618,11 @@ struct ValidationVisitor if (e.scope == s.scope && e.originalName == field.Enum) { field.enumIndex = enumIndex; + if (field.dflt.empty()) + { + Assert(renderGraph.enums[enumIndex].items.size() > 0, "Tried to set a dflt for struct field \'%s\' but the enum has no items!\nIn %s\n", field.name.c_str(), path.c_str()); + field.dflt = renderGraph.enums[enumIndex].items[0].label; + } break; } } @@ -2850,6 +2884,24 @@ struct ShaderDataVisitor newField.dflt = variable.dflt; newField.Enum = variable.Enum; newField.comment = variable.comment; + + // make sure there is a dflt + if (newField.dflt.empty()) + { + if (newField.Enum.empty()) + { + ZeroDfltIfEmpty(newField.dflt, newField.type, path); + } + else + { + int enumIndex = GetEnumIndex(renderGraph, variable.scope.c_str(), variable.Enum.c_str()); + Assert(enumIndex >= 0, "Could not find enum \"%s\"\nIn %s\n", variable.Enum.c_str(), path.c_str()); + Assert(renderGraph.enums[enumIndex].items.size() > 0, "Tried to set a dflt for field \'%s\' but the enum has no items!\nIn %s\n", newField.name.c_str(), path.c_str()); + newField.dflt = renderGraph.enums[enumIndex].items[0].label; + newField.enumIndex = enumIndex; + } + } + newStruct.fields.push_back(newField); } diff --git a/Techniques/DataViewers/ModelViewer.gg b/Techniques/DataViewers/ModelViewer.gg new file mode 100644 index 00000000..32c5ed09 --- /dev/null +++ b/Techniques/DataViewers/ModelViewer.gg @@ -0,0 +1,313 @@ +{ + "$schema": "gigischema.json", + "version": "0.99b", + "variables": [ + { + "name": "RenderSize", + "type": "Uint2", + "dflt": "1024, 768", + "visibility": "User" + }, + { + "name": "ViewMode", + "type": "Int", + "dflt": "Normal", + "visibility": "User", + "Enum": "ViewModes" + }, + { + "name": "ViewerColor", + "type": "Float4", + "dflt": "1, 1, 1, 1", + "visibility": "User", + "UISettings": { + "UIHint": "Color" + } + }, + { + "name": "ViewProjMtx", + "type": "Float4x4" + } + ], + "shaders": [ + { + "name": "ModelViewerVS", + "fileName": "ModelViewerVS.hlsl", + "type": "Vertex", + "entryPoint": "vsmain" + }, + { + "name": "ModelViewerPS", + "fileName": "ModelViewerPS.hlsl", + "type": "Pixel", + "entryPoint": "psmain" + }, + { + "name": "ModelViewerCS", + "fileName": "ModelViewerCS.hlsl", + "entryPoint": "csmain", + "NumThreads": [ + 64, + 1, + 1 + ], + "resources": [ + { + "name": "VertexBuffer", + "type": "Buffer", + "access": "UAV", + "buffer": { + "typeStruct": { + "name": "VB" + } + } + } + ] + } + ], + "structs": [ + { + "name": "VB", + "fields": [ + { + "name": "Position", + "type": "Float3", + "semantic": "Position" + }, + { + "name": "Color", + "type": "Float3", + "semantic": "Color" + }, + { + "name": "Normal", + "type": "Float3", + "semantic": "Normal" + }, + { + "name": "Tangent", + "type": "Float4", + "semantic": "Tangent" + }, + { + "name": "UV", + "type": "Float2", + "semantic": "UV" + }, + { + "name": "MaterialID", + "type": "Int", + "semantic": "MaterialID" + }, + { + "name": "ShapeID", + "type": "Int", + "semantic": "ShapeID" + } + ] + } + ], + "nodes": [ + { + "resourceBuffer": { + "name": "VertexBuffer", + "editorPos": [ + -121.0, + -158.0 + ], + "visibility": "Imported" + } + }, + { + "resourceTexture": { + "name": "ColorF32", + "editorPos": [ + 75.0, + -30.0 + ], + "format": { + "format": "RGBA32_Float" + }, + "size": { + "variable": { + "name": "RenderSize" + } + } + } + }, + { + "resourceTexture": { + "name": "Depth", + "editorPos": [ + 75.0, + -78.0 + ], + "format": { + "format": "D32_Float" + }, + "size": { + "variable": { + "name": "RenderSize" + } + } + } + }, + { + "actionDrawCall": { + "name": "Rasterize", + "editorPos": [ + 213.0, + -125.0 + ], + "linkProperties": [ + {}, + {}, + {}, + {}, + {}, + {}, + {}, + {} + ], + "vertexShader": { + "name": "ModelViewerVS" + }, + "pixelShader": { + "name": "ModelViewerPS" + }, + "depthTargetClear": true, + "depthTest": "Greater", + "colorTargetSettings": [ + { + "clear": true, + "clearColor": [ + 0.20000000298023225, + 0.20000000298023225, + 0.20000000298023225, + 0.0 + ], + "srcBlend": "SrcAlpha", + "destBlend": "InvSrcAlpha" + }, + {}, + {}, + {}, + {}, + {}, + {}, + {} + ], + "frontIsCounterClockwise": false, + "vertexBuffer": { + "node": "ModelViewerCS", + "pin": "VertexBuffer" + }, + "colorTargets": [ + { + "node": "ColorF32", + "pin": "resource" + }, + { + "node": "ColorU8sRGB", + "pin": "resource" + }, + {}, + {}, + {}, + {}, + {}, + {} + ], + "depthTarget": { + "node": "Depth", + "pin": "resource" + } + } + }, + { + "resourceTexture": { + "name": "ColorU8sRGB", + "editorPos": [ + 54.0, + 18.0 + ], + "format": { + "format": "RGBA8_Unorm_sRGB" + }, + "size": { + "variable": { + "name": "RenderSize" + } + } + } + }, + { + "actionComputeShader": { + "name": "ModelViewerCS", + "editorPos": [ + 37.0, + -158.0 + ], + "linkProperties": [ + {}, + {} + ], + "connections": [ + { + "srcPin": "VertexBuffer", + "dstNode": "VertexBuffer", + "dstPin": "resource" + } + ], + "shader": { + "name": "ModelViewerCS" + }, + "dispatchSize": { + "node": { + "name": "VertexBuffer" + } + } + } + } + ], + "enums": [ + { + "name": "ViewModes", + "items": [ + { + "label": "InputPos" + }, + { + "label": "OutputPos" + }, + { + "label": "VertexID" + }, + { + "label": "InstanceID" + }, + { + "label": "Color" + }, + { + "label": "Normal" + }, + { + "label": "Tangent" + }, + { + "label": "UV" + }, + { + "label": "MaterialID" + }, + { + "label": "ShapeID" + }, + { + "label": "ViewerColor" + } + ] + } + ] +} \ No newline at end of file diff --git a/Techniques/DataViewers/ModelViewer.gguser b/Techniques/DataViewers/ModelViewer.gguser new file mode 100644 index 00000000..68367ec0 --- /dev/null +++ b/Techniques/DataViewers/ModelViewer.gguser @@ -0,0 +1,55 @@ +{ + "version": "2.0", + "systemVars": { + "camera": { + "startingCameraPos": [ + -2.2799999713897707, + 0.5389999747276306, + 2.5490000247955324 + ], + "startingCameraAltitudeAzimuth": [ + 0.05900000035762787, + 3.752000093460083 + ] + }, + "ProjMtx_textureName": "ColorF32" + }, + "snapshot": { + "resourceViewNodeIndex": 3, + "resourceViewResourceIndex": 5, + "cameraPos": [ + -2.2799999713897707, + 0.5389999747276306, + 2.5490000247955324 + ], + "cameraAltitudeAzimuth": [ + 0.05900000035762787, + 3.752000093460083 + ], + "importedResources": [ + { + "nodeName": "VertexBuffer", + "isATexture": false, + "buffer": { + "fileName": "..\\OBJAssets\\bunny.obj", + "structIndex": 0, + "BLASOpaque": true + } + } + ], + "savedVariables": [ + { + "name": "RenderSize", + "value": "1024,768" + }, + { + "name": "ViewMode", + "value": "5" + }, + { + "name": "ViewerColor", + "value": "1.000000,10.019608,1.000000,1.000000" + } + ] + } +} \ No newline at end of file diff --git a/Techniques/DataViewers/ModelViewerCS.hlsl b/Techniques/DataViewers/ModelViewerCS.hlsl new file mode 100644 index 00000000..22a15849 --- /dev/null +++ b/Techniques/DataViewers/ModelViewerCS.hlsl @@ -0,0 +1,18 @@ +// Unnamed technique, shader ModelViewerCS +/*$(ShaderResources)*/ + +/*$(_compute:csmain)*/(uint3 DTid : SV_DispatchThreadID) +{ + uint vertexID = DTid.xy; + Struct_VB vertex = VertexBuffer[vertexID]; + + // TODO: you can modify the vertex data. + //vertex.Position *= ((sin(vertex.Position.x) * 0.5f + 0.5f) + 0.5f); + + VertexBuffer[vertexID] = vertex; +} + +/* +Shader Resources: + Buffer VertexBuffer (as UAV) +*/ diff --git a/Techniques/DataViewers/ModelViewerPS.hlsl b/Techniques/DataViewers/ModelViewerPS.hlsl new file mode 100644 index 00000000..c02b93b6 --- /dev/null +++ b/Techniques/DataViewers/ModelViewerPS.hlsl @@ -0,0 +1,22 @@ +// Unnamed technique, shader ModelViewerPS +/*$(ShaderResources)*/ + +struct PSInput // AKA VSOutput +{ + float4 Position : SV_POSITION; + float4 Color : TEXCOORD0; +}; + +struct PSOutput +{ + float4 colorTargetF32 : SV_Target0; + float4 colorTargetU8sRGB : SV_Target1; +}; + +PSOutput psmain(PSInput input) +{ + PSOutput ret = (PSOutput)0; + ret.colorTargetF32 = input.Color; + ret.colorTargetU8sRGB = input.Color; + return ret; +} diff --git a/Techniques/DataViewers/ModelViewerVS.hlsl b/Techniques/DataViewers/ModelViewerVS.hlsl new file mode 100644 index 00000000..ac2d1487 --- /dev/null +++ b/Techniques/DataViewers/ModelViewerVS.hlsl @@ -0,0 +1,45 @@ +// Unnamed technique, shader ModelViewerVS +/*$(ShaderResources)*/ + +struct VSInput +{ + float3 Position : POSITION; + uint VertexID : SV_VertexID; + uint InstanceId : SV_InstanceID; + float3 Color : COLOR; + float3 Normal : NORMAL; + float4 Tangent : TANGENT; + float2 UV : TEXCOORD0; + int MaterialID : TEXCOORD1; + int ShapeID : TEXCOORD2; +}; + +struct VSOutput // AKA PSInput +{ + float4 Position : SV_POSITION; + float4 Color : TEXCOORD0; +}; + +VSOutput vsmain(VSInput input) +{ + float4 outPos = mul(float4(input.Position, 1.0f), /*$(Variable:ViewProjMtx)*/); + + VSOutput ret = (VSOutput)0; + switch(/*$(Variable:ViewMode)*/) + { + case ViewModes::InputPos: ret.Color = float4(input.Position, 1.0f); break; + case ViewModes::OutputPos: ret.Color = float4(outPos / outPos.w); break; + case ViewModes::VertexID: ret.Color = float4(input.VertexID, 0.0f, 0.0f, 1.0f); break; + case ViewModes::InstanceID: ret.Color = float4(input.InstanceId, 0.0f, 0.0f, 1.0f); break; + case ViewModes::Color: ret.Color = float4(input.Color, 1.0f); break; + case ViewModes::Normal: ret.Color = float4(input.Normal, 1.0f); break; + case ViewModes::Tangent: ret.Color = float4(input.Tangent); break; + case ViewModes::UV: ret.Color = float4(input.UV, 0.0f, 1.0f); break; + case ViewModes::MaterialID: ret.Color = float4(input.MaterialID, 0.0f, 0.0f, 1.0f); break; + case ViewModes::ShapeID: ret.Color = float4(input.ShapeID, 0.0f, 0.0f, 1.0f); break; + case ViewModes::ViewerColor: ret.Color = /*$(Variable:ViewerColor)*/; break; + } + + ret.Position = outPos; + return ret; +} diff --git a/Techniques/DataViewers/TextureViewer.gg b/Techniques/DataViewers/TextureViewer.gg new file mode 100644 index 00000000..39433ece --- /dev/null +++ b/Techniques/DataViewers/TextureViewer.gg @@ -0,0 +1,61 @@ +{ + "$schema": "gigischema.json", + "version": "0.99b", + "shaders": [ + { + "name": "TextureViewerCS", + "fileName": "TextureViewerCS.hlsl", + "entryPoint": "csmain", + "slangOptions": { + "process": true + }, + "resources": [ + { + "name": "texture", + "type": "Texture", + "access": "UAV" + } + ] + } + ], + "nodes": [ + { + "resourceTexture": { + "name": "Input", + "editorPos": [ + -13.0, + -16.0 + ], + "visibility": "Imported" + } + }, + { + "actionComputeShader": { + "name": "TextureViewerCS", + "editorPos": [ + 123.0, + -14.0 + ], + "linkProperties": [ + {}, + {} + ], + "connections": [ + { + "srcPin": "texture", + "dstNode": "Input", + "dstPin": "resource" + } + ], + "shader": { + "name": "TextureViewerCS" + }, + "dispatchSize": { + "node": { + "name": "Input" + } + } + } + } + ] +} \ No newline at end of file diff --git a/Techniques/DataViewers/TextureViewer.gguser b/Techniques/DataViewers/TextureViewer.gguser new file mode 100644 index 00000000..0f6db8de --- /dev/null +++ b/Techniques/DataViewers/TextureViewer.gguser @@ -0,0 +1,15 @@ +{ + "version": "2.0", + "snapshot": { + "resourceViewNodeIndex": 1, + "resourceViewResourceIndex": 1, + "importedResources": [ + { + "nodeName": "Input", + "texture": { + "fileName": "..\\cabinsmall.png" + } + } + ] + } +} \ No newline at end of file diff --git a/Techniques/DataViewers/TextureViewerCS.hlsl b/Techniques/DataViewers/TextureViewerCS.hlsl new file mode 100644 index 00000000..ee2b1cfe --- /dev/null +++ b/Techniques/DataViewers/TextureViewerCS.hlsl @@ -0,0 +1,17 @@ +// Unnamed technique, shader TextureViewerCS +/*$(ShaderResources)*/ + +/*$(_compute:csmain)*/(uint3 DTid : SV_DispatchThreadID) +{ + uint2 px = DTid.xy; + float4 color = texture[px]; + + // TODO: you can modify the color here + + texture[px] = color; +} + +/* +Shader Resources: + Texture texture (as UAV) +*/ diff --git a/UserDocumentation/GigiViewerDX12_Documentation.docx b/UserDocumentation/GigiViewerDX12_Documentation.docx index 1674e880..698d569e 100644 Binary files a/UserDocumentation/GigiViewerDX12_Documentation.docx and b/UserDocumentation/GigiViewerDX12_Documentation.docx differ diff --git a/UserDocumentation/GigiViewerDX12_Documentation.pdf b/UserDocumentation/GigiViewerDX12_Documentation.pdf index 52f56c84..05cbafd0 100644 Binary files a/UserDocumentation/GigiViewerDX12_Documentation.pdf and b/UserDocumentation/GigiViewerDX12_Documentation.pdf differ diff --git a/Version.h b/Version.h index 398e5607..a5cdefb1 100644 --- a/Version.h +++ b/Version.h @@ -4,3 +4,4 @@ /////////////////////////////////////////////////////////////////////////////// #define GIGI_VERSION() "0.99b" +#define GIGI_VERSION_WITH_BUILD_NUMBER() GIGI_VERSION() "0.99.4" diff --git a/_GeneratedCode/UnitTests/DX12/ALL_BUILD.vcxproj b/_GeneratedCode/UnitTests/DX12/ALL_BUILD.vcxproj index b1a54212..5c4dd3a1 100644 --- a/_GeneratedCode/UnitTests/DX12/ALL_BUILD.vcxproj +++ b/_GeneratedCode/UnitTests/DX12/ALL_BUILD.vcxproj @@ -109,6 +109,7 @@ + {782F6C35-74A9-32AC-A4B6-7632D950429B} diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.dll b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.dll index faa7b8b3..238c1177 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.dll and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.dll differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.pdb b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.pdb index 5114bb43..1d3b05bf 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.pdb and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/D3D12Core.pdb differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.dll b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.dll index 93f42ca6..cd6f77d4 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.dll and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.dll differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.pdb b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.pdb index 4d031dc0..3d05cc05 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.pdb and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3d12SDKLayers.pdb differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.exe b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.exe index be68b1d4..656d1183 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.exe and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.exe differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.pdb b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.pdb index bd59d58a..7f1de1b7 100644 Binary files a/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.pdb and b/_GeneratedCode/UnitTests/DX12/AgilitySDK/bin/d3dconfig.pdb differ diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.h index 7ece43ce..684ef13d 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.h @@ -1102,7 +1102,7 @@ extern "C"{ #define D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 15 ) -#define D3D12_PREVIEW_SDK_VERSION ( 713 ) +#define D3D12_PREVIEW_SDK_VERSION ( 714 ) #define D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 16 ) @@ -1235,7 +1235,7 @@ extern "C"{ #define D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT ( 2 ) -#define D3D12_SDK_VERSION ( 613 ) +#define D3D12_SDK_VERSION ( 614 ) #define D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES ( 32 ) @@ -1425,7 +1425,7 @@ enum D3D12_COMMAND_QUEUE_FLAGS D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1 } D3D12_COMMAND_QUEUE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS ) typedef enum D3D12_COMMAND_QUEUE_PRIORITY { @@ -2185,7 +2185,7 @@ enum D3D12_PIPELINE_STATE_FLAGS D3D12_PIPELINE_STATE_FLAG_DYNAMIC_INDEX_BUFFER_STRIP_CUT = 0x8 } D3D12_PIPELINE_STATE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS ) typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { ID3D12RootSignature *pRootSignature; @@ -2322,7 +2322,7 @@ enum D3D12_SHADER_MIN_PRECISION_SUPPORT D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2 } D3D12_SHADER_MIN_PRECISION_SUPPORT; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT ) typedef enum D3D12_TILED_RESOURCES_TIER { @@ -2385,7 +2385,7 @@ enum D3D12_FORMAT_SUPPORT1 D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000 } D3D12_FORMAT_SUPPORT1; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 ) typedef enum D3D12_FORMAT_SUPPORT2 { @@ -2404,7 +2404,7 @@ enum D3D12_FORMAT_SUPPORT2 D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x8000 } D3D12_FORMAT_SUPPORT2; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 ) typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS { @@ -2412,7 +2412,7 @@ enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x1 } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS ) typedef enum D3D12_CROSS_NODE_SHARING_TIER { @@ -2590,7 +2590,7 @@ enum D3D12_SHADER_CACHE_SUPPORT_FLAGS D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40 } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_SHADER_CACHE { _Out_ D3D12_SHADER_CACHE_SUPPORT_FLAGS SupportFlags; @@ -2616,7 +2616,7 @@ enum D3D12_COMMAND_LIST_SUPPORT_FLAGS D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = ( 1 << D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE ) } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 { _Out_ BOOL CopyQueueTimestampQueriesSupported; @@ -2953,7 +2953,7 @@ enum D3D12_HEAP_FLAGS D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES = 0x84 } D3D12_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS ) typedef struct D3D12_HEAP_DESC { UINT64 SizeInBytes; @@ -3004,7 +3004,7 @@ enum D3D12_RESOURCE_FLAGS D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100 } D3D12_RESOURCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS ) typedef struct D3D12_MIP_REGION { UINT Width; @@ -3138,7 +3138,7 @@ enum D3D12_TILE_MAPPING_FLAGS D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1 } D3D12_TILE_MAPPING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS ) typedef enum D3D12_TILE_COPY_FLAGS { @@ -3148,7 +3148,7 @@ enum D3D12_TILE_COPY_FLAGS D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4 } D3D12_TILE_COPY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS ) typedef enum D3D12_RESOURCE_STATES { @@ -3186,7 +3186,7 @@ enum D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x800000 } D3D12_RESOURCE_STATES; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES ) typedef enum D3D12_RESOURCE_BARRIER_TYPE { @@ -3223,7 +3223,7 @@ enum D3D12_RESOURCE_BARRIER_FLAGS D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2 } D3D12_RESOURCE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS ) typedef struct D3D12_RESOURCE_BARRIER { D3D12_RESOURCE_BARRIER_TYPE Type; @@ -3299,7 +3299,7 @@ enum D3D12_VIEW_INSTANCING_FLAGS D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1 } D3D12_VIEW_INSTANCING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS ) typedef struct D3D12_VIEW_INSTANCING_DESC { UINT ViewInstanceCount; @@ -3335,7 +3335,7 @@ enum D3D12_BUFFER_SRV_FLAGS D3D12_BUFFER_SRV_FLAG_RAW = 0x1 } D3D12_BUFFER_SRV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS ) typedef struct D3D12_BUFFER_SRV { UINT64 FirstElement; @@ -3606,7 +3606,7 @@ enum D3D12_SAMPLER_FLAGS D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES = 0x2 } D3D12_SAMPLER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS ) typedef struct D3D12_SAMPLER_DESC2 { D3D12_FILTER Filter; @@ -3633,7 +3633,7 @@ enum D3D12_BUFFER_UAV_FLAGS D3D12_BUFFER_UAV_FLAG_RAW = 0x1 } D3D12_BUFFER_UAV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS ) typedef struct D3D12_BUFFER_UAV { UINT64 FirstElement; @@ -3842,7 +3842,7 @@ enum D3D12_DSV_FLAGS D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2 } D3D12_DSV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS ) typedef enum D3D12_DSV_DIMENSION { @@ -3878,7 +3878,7 @@ enum D3D12_CLEAR_FLAGS D3D12_CLEAR_FLAG_STENCIL = 0x2 } D3D12_CLEAR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS ) typedef enum D3D12_FENCE_FLAGS { @@ -3888,7 +3888,7 @@ enum D3D12_FENCE_FLAGS D3D12_FENCE_FLAG_NON_MONITORED = 0x4 } D3D12_FENCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS ) typedef enum D3D12_DESCRIPTOR_HEAP_TYPE { @@ -3906,7 +3906,7 @@ enum D3D12_DESCRIPTOR_HEAP_FLAGS D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1 } D3D12_DESCRIPTOR_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS ) typedef struct D3D12_DESCRIPTOR_HEAP_DESC { D3D12_DESCRIPTOR_HEAP_TYPE Type; @@ -4005,7 +4005,7 @@ enum D3D12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800 } D3D12_ROOT_SIGNATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS ) typedef enum D3D12_STATIC_BORDER_COLOR { @@ -4071,7 +4071,7 @@ enum D3D12_DESCRIPTOR_RANGE_FLAGS D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000 } D3D12_DESCRIPTOR_RANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS ) typedef struct D3D12_DESCRIPTOR_RANGE1 { D3D12_DESCRIPTOR_RANGE_TYPE RangeType; @@ -4097,7 +4097,7 @@ enum D3D12_ROOT_DESCRIPTOR_FLAGS D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8 } D3D12_ROOT_DESCRIPTOR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS ) typedef struct D3D12_ROOT_DESCRIPTOR1 { UINT ShaderRegister; @@ -10067,7 +10067,7 @@ enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0 } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS ) typedef enum D3D12_RESIDENCY_PRIORITY { @@ -11277,7 +11277,7 @@ enum D3D12_RESIDENCY_FLAGS D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1 } D3D12_RESIDENCY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0025_v0_0_c_ifspec; @@ -11928,21 +11928,21 @@ enum D3D12_COMMAND_LIST_FLAGS D3D12_COMMAND_LIST_FLAG_NONE = 0 } D3D12_COMMAND_LIST_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS ) typedef enum D3D12_COMMAND_POOL_FLAGS { D3D12_COMMAND_POOL_FLAG_NONE = 0 } D3D12_COMMAND_POOL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS ) typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0 } D3D12_COMMAND_RECORDER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS ) typedef enum D3D12_PROTECTED_SESSION_STATUS { @@ -12107,7 +12107,7 @@ enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { UINT NodeIndex; @@ -12120,7 +12120,7 @@ enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0 } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS ) typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC { UINT NodeMask; @@ -13444,7 +13444,7 @@ enum D3D12_META_COMMAND_PARAMETER_FLAGS D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x2 } D3D12_META_COMMAND_PARAMETER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS ) typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { @@ -13485,7 +13485,7 @@ enum D3D12_GRAPHICS_STATES D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = ( 1 << 16 ) } D3D12_GRAPHICS_STATES; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES ) typedef struct D3D12_META_COMMAND_DESC { GUID Id; @@ -14229,7 +14229,7 @@ enum D3D12_STATE_OBJECT_FLAGS D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4 } D3D12_STATE_OBJECT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS ) typedef struct D3D12_STATE_OBJECT_CONFIG { D3D12_STATE_OBJECT_FLAGS Flags; @@ -14276,7 +14276,7 @@ enum D3D12_EXPORT_FLAGS D3D12_EXPORT_FLAG_NONE = 0 } D3D12_EXPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS ) typedef struct D3D12_EXPORT_DESC { LPCWSTR Name; @@ -14347,7 +14347,7 @@ enum D3D12_RAYTRACING_PIPELINE_FLAGS D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAYTRACING_PIPELINE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS ) typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { UINT MaxTraceRecursionDepth; @@ -14450,7 +14450,7 @@ enum D3D12_WORK_GRAPH_FLAGS D3D12_WORK_GRAPH_FLAG_INCLUDE_ALL_AVAILABLE_NODES = 0x1 } D3D12_WORK_GRAPH_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS ) typedef struct D3D12_WORK_GRAPH_DESC { LPCWSTR ProgramName; @@ -14493,7 +14493,7 @@ enum D3D12_RAYTRACING_GEOMETRY_FLAGS D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2 } D3D12_RAYTRACING_GEOMETRY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS ) typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { @@ -14511,7 +14511,7 @@ enum D3D12_RAYTRACING_INSTANCE_FLAGS D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS ) typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { D3D12_GPU_VIRTUAL_ADDRESS StartAddress; @@ -14570,7 +14570,7 @@ enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20 } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS ) typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { @@ -14739,7 +14739,7 @@ enum D3D12_RAY_FLAGS D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS ) typedef enum D3D12_HIT_KIND { @@ -15690,7 +15690,7 @@ enum D3D12_DRED_FLAGS D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 2 } D3D12_DRED_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS ) typedef enum D3D12_DRED_ENABLEMENT { @@ -15786,7 +15786,7 @@ enum D3D12_DRED_PAGE_FAULT_FLAGS D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0 } D3D12_DRED_PAGE_FAULT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS ) typedef enum D3D12_DRED_DEVICE_STATE { @@ -20784,7 +20784,7 @@ enum D3D12_RENDER_PASS_FLAGS D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_STENCIL = 0x10 } D3D12_RENDER_PASS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0051_v0_0_c_ifspec; @@ -20945,7 +20945,7 @@ enum D3D12_SET_WORK_GRAPH_FLAGS D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE = 0x1 } D3D12_SET_WORK_GRAPH_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS ) typedef struct D3D12_SET_WORK_GRAPH_DESC { D3D12_PROGRAM_IDENTIFIER ProgramIdentifier; @@ -21902,7 +21902,7 @@ enum D3D12_SHADER_CACHE_FLAGS D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2 } D3D12_SHADER_CACHE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS ) typedef struct D3D12_SHADER_CACHE_SESSION_DESC { GUID Identifier; @@ -21981,7 +21981,7 @@ enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_SPLIT = 0x80000000 } D3D12_BARRIER_SYNC; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC ) typedef enum D3D12_BARRIER_ACCESS { @@ -22013,7 +22013,7 @@ enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000 } D3D12_BARRIER_ACCESS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS ) typedef enum D3D12_BARRIER_TYPE { @@ -22029,7 +22029,7 @@ enum D3D12_TEXTURE_BARRIER_FLAGS D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1 } D3D12_TEXTURE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS ) typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { UINT IndexOrFirstMipLevel; @@ -22299,7 +22299,7 @@ enum D3D12_SHADER_CACHE_KIND_FLAGS D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8 } D3D12_SHADER_CACHE_KIND_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS ) typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { @@ -22308,7 +22308,7 @@ enum D3D12_SHADER_CACHE_CONTROL_FLAGS D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4 } D3D12_SHADER_CACHE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0054_v0_0_c_ifspec; @@ -28978,7 +28978,7 @@ enum D3D12_DEVICE_FACTORY_FLAGS D3D12_DEVICE_FACTORY_FLAG_DISALLOW_STORING_NEW_DEVICE_AS_SINGLETON = 0x4 } D3D12_DEVICE_FACTORY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0064_v0_0_c_ifspec; @@ -29163,7 +29163,7 @@ enum D3D12_DEVICE_FLAGS D3D12_DEVICE_FLAG_FORCE_LEGACY_STATE_VALIDATION = 0x400 } D3D12_DEVICE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS ) typedef struct D3D12_DEVICE_CONFIGURATION_DESC { D3D12_DEVICE_FLAGS Flags; diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.idl b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.idl index f040bc99..cb9f4567 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.idl +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12.idl @@ -293,7 +293,7 @@ const UINT D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_END = 0xffffffff; const UINT D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_START = 0xfffffff8; const UINT D3D12_PACKED_TILE = 0xffffffff; const UINT D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; -const UINT D3D12_PREVIEW_SDK_VERSION = 713; +const UINT D3D12_PREVIEW_SDK_VERSION = 714; const UINT D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; const UINT D3D12_PS_CS_UAV_REGISTER_COMPONENTS = 1; const UINT D3D12_PS_CS_UAV_REGISTER_COUNT = 8; @@ -361,7 +361,7 @@ const UINT D3D12_REQ_TEXTURECUBE_DIMENSION = 16384; const UINT D3D12_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; const UINT D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES = 0xffffffff; const UINT D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT = 2; -const UINT D3D12_SDK_VERSION = 613; +const UINT D3D12_SDK_VERSION = 614; const UINT D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES = 32; const UINT D3D12_SHADER_MAJOR_VERSION = 5; const UINT D3D12_SHADER_MAX_INSTANCES = 65535; @@ -476,7 +476,7 @@ typedef enum D3D12_COMMAND_QUEUE_FLAGS D3D12_COMMAND_QUEUE_FLAG_NONE = 0x0, D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1, } D3D12_COMMAND_QUEUE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS )" ) typedef enum D3D12_COMMAND_QUEUE_PRIORITY { @@ -892,7 +892,7 @@ typedef enum D3D12_PIPELINE_STATE_FLAGS D3D12_PIPELINE_STATE_FLAG_DYNAMIC_INDEX_BUFFER_STRIP_CUT = 0x8, } D3D12_PIPELINE_STATE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS )" ) typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { @@ -1030,7 +1030,7 @@ typedef enum D3D12_FEATURE D3D12_FEATURE_PREDICATION = 50, D3D12_FEATURE_PLACED_RESOURCE_SUPPORT_INFO = 51, D3D12_FEATURE_HARDWARE_COPY = 52, - D3D12_FEATURE_D3D12_OPTIONS21 = 53 + D3D12_FEATURE_D3D12_OPTIONS21 = 53, } D3D12_FEATURE; typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT @@ -1039,7 +1039,7 @@ typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1, D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2 } D3D12_SHADER_MIN_PRECISION_SUPPORT; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT )" ) typedef enum D3D12_TILED_RESOURCES_TIER { @@ -1098,7 +1098,7 @@ typedef enum D3D12_FORMAT_SUPPORT1 D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 0x20000000, D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000, } D3D12_FORMAT_SUPPORT1; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 )" ) typedef enum D3D12_FORMAT_SUPPORT2 { @@ -1116,14 +1116,14 @@ typedef enum D3D12_FORMAT_SUPPORT2 D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x00004000, D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x00008000, } D3D12_FORMAT_SUPPORT2; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 )" ) typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS { D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE = 0, D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x00000001, } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS )" ) typedef enum D3D12_CROSS_NODE_SHARING_TIER { @@ -1305,7 +1305,7 @@ typedef enum D3D12_SHADER_CACHE_SUPPORT_FLAGS D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR = 0x20, D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40 } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS )" ) // D3D12_FEATURE_SHADER_CACHE typedef struct D3D12_FEATURE_DATA_SHADER_CACHE @@ -1333,7 +1333,7 @@ typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = 1 << D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE, } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS )") // D3D12_FEATURE_D3D12_OPTIONS3 typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 @@ -1621,6 +1621,7 @@ typedef struct D3D12_FEATURE_DATA_HARDWARE_COPY [annotation("_Out_")] BOOL Supported; } D3D12_FEATURE_DATA_HARDWARE_COPY; + typedef struct D3D12_RESOURCE_ALLOCATION_INFO { UINT64 SizeInBytes; @@ -1691,7 +1692,7 @@ typedef enum D3D12_HEAP_FLAGS } D3D12_HEAP_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS )" ) typedef struct D3D12_HEAP_DESC { @@ -1740,7 +1741,7 @@ typedef enum D3D12_RESOURCE_FLAGS D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100, } D3D12_RESOURCE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS )" ) typedef struct D3D12_MIP_REGION { @@ -1779,6 +1780,7 @@ typedef struct D3D12_RESOURCE_DESC1 } D3D12_RESOURCE_DESC1; + typedef struct D3D12_DEPTH_STENCIL_VALUE { FLOAT Depth; @@ -1874,7 +1876,7 @@ typedef enum D3D12_TILE_MAPPING_FLAGS D3D12_TILE_MAPPING_FLAG_NONE = 0x0, D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1, } D3D12_TILE_MAPPING_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS )" ) typedef enum D3D12_TILE_COPY_FLAGS { @@ -1883,7 +1885,7 @@ typedef enum D3D12_TILE_COPY_FLAGS D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4, } D3D12_TILE_COPY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS )") // Resource Barrier typedef enum D3D12_RESOURCE_STATES @@ -1936,7 +1938,7 @@ typedef enum D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x00800000, } D3D12_RESOURCE_STATES; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES )" ) typedef enum D3D12_RESOURCE_BARRIER_TYPE { @@ -1972,7 +1974,7 @@ typedef enum D3D12_RESOURCE_BARRIER_FLAGS D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1, D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2, } D3D12_RESOURCE_BARRIER_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS )" ) typedef struct D3D12_RESOURCE_BARRIER { @@ -2046,7 +2048,7 @@ typedef enum D3D12_VIEW_INSTANCING_FLAGS D3D12_VIEW_INSTANCING_FLAG_NONE = 0x0, D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1, } D3D12_VIEW_INSTANCING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS )") typedef struct D3D12_VIEW_INSTANCING_DESC { @@ -2081,7 +2083,7 @@ typedef enum D3D12_BUFFER_SRV_FLAGS D3D12_BUFFER_SRV_FLAG_NONE = 0, D3D12_BUFFER_SRV_FLAG_RAW = 0x00000001, // allow device multi-component reads with DWORD addressing } D3D12_BUFFER_SRV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS )" ) typedef struct D3D12_BUFFER_SRV { @@ -2373,7 +2375,7 @@ typedef enum D3D12_SAMPLER_FLAGS D3D12_SAMPLER_FLAG_UINT_BORDER_COLOR = 0x01, D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES = 0x02, } D3D12_SAMPLER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS )") typedef struct D3D12_SAMPLER_DESC2 { @@ -2401,7 +2403,7 @@ typedef enum D3D12_BUFFER_UAV_FLAGS D3D12_BUFFER_UAV_FLAG_NONE = 0, D3D12_BUFFER_UAV_FLAG_RAW = 0x00000001, } D3D12_BUFFER_UAV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS )" ) typedef struct D3D12_BUFFER_UAV { @@ -2610,7 +2612,7 @@ typedef enum D3D12_DSV_FLAGS D3D12_DSV_FLAG_READ_ONLY_DEPTH = 0x1, D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2, } D3D12_DSV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS )" ) typedef enum D3D12_DSV_DIMENSION { @@ -2646,7 +2648,7 @@ typedef enum D3D12_CLEAR_FLAGS D3D12_CLEAR_FLAG_DEPTH = 0x01, D3D12_CLEAR_FLAG_STENCIL = 0x02, } D3D12_CLEAR_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS )" ) typedef enum D3D12_FENCE_FLAGS { @@ -2655,7 +2657,7 @@ typedef enum D3D12_FENCE_FLAGS D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2, D3D12_FENCE_FLAG_NON_MONITORED = 0x4, } D3D12_FENCE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS )" ) typedef enum D3D12_DESCRIPTOR_HEAP_TYPE { @@ -2671,7 +2673,7 @@ typedef enum D3D12_DESCRIPTOR_HEAP_FLAGS D3D12_DESCRIPTOR_HEAP_FLAG_NONE = 0x0, D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1, } D3D12_DESCRIPTOR_HEAP_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS )" ) typedef struct D3D12_DESCRIPTOR_HEAP_DESC { @@ -2768,7 +2770,7 @@ typedef enum D3D12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED = 0x400, D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800, } D3D12_ROOT_SIGNATURE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS )" ) typedef enum D3D12_STATIC_BORDER_COLOR @@ -2834,7 +2836,7 @@ typedef enum D3D12_DESCRIPTOR_RANGE_FLAGS D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC = 0x8, D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000, } D3D12_DESCRIPTOR_RANGE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS )") typedef struct D3D12_DESCRIPTOR_RANGE1 { @@ -2859,7 +2861,7 @@ typedef enum D3D12_ROOT_DESCRIPTOR_FLAGS D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4, D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8, } D3D12_ROOT_DESCRIPTOR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS )") typedef struct D3D12_ROOT_DESCRIPTOR1 { @@ -4026,7 +4028,7 @@ typedef enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0x0, // Alias, default behavior is ALL } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS )" ) // Applications may use the whole value range of UINT for a priority. // These names are merely semantic suggestions. @@ -4080,7 +4082,7 @@ typedef enum D3D12_RESIDENCY_FLAGS D3D12_RESIDENCY_FLAG_NONE = 0x0, D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1, } D3D12_RESIDENCY_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS )" ) [uuid(81dadc15-2bad-4392-93c5-101345c4aa98), object, local, pointer_default(unique)] interface ID3D12Device3 @@ -4109,7 +4111,7 @@ typedef enum D3D12_COMMAND_LIST_FLAGS { D3D12_COMMAND_LIST_FLAG_NONE = 0x0, } D3D12_COMMAND_LIST_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS )") typedef enum D3D12_COMMAND_POOL_FLAGS @@ -4117,14 +4119,14 @@ typedef enum D3D12_COMMAND_POOL_FLAGS D3D12_COMMAND_POOL_FLAG_NONE = 0x0, } D3D12_COMMAND_POOL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS )") typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0x0, } D3D12_COMMAND_RECORDER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS )") typedef enum D3D12_PROTECTED_SESSION_STATUS { @@ -4149,7 +4151,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS )") typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { @@ -4162,7 +4164,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0x0, } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS )") typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC { @@ -4276,7 +4278,7 @@ typedef enum D3D12_META_COMMAND_PARAMETER_FLAGS D3D12_META_COMMAND_PARAMETER_FLAG_INPUT = 0x00000001, D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x00000002 } D3D12_META_COMMAND_PARAMETER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS )") typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { @@ -4316,7 +4318,7 @@ typedef enum D3D12_GRAPHICS_STATES D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = (1 << 16), } D3D12_GRAPHICS_STATES; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES )") typedef struct D3D12_META_COMMAND_DESC { @@ -4441,7 +4443,7 @@ typedef enum D3D12_STATE_OBJECT_FLAGS D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS = 0x2, D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4, } D3D12_STATE_OBJECT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS )") typedef struct D3D12_STATE_OBJECT_CONFIG { @@ -4487,7 +4489,7 @@ typedef enum D3D12_EXPORT_FLAGS { D3D12_EXPORT_FLAG_NONE = 0x0, } D3D12_EXPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS )") typedef struct D3D12_EXPORT_DESC { @@ -4556,7 +4558,7 @@ typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAYTRACING_PIPELINE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS )") typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { @@ -4656,7 +4658,7 @@ typedef enum D3D12_WORK_GRAPH_FLAGS D3D12_WORK_GRAPH_FLAG_NONE = 0x0, D3D12_WORK_GRAPH_FLAG_INCLUDE_ALL_AVAILABLE_NODES = 0x1, } D3D12_WORK_GRAPH_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS )") typedef struct D3D12_WORK_GRAPH_DESC { @@ -4697,7 +4699,7 @@ typedef enum D3D12_RAYTRACING_GEOMETRY_FLAGS D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE = 0x1, D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2, } D3D12_RAYTRACING_GEOMETRY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS )") typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { @@ -4713,7 +4715,7 @@ typedef enum D3D12_RAYTRACING_INSTANCE_FLAGS D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE = 0x4, D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS )") typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { @@ -4771,7 +4773,7 @@ typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY = 0x10, D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20, } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS )") typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { @@ -4933,7 +4935,7 @@ typedef enum D3D12_RAY_FLAGS D3D12_RAY_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAY_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS )" ) typedef enum D3D12_HIT_KIND { @@ -5097,7 +5099,7 @@ typedef enum D3D12_DRED_FLAGS D3D12_DRED_FLAG_FORCE_ENABLE = 1, D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 2, } D3D12_DRED_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS )") typedef enum D3D12_DRED_ENABLEMENT { @@ -5193,7 +5195,7 @@ typedef enum D3D12_DRED_PAGE_FAULT_FLAGS { D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0, } D3D12_DRED_PAGE_FAULT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS )") typedef enum D3D12_DRED_DEVICE_STATE { @@ -5430,6 +5432,7 @@ interface ID3D12Resource2 } + [uuid(572F7389-2168-49E3-9693-D6DF5871BF6D), object, local, pointer_default(unique)] interface ID3D12Heap1 : ID3D12Heap @@ -5570,7 +5573,7 @@ typedef enum D3D12_RENDER_PASS_FLAGS D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_DEPTH = 0x8, D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_STENCIL = 0x10 } D3D12_RENDER_PASS_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS )") [uuid(DBB84C27-36CE-4FC9-B801-F048C46AC570), object, local, pointer_default(unique)] interface ID3D12MetaCommand : ID3D12Pageable @@ -5594,7 +5597,7 @@ typedef enum D3D12_SET_WORK_GRAPH_FLAGS D3D12_SET_WORK_GRAPH_FLAG_NONE = 0x0, D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE = 0x1, } D3D12_SET_WORK_GRAPH_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS )" ) typedef struct D3D12_SET_WORK_GRAPH_DESC { @@ -5739,7 +5742,7 @@ typedef enum D3D12_SHADER_CACHE_FLAGS D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED = 0x1, D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2, } D3D12_SHADER_CACHE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS )") typedef struct D3D12_SHADER_CACHE_SESSION_DESC { @@ -5820,7 +5823,7 @@ typedef enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE = 0x1000000, D3D12_BARRIER_SYNC_SPLIT = 0x80000000, } D3D12_BARRIER_SYNC; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC )" ) typedef enum D3D12_BARRIER_ACCESS { @@ -5851,7 +5854,7 @@ typedef enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_VIDEO_ENCODE_WRITE = 0x400000, D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000, } D3D12_BARRIER_ACCESS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS )" ) typedef enum D3D12_BARRIER_TYPE { @@ -5865,7 +5868,7 @@ typedef enum D3D12_TEXTURE_BARRIER_FLAGS D3D12_TEXTURE_BARRIER_FLAG_NONE = 0x0, D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1, } D3D12_TEXTURE_BARRIER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS )") typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { @@ -5947,7 +5950,7 @@ typedef enum D3D12_SHADER_CACHE_KIND_FLAGS D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 0x4, D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8, } D3D12_SHADER_CACHE_KIND_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS )") typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { @@ -5955,7 +5958,7 @@ typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE = 0x2, D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4, } D3D12_SHADER_CACHE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS )") [uuid(4c80e962-f032-4f60-bc9e-ebc2cfa1d83c), object, local, pointer_default(unique)] interface ID3D12Device9 @@ -6063,6 +6066,7 @@ interface ID3D12Device14 : ID3D12Device13 [out, iid_is(riid), annotation("_COM_Outptr_")] void** ppvRootSignature); }; + [uuid(bc66d368-7373-4943-8757-fc87dc79e476), object, local, pointer_default(unique)] interface ID3D12VirtualizationGuestDevice : IUnknown @@ -6089,7 +6093,6 @@ interface ID3D12Tools } - typedef struct D3D12_SUBRESOURCE_DATA { const void* pData; @@ -6264,7 +6267,7 @@ typedef enum D3D12_DEVICE_FACTORY_FLAGS D3D12_DEVICE_FACTORY_FLAG_ALLOW_RETURNING_INCOMPATIBLE_EXISTING_DEVICE = 0x2, D3D12_DEVICE_FACTORY_FLAG_DISALLOW_STORING_NEW_DEVICE_AS_SINGLETON = 0x4, } D3D12_DEVICE_FACTORY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS )") [uuid(61f307d3-d34e-4e7c-8374-3ba4de23cccb), object, local, pointer_default(unique)] interface ID3D12DeviceFactory @@ -6309,7 +6312,7 @@ typedef enum D3D12_DEVICE_FLAGS D3D12_DEVICE_FLAG_AUTO_DEBUG_NAME_ENABLED = 0x200, D3D12_DEVICE_FLAG_FORCE_LEGACY_STATE_VALIDATION = 0x400, } D3D12_DEVICE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS )") typedef struct D3D12_DEVICE_CONFIGURATION_DESC { diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.h index f61c590c..bab8d6f1 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.h @@ -133,7 +133,7 @@ enum D3D12_COMPATIBILITY_SHARED_FLAGS D3D12_COMPATIBILITY_SHARED_FLAG_9_ON_12 = 0x4 } D3D12_COMPATIBILITY_SHARED_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS ) typedef enum D3D12_REFLECT_SHARED_PROPERTY { diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.idl b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.idl index edb0d8da..f0f6edd2 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.idl +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12compatibility.idl @@ -22,7 +22,7 @@ typedef enum D3D12_COMPATIBILITY_SHARED_FLAGS D3D12_COMPATIBILITY_SHARED_FLAG_9_ON_12 = 0x4, } D3D12_COMPATIBILITY_SHARED_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS )" ) typedef enum D3D12_REFLECT_SHARED_PROPERTY { diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.h index 7951a9ee..3bab2e37 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.h @@ -3314,8 +3314,39 @@ enum D3D12_MESSAGE_ID D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT = 1386, D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_STRUCTURED_BUFFER_STRIDE_MISMATCH = 1387, D3D12_MESSAGE_ID_DISPATCH_GRAPH_INVALID = 1388, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_FORMAT_INVALID = 1389, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_DIMENSION_INVALID = 1390, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_COLOR_FORMAT_INVALID = 1391, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_DEPTH_FORMAT_INVALID = 1392, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXPOSURE_SCALE_FORMAT_INVALID = 1393, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_ENGINE_CREATE_FLAGS_INVALID = 1394, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_LOAD_FAILURE = 1395, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_ENGINE_CREATION_ERROR = 1396, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_CREATION_ERROR = 1397, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_EXECUTION_ERROR = 1398, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REGION_INVALID = 1399, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_TIME_DELTA_INVALID = 1400, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REQUIRED_TEXTURE_IS_NULL = 1401, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_MOTION_VECTORS_FORMAT_INVALID = 1402, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FLAGS_INVALID = 1403, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FORMAT_INVALID = 1404, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_EXPOSURE_SCALE_TEXTURE_SIZE_INVALID = 1405, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_INDEX_OUT_OF_BOUNDS = 1406, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_ID_NOT_FOUND = 1407, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_DUPLICATE_VARIANT_ID = 1408, + D3D12_MESSAGE_ID_DIRECTSR_OUT_OF_MEMORY = 1409, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_UNEXPECTED_TEXTURE_IS_IGNORED = 1410, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EVICT_UNDERFLOW = 1411, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_OPTIONAL_TEXTURE_IS_NULL = 1412, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_INVALID_CAMERA_JITTER = 1413, D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING = 1414, - D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING + 1 ) + D3D12_MESSAGE_ID_GUID_TEXTURE_LAYOUT_UNSUPPORTED = 1415, + D3D12_MESSAGE_ID_RESOLVE_ENCODER_INPUT_PARAM_LAYOUT_INVALID_PARAMETERS = 1416, + D3D12_MESSAGE_ID_INVALID_BARRIER_ACCESS = 1417, + D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INSTANCE_COUNT_ZERO = 1418, + D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SET_BEFORE_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1419, + D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1420, + D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG + 1 ) } D3D12_MESSAGE_ID; typedef struct D3D12_MESSAGE diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.idl b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.idl index c9f2d0dc..36e7d5d4 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.idl +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12sdklayers.idl @@ -1455,7 +1455,7 @@ typedef enum D3D12_MESSAGE_ID { D3D12_MESSAGE_ID_PROBABLE_PIX_EVENT_LEAK = 1383, D3D12_MESSAGE_ID_PIX_EVENT_UNDERFLOW = 1384, - + D3D12_MESSAGE_ID_RECREATEAT_INVALID_TARGET = 1385, D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT = 1386, @@ -1463,7 +1463,38 @@ typedef enum D3D12_MESSAGE_ID { D3D12_MESSAGE_ID_DISPATCH_GRAPH_INVALID = 1388, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_FORMAT_INVALID = 1389, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_DIMENSION_INVALID = 1390, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_COLOR_FORMAT_INVALID = 1391, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_DEPTH_FORMAT_INVALID = 1392, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXPOSURE_SCALE_FORMAT_INVALID = 1393, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_ENGINE_CREATE_FLAGS_INVALID = 1394, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_LOAD_FAILURE = 1395, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_ENGINE_CREATION_ERROR = 1396, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_CREATION_ERROR = 1397, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_EXECUTION_ERROR = 1398, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REGION_INVALID = 1399, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_TIME_DELTA_INVALID = 1400, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REQUIRED_TEXTURE_IS_NULL = 1401, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_MOTION_VECTORS_FORMAT_INVALID = 1402, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FLAGS_INVALID = 1403, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FORMAT_INVALID = 1404, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_EXPOSURE_SCALE_TEXTURE_SIZE_INVALID = 1405, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_INDEX_OUT_OF_BOUNDS = 1406, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_ID_NOT_FOUND = 1407, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_DUPLICATE_VARIANT_ID = 1408, + D3D12_MESSAGE_ID_DIRECTSR_OUT_OF_MEMORY = 1409, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_UNEXPECTED_TEXTURE_IS_IGNORED = 1410, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EVICT_UNDERFLOW = 1411, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_OPTIONAL_TEXTURE_IS_NULL = 1412, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_INVALID_CAMERA_JITTER = 1413, D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING = 1414, + D3D12_MESSAGE_ID_GUID_TEXTURE_LAYOUT_UNSUPPORTED = 1415, + D3D12_MESSAGE_ID_RESOLVE_ENCODER_INPUT_PARAM_LAYOUT_INVALID_PARAMETERS = 1416, + D3D12_MESSAGE_ID_INVALID_BARRIER_ACCESS = 1417, + D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INSTANCE_COUNT_ZERO = 1418, + D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SET_BEFORE_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1419, + D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1420, D3D12_MESSAGE_ID_D3D12_MESSAGES_END } D3D12_MESSAGE_ID; diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.h index 32f4da0f..e38f12f0 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.h @@ -409,7 +409,7 @@ enum D3D12_VIDEO_PROCESS_FILTER_FLAGS D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = ( 1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT ) } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { @@ -418,7 +418,7 @@ enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000 } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ) typedef struct D3D12_VIDEO_PROCESS_ALPHA_BLENDING { BOOL Enable; @@ -931,7 +931,7 @@ enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS ) typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { @@ -942,7 +942,7 @@ enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8 } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ) typedef enum D3D12_VIDEO_DECODE_STATUS { @@ -1034,7 +1034,7 @@ enum D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAG_A = ( 1 << D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A ) } D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { UINT NodeIndex; @@ -1054,7 +1054,7 @@ enum D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS ) typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS { @@ -1063,7 +1063,7 @@ enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS D3D12_VIDEO_SCALE_SUPPORT_FLAG_EVEN_DIMENSIONS_ONLY = 0x2 } D3D12_VIDEO_SCALE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS ) typedef struct D3D12_VIDEO_SCALE_SUPPORT { D3D12_VIDEO_SIZE_RANGE OutputSizeRange; @@ -1354,7 +1354,7 @@ enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO = 0x40 } D3D12_VIDEO_PROCESS_FEATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { @@ -1370,7 +1370,7 @@ enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM = 0x80000000 } D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_ORIENTATION { @@ -1392,7 +1392,7 @@ enum D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_REPEAT = 0x2 } D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS ) typedef struct D3D12_VIDEO_PROCESS_FILTER_RANGE { INT Minimum; @@ -1408,7 +1408,7 @@ enum D3D12_VIDEO_PROCESS_SUPPORT_FLAGS D3D12_VIDEO_PROCESS_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_PROCESS_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { UINT NodeIndex; @@ -2763,7 +2763,7 @@ enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 ) } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS ) typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { @@ -2777,7 +2777,7 @@ enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL ) } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { UINT NodeIndex; @@ -3707,7 +3707,7 @@ enum D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { UINT NodeIndex; @@ -3782,7 +3782,7 @@ enum D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_WRITE = 0x2 } D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { UINT NodeIndex; @@ -6420,7 +6420,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS = 0x2000000 } D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE { @@ -6438,7 +6438,7 @@ enum D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT = ( 1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT ) } D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { @@ -6460,7 +6460,7 @@ enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE = ( 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE ) } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { @@ -6500,7 +6500,7 @@ enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV = ( 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV ) } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { @@ -6530,7 +6530,7 @@ enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256 = 0x8 } D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { @@ -6550,7 +6550,7 @@ enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE = ( 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE ) } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { @@ -6566,7 +6566,7 @@ enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES = 0x100 } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS SupportedFeatureFlags; @@ -6600,7 +6600,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME = ( 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME ) } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { @@ -6667,7 +6667,7 @@ enum D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV = 0x4000 } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE FrameRestorationType[ 3 ]; @@ -6819,7 +6819,7 @@ enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QUALITY_VS_SPEED = 0x80 } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { UINT ConstantQP_FullIntracodedFrame; @@ -7165,7 +7165,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_TOTAL_TILES = 0x80 } D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { BOOL Use128SuperBlocks; @@ -7209,7 +7209,7 @@ enum D3D12_VIDEO_ENCODER_HEAP_FLAGS D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0 } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS) typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { UINT NodeMask; @@ -7243,7 +7243,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE_SUPPORT = 0x80 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { @@ -7269,7 +7269,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = ( 1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING ) } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS SupportFlags; @@ -7314,7 +7314,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_CHROMA_QP_OFFSET_LIST_ENABLED_FLAG_REQUIRED = 0x80000000 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { @@ -7352,7 +7352,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_REQUIRED = 0x2 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS SupportFlags; @@ -7449,10 +7449,11 @@ enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SEQUENCE_GOP_RECONFIGURATION_AVAILABLE = 0x800, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_EXTENSION1_SUPPORT = 0x2000, - D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000 + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000, + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_READABLE_RECONSTRUCTED_PICTURE_LAYOUT_AVAILABLE = 0x8000 } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { @@ -7463,7 +7464,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { @@ -7502,7 +7503,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_SEPARATE_COLOUR_PLANE = 0x10000 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; @@ -7565,7 +7566,7 @@ enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_DATA_NOT_SUPPORTED = 0x1000 } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS) typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { UINT GOPLength; @@ -7676,7 +7677,7 @@ enum D3D12_VIDEO_ENCODER_FLAGS D3D12_VIDEO_ENCODER_FLAG_NONE = 0 } D3D12_VIDEO_ENCODER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS) typedef struct D3D12_VIDEO_ENCODER_DESC { UINT NodeMask; @@ -8334,7 +8335,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE = 0x2 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { UCHAR memory_management_control_operation; @@ -8405,7 +8406,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CHROMA_QP_OFFSET_LIST = 0x8 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS Flags; @@ -8481,7 +8482,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { UINT IntraRefreshFrameIndex; @@ -8501,7 +8502,7 @@ enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10 } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS Flags; @@ -8552,7 +8553,7 @@ enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10 } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS) typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { UINT64 AverageQP; diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.idl b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.idl index f6814bdd..6e3fba3a 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.idl +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3d12video.idl @@ -95,7 +95,6 @@ typedef enum D3D12_FEATURE_VIDEO D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG = 46, D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1 = 47, - } D3D12_FEATURE_VIDEO; typedef enum D3D12_BITSTREAM_ENCRYPTION_TYPE @@ -161,7 +160,7 @@ typedef enum D3D12_VIDEO_PROCESS_FILTER_FLAGS D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = (1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT), } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { @@ -170,7 +169,7 @@ typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000, } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS )") typedef struct D3D12_VIDEO_PROCESS_ALPHA_BLENDING { @@ -285,7 +284,7 @@ typedef enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS )") typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { @@ -296,7 +295,7 @@ typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8, } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS )") typedef enum D3D12_VIDEO_DECODE_STATUS { @@ -389,7 +388,7 @@ typedef enum D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAG_A = (1 << D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A), } D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { @@ -409,7 +408,7 @@ typedef enum D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS )") typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS { @@ -418,7 +417,7 @@ typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS D3D12_VIDEO_SCALE_SUPPORT_FLAG_EVEN_DIMENSIONS_ONLY = 0x2, } D3D12_VIDEO_SCALE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS )") typedef struct D3D12_VIDEO_SCALE_SUPPORT { @@ -532,7 +531,7 @@ typedef enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO = 0x40, } D3D12_VIDEO_PROCESS_FEATURE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { @@ -548,7 +547,7 @@ typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM = 0x80000000, } D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_ORIENTATION { @@ -569,7 +568,7 @@ typedef enum D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_REPEAT = 0x2, } D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS )") typedef struct D3D12_VIDEO_PROCESS_FILTER_RANGE { @@ -585,7 +584,7 @@ typedef enum D3D12_VIDEO_PROCESS_SUPPORT_FLAGS D3D12_VIDEO_PROCESS_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_PROCESS_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { @@ -897,7 +896,7 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = (1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16), } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS )" ) typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { @@ -910,7 +909,7 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = (1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL), } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS )" ) // D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT @@ -1132,7 +1131,7 @@ typedef enum D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS )") // D3D12_FEATURE_VIDEO_DECODE_PROTECTED_RESOURCES typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES @@ -1210,7 +1209,7 @@ typedef enum D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_WRITE = 0x00000002 } D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { @@ -1557,7 +1556,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SKIP_MODE_PRESENT = 0x1000000, D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS = 0x2000000, } D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE { D3D12_VIDEO_ENCODER_AV1_TX_MODE_ONLY4x4 = 0, @@ -1571,7 +1570,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_LARGEST = (1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_LARGEST), D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT = (1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT), } D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP = 0, @@ -1589,7 +1588,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_BILINEAR = (1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_BILINEAR), D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE = (1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE), } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_4x4 = 0, @@ -1623,7 +1622,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_SKIP = (1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_SKIP), D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV = (1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV), } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_DISABLED = 0, @@ -1647,7 +1646,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_128x128 = 0x4, D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256 = 0x8, } D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { @@ -1664,7 +1663,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_ROTZOOM = (1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_ROTZOOM), D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE = (1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE), } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_NONE = 0, @@ -1678,7 +1677,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_PRIMARY_REF_FRAME = 0x80, D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES = 0x100, } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS SupportedFeatureFlags; @@ -1708,7 +1707,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTRA_ONLY_FRAME = (1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTRA_ONLY_FRAME), D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME = (1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME), } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { @@ -1773,7 +1772,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV = 0x4000, } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE FrameRestorationType[3]; @@ -1921,7 +1920,7 @@ typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_EXTENSION1_SUPPORT = 0x40, D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QUALITY_VS_SPEED = 0x80, } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { UINT ConstantQP_FullIntracodedFrame; @@ -2253,7 +2252,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FL D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_TOTAL_TILES = 0x80, } D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { @@ -2295,7 +2294,7 @@ typedef enum D3D12_VIDEO_ENCODER_HEAP_FLAGS { D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { @@ -2327,7 +2326,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_CONSTRAINED_INTRAPREDICTION_SUPPORT = 0x40, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE_SUPPORT = 0x80, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_0_ALL_LUMA_CHROMA_SLICE_BLOCK_EDGES_ALWAYS_FILTERED = 0, @@ -2349,7 +2348,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES), D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING), } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS SupportFlags; @@ -2393,7 +2392,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_CHROMA_QP_OFFSET_LIST_ENABLED_FLAG_REQUIRED = 0x80000000, // 2^31 - 32 bit integer enum type } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE_8x8 = 0, @@ -2426,7 +2425,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_SUPPORT = 0x1, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_REQUIRED = 0x2, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS SupportFlags; @@ -2517,8 +2516,9 @@ typedef enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_EXTENSION1_SUPPORT = 0x2000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000, + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_READABLE_RECONSTRUCTED_PICTURE_LAYOUT_AVAILABLE = 0x8000, } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { @@ -2528,7 +2528,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ENABLE_CABAC_ENCODING = 0x4, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_DISABLED = 0, @@ -2564,7 +2564,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_CABAC_BYPASS_ALIGNMENT = 0x8000, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_SEPARATE_COLOUR_PLANE = 0x10000, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; @@ -2625,7 +2625,7 @@ typedef enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_VALIDATION_FLAG_GOP_STRUCTURE_NOT_SUPPORTED = 0x800, D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_DATA_NOT_SUPPORTED = 0x1000, } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { @@ -2757,7 +2757,7 @@ typedef enum D3D12_VIDEO_ENCODER_FLAGS { D3D12_VIDEO_ENCODER_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_DESC { @@ -2845,7 +2845,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE = 0x2, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { @@ -2914,7 +2914,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CROSS_COMPONENT_PREDICTION = 0x4, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CHROMA_QP_OFFSET_LIST = 0x8, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { @@ -2989,7 +2989,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { @@ -3008,7 +3008,7 @@ typedef enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_REQUEST_INTRA_REFRESH = 0x8, D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10, } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { @@ -3062,7 +3062,7 @@ typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED = 0x8, D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10, } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_core.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_core.h index a93ff5b5..87814fb8 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_core.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_core.h @@ -1495,6 +1495,7 @@ inline const CD3DX12_RESOURCE_DESC1* D3DX12ConditionallyExpandAPIDesc( } } + //------------------------------------------------------------------------------------------------ struct CD3DX12_VIEW_INSTANCING_DESC : public D3D12_VIEW_INSTANCING_DESC { @@ -1532,4 +1533,5 @@ struct CD3DX12_RT_FORMAT_ARRAY : public D3D12_RT_FORMAT_ARRAY memcpy(RTFormats, pFormats, sizeof(RTFormats)); // assumes ARRAY_SIZE(pFormats) == ARRAY_SIZE(RTFormats) } -}; \ No newline at end of file +}; + diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h index 5591a932..a3ee813c 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h @@ -11,8 +11,8 @@ #error D3DX12 requires C++ #endif -#include "d3d12.h" #include "d3dx12_default.h" +#include "d3d12.h" #include "d3dx12_core.h" //------------------------------------------------------------------------------------------------ @@ -1494,3 +1494,4 @@ inline HRESULT D3DX12ParsePipelineStream(const D3D12_PIPELINE_STATE_STREAM_DESC& return S_OK; } + diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h index 902ec0cd..c0c540c5 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h @@ -11,9 +11,9 @@ #error D3DX12 requires C++ #endif +#include "d3dx12_property_format_table.h" #include "d3d12.h" #include "d3dx12_core.h" -#include "d3dx12_property_format_table.h" //------------------------------------------------------------------------------------------------ template inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& MipSlice, _Out_ U& ArraySlice, _Out_ V& PlaneSlice ) noexcept diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_state_object.h b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_state_object.h index f74d2577..8f3456b6 100644 --- a/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_state_object.h +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/include/d3dx12/d3dx12_state_object.h @@ -11,8 +11,8 @@ #error D3DX12 requires C++ #endif -#include "d3d12.h" #include "d3dx12_default.h" +#include "d3d12.h" #include "d3dx12_core.h" //================================================================================================ @@ -2151,3 +2151,4 @@ class CD3DX12_WORK_GRAPH_SUBOBJECT #undef D3DX12_COM_PTR #undef D3DX12_COM_PTR_GET #undef D3DX12_COM_PTR_ADDRESSOF + diff --git a/_GeneratedCode/UnitTests/DX12/AgilitySDK/version.txt b/_GeneratedCode/UnitTests/DX12/AgilitySDK/version.txt new file mode 100644 index 00000000..9eb39bf7 --- /dev/null +++ b/_GeneratedCode/UnitTests/DX12/AgilitySDK/version.txt @@ -0,0 +1,4 @@ +1.614.1 +downloaded from https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.614.1 +I renamed the .nupkg to .zip and grabbed the bin and include from the build/native folder. +I also copied the contents of bin/x64 to bin and deleted the 3 subfolders (arm64, win32, x64) \ No newline at end of file diff --git a/_GeneratedCode/UnitTests/DX12/DX12Utils/dxutils.cpp b/_GeneratedCode/UnitTests/DX12/DX12Utils/dxutils.cpp index 0cf547cc..b84fff3f 100644 --- a/_GeneratedCode/UnitTests/DX12/DX12Utils/dxutils.cpp +++ b/_GeneratedCode/UnitTests/DX12/DX12Utils/dxutils.cpp @@ -624,7 +624,7 @@ namespace DX12Utils // allocate a scratch buffer for creating our BLAS and TLAS scratch = CreateBuffer( device, - (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ResultDataMaxSizeInBytes, bottomLevelPrebuildInfo.ResultDataMaxSizeInBytes)), + (unsigned int)ALIGN(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT, max(topLevelPrebuildInfo.ScratchDataSizeInBytes, bottomLevelPrebuildInfo.ScratchDataSizeInBytes)), D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COMMON, D3D12_HEAP_TYPE_DEFAULT, diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests.vcxproj b/_GeneratedCode/UnitTests/DX12/UnitTests.vcxproj index 16549e12..8d368ced 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests.vcxproj +++ b/_GeneratedCode/UnitTests/DX12/UnitTests.vcxproj @@ -93,9 +93,11 @@ Sync Disabled stdcpp17 + Disabled NotUsing MultiThreadedDebugDLL + false %(PreprocessorDefinitions);WIN32;_WINDOWS;CMAKE_INTDIR="Debug" $(IntDir) @@ -131,12 +133,15 @@ D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\imgui;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\AgilitySDK\include;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr\deps\miniz;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\WinPixEventRuntime.1.0.230302001\Include;%(AdditionalIncludeDirectories) $(IntDir) + Default Sync AnySuitable stdcpp17 + MaxSpeed NotUsing MultiThreadedDLL + false %(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;CMAKE_INTDIR="Release" $(IntDir) @@ -174,12 +179,15 @@ D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\imgui;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\AgilitySDK\include;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr\deps\miniz;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\WinPixEventRuntime.1.0.230302001\Include;%(AdditionalIncludeDirectories) $(IntDir) + Default Sync OnlyExplicitInline stdcpp17 + MinSpace NotUsing MultiThreadedDLL + false %(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;CMAKE_INTDIR="MinSizeRel" $(IntDir) @@ -217,13 +225,16 @@ D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\imgui;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\AgilitySDK\include;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\DX12Utils\tinyexr\deps\miniz;D:\dev\gitlab\gigi\_GeneratedCode\UnitTests\DX12\.\WinPixEventRuntime.1.0.230302001\Include;%(AdditionalIncludeDirectories) $(IntDir) + Default ProgramDatabase Sync OnlyExplicitInline stdcpp17 + MaxSpeed NotUsing MultiThreadedDLL + false %(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;CMAKE_INTDIR="RelWithDebInfo" $(IntDir) @@ -1001,6 +1012,7 @@ + diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Buffers/StructuredBuffer/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Buffers/StructuredBuffer/private/technique.h index c81e6d44..fff54f4c 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Buffers/StructuredBuffer/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Buffers/StructuredBuffer/private/technique.h @@ -50,7 +50,7 @@ namespace StructuredBuffer { float frameDeltaTime = 0.000000f; int frameIndex = 0; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; // Variables diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/ReadbackSequence/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/ReadbackSequence/private/technique.h index 1046778a..970089eb 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/ReadbackSequence/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/ReadbackSequence/private/technique.h @@ -31,7 +31,7 @@ namespace ReadbackSequence struct Struct__ReadbackSequenceCSCB { int frameIndex = 0; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; Struct__ReadbackSequenceCSCB constantBuffer__ReadbackSequenceCSCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/SlangAutoDiff/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/SlangAutoDiff/private/technique.h index ea6e4f56..68a4628e 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/SlangAutoDiff/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/SlangAutoDiff/private/technique.h @@ -31,20 +31,20 @@ namespace SlangAutoDiff struct Struct__InitCB { int FrameIndex = 0; - float3 _padding0 = {}; // Padding - float4 MouseState = {}; - float4 MouseStateLastFrame = {}; + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding + float4 MouseState = {0.0f,0.0f,0.0f,0.0f}; + float4 MouseStateLastFrame = {0.0f,0.0f,0.0f,0.0f}; int NumGaussians = 10; - float3 iResolution = {}; + float3 iResolution = {0.0f,0.0f,0.0f}; unsigned int initialized = false; - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; struct Struct__RenderCB { int NumGaussians = 10; unsigned int QuantizeDisplay = false; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; struct Struct__DescendCB diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/boxblur/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/boxblur/private/technique.h index 9ef1dd1d..83791aaf 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/boxblur/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Compute/boxblur/private/technique.h @@ -32,7 +32,7 @@ namespace boxblur { int radius = 2; // The radius of the blur. Actual size in pixles of the blur is (radius*2+1)^2 unsigned int sRGB = true; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; // An internal texture used during the blurring process diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/public/technique.h index b8d4dc5e..e7ad47cc 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/public/technique.h @@ -211,6 +211,6 @@ namespace Mesh struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/readme.txt b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/readme.txt index be8c6d01..73522563 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/readme.txt +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/Mesh/readme.txt @@ -107,5 +107,5 @@ there instead of in the usual windows SDK location. You also need to add this to a single cpp file (such as where your main function exists): -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\AgilitySDK\\bin\\"; } diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/private/technique.h index 39b8a0b7..1f4ac5d7 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/private/technique.h @@ -31,7 +31,7 @@ namespace MeshAmplification struct Struct__MeshShaderCB { float AmplificationSpacing = 2.000000f; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding float4x4 ViewProjMtx = {1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/public/technique.h index 82b85b39..37231217 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/public/technique.h @@ -214,6 +214,6 @@ namespace MeshAmplification struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/readme.txt b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/readme.txt index 57736b9f..5aaf95be 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/readme.txt +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplification/readme.txt @@ -107,5 +107,5 @@ there instead of in the usual windows SDK location. You also need to add this to a single cpp file (such as where your main function exists): -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\AgilitySDK\\bin\\"; } diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/private/technique.h index 70a6c2c8..788cc2b8 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/private/technique.h @@ -31,7 +31,7 @@ namespace MeshAmplificationLines struct Struct__MeshShaderCB { float AmplificationSpacing = 2.000000f; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding float4x4 ViewProjMtx = {1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/public/technique.h index b918d0dd..97186a64 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/public/technique.h @@ -214,6 +214,6 @@ namespace MeshAmplificationLines struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/readme.txt b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/readme.txt index 274055b4..d6342cfb 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/readme.txt +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/MeshShaders/MeshAmplificationLines/readme.txt @@ -107,5 +107,5 @@ there instead of in the usual windows SDK location. You also need to add this to a single cpp file (such as where your main function exists): -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\AgilitySDK\\bin\\"; } diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/Stencil/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/Stencil/public/technique.h index 8e9d81b5..e15f7fc6 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/Stencil/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/Stencil/public/technique.h @@ -212,8 +212,8 @@ namespace Stencil struct Struct_VertexBuffer { - float3 pos = {}; - float3 normal = {}; - float2 uv = {}; + float3 pos = {0.0f,0.0f,0.0f}; + float3 normal = {0.0f,0.0f,0.0f}; + float2 uv = {0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/VRS/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/VRS/public/technique.h index c5ccc78e..ba56a77d 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/VRS/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/VRS/public/technique.h @@ -213,6 +213,6 @@ namespace VRS struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/private/technique.h index a5fa8889..57f51b12 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/private/technique.h @@ -54,7 +54,7 @@ namespace YesVertexStruct_NoIndex_NoInstance struct Struct__PixelShaderCB { int viewMode = (int)ViewMode::Normal; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; Struct__VertexShaderCB constantBuffer__VertexShaderCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/public/technique.h index 34c5f92a..0dfa4ad2 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_NoInstance/public/technique.h @@ -213,7 +213,7 @@ namespace YesVertexStruct_NoIndex_NoInstance struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; - float2 UV = {}; + float3 Normal = {0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceStruct/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceStruct/private/technique.h index ca76d74f..47693e03 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceStruct/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceStruct/private/technique.h @@ -54,7 +54,7 @@ namespace YesVertexStruct_NoIndex_YesInstanceStruct struct Struct__PixelShaderCB { int viewMode = (int)ViewMode::Normal; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; Struct__VertexShaderCB constantBuffer__VertexShaderCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/private/technique.h index 3581ad10..c0eefe67 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/private/technique.h @@ -54,7 +54,7 @@ namespace YesVertexStruct_NoIndex_YesInstanceType struct Struct__PixelShaderCB { int viewMode = (int)ViewMode::Normal; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; Struct__VertexShaderCB constantBuffer__VertexShaderCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/public/technique.h index 8357952d..e2f7d278 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_NoIndex_YesInstanceType/public/technique.h @@ -222,7 +222,7 @@ namespace YesVertexStruct_NoIndex_YesInstanceType struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; - float2 UV = {}; + float3 Normal = {0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/private/technique.h index 022a0657..9b37e38c 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/private/technique.h @@ -52,7 +52,7 @@ namespace YesVertexStruct_YesIndex_NoInstance struct Struct__PixelShaderCB { int viewMode = (int)ViewMode::UV; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; Struct__VertexShaderCB constantBuffer__VertexShaderCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/public/technique.h index ee99a0af..e0f26dc0 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/YesVertexStruct_YesIndex_NoInstance/public/technique.h @@ -221,6 +221,6 @@ namespace YesVertexStruct_YesIndex_NoInstance struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float2 UV = {}; + float2 UV = {0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster/public/technique.h index 8a2c9b05..4547f2dc 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster/public/technique.h @@ -212,6 +212,6 @@ namespace simpleRaster struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster2/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster2/public/technique.h index 0fdd645e..295af274 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster2/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster2/public/technique.h @@ -212,6 +212,6 @@ namespace simpleRaster2 struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Lines/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Lines/public/technique.h index 4aea0c1e..db6f07b1 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Lines/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Lines/public/technique.h @@ -212,6 +212,6 @@ namespace simpleRaster_Lines struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Points/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Points/public/technique.h index 9636693f..6e44f4e6 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Points/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Raster/simpleRaster_Points/public/technique.h @@ -212,6 +212,6 @@ namespace simpleRaster_Points struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHit/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHit/private/technique.h index 8c8f2612..699830fb 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHit/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHit/private/technique.h @@ -34,7 +34,7 @@ namespace AnyHit float _padding0 = 0.000000f; // Padding float4x4 InvViewProjMtx = {1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}; float depthNearPlane = 0.000000f; - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; Struct__RayGenCB constantBuffer__RayGenCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHitSimple/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHitSimple/private/technique.h index 2da29774..9ecf5c0e 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHitSimple/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/AnyHitSimple/private/technique.h @@ -34,7 +34,7 @@ namespace AnyHitSimple float _padding0 = 0.000000f; // Padding float4x4 InvViewProjMtx = {1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}; float depthNearPlane = 0.000000f; - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; Struct__RayGenCB constantBuffer__RayGenCB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGens/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGens/private/technique.h index 2375d149..d7b7f3b0 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGens/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGens/private/technique.h @@ -30,41 +30,41 @@ namespace TwoRayGens struct Struct_VertexBuffer { - float3 Color = {}; - float3 Position = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct__TwoRayGens1CB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; struct Struct__TwoRayGens2CB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; Struct__TwoRayGens1CB constantBuffer__TwoRayGens1CB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGensSubgraph/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGensSubgraph/private/technique.h index a4999354..e9ffc7ce 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGensSubgraph/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/TwoRayGensSubgraph/private/technique.h @@ -30,83 +30,83 @@ namespace TwoRayGensSubgraph struct Struct_VertexBuffer { - float3 Color = {}; - float3 Position = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct_A_VertexBuffer { - float3 Color = {}; - float3 Position = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_A_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_A_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct_B_VertexBuffer { - float3 Color = {}; - float3 Position = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_B_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_B_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct__A_TwoRayGens1CB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; struct Struct__B_TwoRayGens2CB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. - float3 _padding1 = {}; // Padding + float3 _padding1 = {0.0f,0.0f,0.0f}; // Padding }; Struct__A_TwoRayGens1CB constantBuffer__A_TwoRayGens1CB_cpu; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/private/technique.h index e0a95a95..98047caf 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/private/technique.h @@ -30,24 +30,24 @@ namespace simpleRT struct Struct_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct__SimpleRTRayGenCB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. float3 hitColor = {0.0f, 1.0f, 0.0f}; float3 missColor = {1.0f, 0.0f, 0.0f}; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/public/technique.h index 33945fab..58dec99c 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT/public/technique.h @@ -202,7 +202,7 @@ namespace simpleRT struct Struct_VertexBuffer { - float3 Color = {}; - float3 Position = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/private/technique.h index 5327f8e7..f91a4a51 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/private/technique.h @@ -30,24 +30,24 @@ namespace simpleRT_inline struct Struct_VertexBufferSimple { - float3 Position = {}; + float3 Position = {0.0f,0.0f,0.0f}; }; struct Struct_VertexBufferFull { - float3 Position = {}; - float3 Color = {}; - float3 Normal = {}; - float4 Tangent = {}; - float2 UV = {}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; + float4 Tangent = {0.0f,0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; int MaterialID = 0; }; struct Struct__SimpleRTCSCB { - float3 cameraPos = {}; + float3 cameraPos = {0.0f,0.0f,0.0f}; float _padding0 = 0.000000f; // Padding - float4x4 clipToWorld = {}; + float4x4 clipToWorld = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f}; float depthNearPlane = 0.000000f; // The depth value for the near plane. float3 hitColor = {0.0f, 1.0f, 0.0f}; float3 missColor = {1.0f, 0.0f, 0.0f}; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/public/technique.h index 185e62c9..453def30 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/RayTrace/simpleRT_inline/public/technique.h @@ -210,8 +210,8 @@ namespace simpleRT_inline struct Struct_VertexBuffer { - float3 Color = {}; - float3 Position = {}; - float3 Normal = {}; + float3 Color = {0.0f,0.0f,0.0f}; + float3 Position = {0.0f,0.0f,0.0f}; + float3 Normal = {0.0f,0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/SubGraph/SubGraphLoops/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/SubGraph/SubGraphLoops/private/technique.h index 2f581674..3a5565b2 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/SubGraph/SubGraphLoops/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/SubGraph/SubGraphLoops/private/technique.h @@ -32,35 +32,35 @@ namespace SubGraphLoops { unsigned int FilterSub_Iteration_0_sRGB = true; int __loopIndexValue_0 = 0; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; struct Struct__FilterSub_Iteration_1_BlurCB { unsigned int FilterSub_Iteration_1_sRGB = true; int __loopIndexValue_1 = 1; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; struct Struct__FilterSub_Iteration_2_BlurCB { unsigned int FilterSub_Iteration_2_sRGB = true; int __loopIndexValue_2 = 2; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; struct Struct__FilterSub_Iteration_3_BlurCB { unsigned int FilterSub_Iteration_3_sRGB = true; int __loopIndexValue_3 = 3; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; struct Struct__FilterSub_Iteration_4_BlurCB { unsigned int FilterSub_Iteration_4_sRGB = true; int __loopIndexValue_4 = 4; - float2 _padding0 = {}; // Padding + float2 _padding0 = {0.0f,0.0f}; // Padding }; // Variables diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/private/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/private/technique.h index 820a34c4..de68e4d4 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/private/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/private/technique.h @@ -41,7 +41,7 @@ namespace Mips_DrawCall struct Struct__PixelShaderSphereCB { unsigned int UseMips = true; - float3 _padding0 = {}; // Padding + float3 _padding0 = {0.0f,0.0f,0.0f}; // Padding }; ID3D12Resource* texture_Color_Buffer = nullptr; diff --git a/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/public/technique.h b/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/public/technique.h index affee2a4..9624e9f9 100644 --- a/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/public/technique.h +++ b/_GeneratedCode/UnitTests/DX12/UnitTests/Textures/Mips_DrawCall/public/technique.h @@ -223,7 +223,7 @@ namespace Mips_DrawCall struct Struct_VertexFormat { float3 Position = {0, 0, 0}; - float3 Normal = {}; - float2 UV = {}; + float3 Normal = {0.0f,0.0f,0.0f}; + float2 UV = {0.0f,0.0f}; }; }; diff --git a/_GeneratedCode/UnitTests/DX12/main.cpp b/_GeneratedCode/UnitTests/DX12/main.cpp index 7244a02e..70a06cfe 100644 --- a/_GeneratedCode/UnitTests/DX12/main.cpp +++ b/_GeneratedCode/UnitTests/DX12/main.cpp @@ -38,7 +38,7 @@ #endif // Gigi Modification Begin -extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 613; } +extern "C" { __declspec(dllexport) extern const UINT D3D12SDKVersion = 614; } extern "C" { __declspec(dllexport) extern const char* D3D12SDKPath = ".\\AgilitySDK\\bin\\"; } #include "DX12Utils/FileCache.h" diff --git a/external/AgilitySDK/bin/D3D12Core.dll b/external/AgilitySDK/bin/D3D12Core.dll index faa7b8b3..238c1177 100644 Binary files a/external/AgilitySDK/bin/D3D12Core.dll and b/external/AgilitySDK/bin/D3D12Core.dll differ diff --git a/external/AgilitySDK/bin/D3D12Core.pdb b/external/AgilitySDK/bin/D3D12Core.pdb index 5114bb43..1d3b05bf 100644 Binary files a/external/AgilitySDK/bin/D3D12Core.pdb and b/external/AgilitySDK/bin/D3D12Core.pdb differ diff --git a/external/AgilitySDK/bin/d3d12SDKLayers.dll b/external/AgilitySDK/bin/d3d12SDKLayers.dll index 93f42ca6..cd6f77d4 100644 Binary files a/external/AgilitySDK/bin/d3d12SDKLayers.dll and b/external/AgilitySDK/bin/d3d12SDKLayers.dll differ diff --git a/external/AgilitySDK/bin/d3d12SDKLayers.pdb b/external/AgilitySDK/bin/d3d12SDKLayers.pdb index 4d031dc0..3d05cc05 100644 Binary files a/external/AgilitySDK/bin/d3d12SDKLayers.pdb and b/external/AgilitySDK/bin/d3d12SDKLayers.pdb differ diff --git a/external/AgilitySDK/bin/d3dconfig.exe b/external/AgilitySDK/bin/d3dconfig.exe index be68b1d4..656d1183 100644 Binary files a/external/AgilitySDK/bin/d3dconfig.exe and b/external/AgilitySDK/bin/d3dconfig.exe differ diff --git a/external/AgilitySDK/bin/d3dconfig.pdb b/external/AgilitySDK/bin/d3dconfig.pdb index bd59d58a..7f1de1b7 100644 Binary files a/external/AgilitySDK/bin/d3dconfig.pdb and b/external/AgilitySDK/bin/d3dconfig.pdb differ diff --git a/external/AgilitySDK/include/d3d12.h b/external/AgilitySDK/include/d3d12.h index 7ece43ce..684ef13d 100644 --- a/external/AgilitySDK/include/d3d12.h +++ b/external/AgilitySDK/include/d3d12.h @@ -1102,7 +1102,7 @@ extern "C"{ #define D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 15 ) -#define D3D12_PREVIEW_SDK_VERSION ( 713 ) +#define D3D12_PREVIEW_SDK_VERSION ( 714 ) #define D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 16 ) @@ -1235,7 +1235,7 @@ extern "C"{ #define D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT ( 2 ) -#define D3D12_SDK_VERSION ( 613 ) +#define D3D12_SDK_VERSION ( 614 ) #define D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES ( 32 ) @@ -1425,7 +1425,7 @@ enum D3D12_COMMAND_QUEUE_FLAGS D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1 } D3D12_COMMAND_QUEUE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS ) typedef enum D3D12_COMMAND_QUEUE_PRIORITY { @@ -2185,7 +2185,7 @@ enum D3D12_PIPELINE_STATE_FLAGS D3D12_PIPELINE_STATE_FLAG_DYNAMIC_INDEX_BUFFER_STRIP_CUT = 0x8 } D3D12_PIPELINE_STATE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS ) typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { ID3D12RootSignature *pRootSignature; @@ -2322,7 +2322,7 @@ enum D3D12_SHADER_MIN_PRECISION_SUPPORT D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2 } D3D12_SHADER_MIN_PRECISION_SUPPORT; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT ) typedef enum D3D12_TILED_RESOURCES_TIER { @@ -2385,7 +2385,7 @@ enum D3D12_FORMAT_SUPPORT1 D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000 } D3D12_FORMAT_SUPPORT1; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 ) typedef enum D3D12_FORMAT_SUPPORT2 { @@ -2404,7 +2404,7 @@ enum D3D12_FORMAT_SUPPORT2 D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x8000 } D3D12_FORMAT_SUPPORT2; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 ) typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS { @@ -2412,7 +2412,7 @@ enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x1 } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS ) typedef enum D3D12_CROSS_NODE_SHARING_TIER { @@ -2590,7 +2590,7 @@ enum D3D12_SHADER_CACHE_SUPPORT_FLAGS D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40 } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_SHADER_CACHE { _Out_ D3D12_SHADER_CACHE_SUPPORT_FLAGS SupportFlags; @@ -2616,7 +2616,7 @@ enum D3D12_COMMAND_LIST_SUPPORT_FLAGS D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = ( 1 << D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE ) } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 { _Out_ BOOL CopyQueueTimestampQueriesSupported; @@ -2953,7 +2953,7 @@ enum D3D12_HEAP_FLAGS D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES = 0x84 } D3D12_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS ) typedef struct D3D12_HEAP_DESC { UINT64 SizeInBytes; @@ -3004,7 +3004,7 @@ enum D3D12_RESOURCE_FLAGS D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100 } D3D12_RESOURCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS ) typedef struct D3D12_MIP_REGION { UINT Width; @@ -3138,7 +3138,7 @@ enum D3D12_TILE_MAPPING_FLAGS D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1 } D3D12_TILE_MAPPING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS ) typedef enum D3D12_TILE_COPY_FLAGS { @@ -3148,7 +3148,7 @@ enum D3D12_TILE_COPY_FLAGS D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4 } D3D12_TILE_COPY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS ) typedef enum D3D12_RESOURCE_STATES { @@ -3186,7 +3186,7 @@ enum D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x800000 } D3D12_RESOURCE_STATES; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES ) typedef enum D3D12_RESOURCE_BARRIER_TYPE { @@ -3223,7 +3223,7 @@ enum D3D12_RESOURCE_BARRIER_FLAGS D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2 } D3D12_RESOURCE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS ) typedef struct D3D12_RESOURCE_BARRIER { D3D12_RESOURCE_BARRIER_TYPE Type; @@ -3299,7 +3299,7 @@ enum D3D12_VIEW_INSTANCING_FLAGS D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1 } D3D12_VIEW_INSTANCING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS ) typedef struct D3D12_VIEW_INSTANCING_DESC { UINT ViewInstanceCount; @@ -3335,7 +3335,7 @@ enum D3D12_BUFFER_SRV_FLAGS D3D12_BUFFER_SRV_FLAG_RAW = 0x1 } D3D12_BUFFER_SRV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS ) typedef struct D3D12_BUFFER_SRV { UINT64 FirstElement; @@ -3606,7 +3606,7 @@ enum D3D12_SAMPLER_FLAGS D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES = 0x2 } D3D12_SAMPLER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS ) typedef struct D3D12_SAMPLER_DESC2 { D3D12_FILTER Filter; @@ -3633,7 +3633,7 @@ enum D3D12_BUFFER_UAV_FLAGS D3D12_BUFFER_UAV_FLAG_RAW = 0x1 } D3D12_BUFFER_UAV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS ) typedef struct D3D12_BUFFER_UAV { UINT64 FirstElement; @@ -3842,7 +3842,7 @@ enum D3D12_DSV_FLAGS D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2 } D3D12_DSV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS ) typedef enum D3D12_DSV_DIMENSION { @@ -3878,7 +3878,7 @@ enum D3D12_CLEAR_FLAGS D3D12_CLEAR_FLAG_STENCIL = 0x2 } D3D12_CLEAR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS ) typedef enum D3D12_FENCE_FLAGS { @@ -3888,7 +3888,7 @@ enum D3D12_FENCE_FLAGS D3D12_FENCE_FLAG_NON_MONITORED = 0x4 } D3D12_FENCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS ) typedef enum D3D12_DESCRIPTOR_HEAP_TYPE { @@ -3906,7 +3906,7 @@ enum D3D12_DESCRIPTOR_HEAP_FLAGS D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1 } D3D12_DESCRIPTOR_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS ) typedef struct D3D12_DESCRIPTOR_HEAP_DESC { D3D12_DESCRIPTOR_HEAP_TYPE Type; @@ -4005,7 +4005,7 @@ enum D3D12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800 } D3D12_ROOT_SIGNATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS ) typedef enum D3D12_STATIC_BORDER_COLOR { @@ -4071,7 +4071,7 @@ enum D3D12_DESCRIPTOR_RANGE_FLAGS D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000 } D3D12_DESCRIPTOR_RANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS ) typedef struct D3D12_DESCRIPTOR_RANGE1 { D3D12_DESCRIPTOR_RANGE_TYPE RangeType; @@ -4097,7 +4097,7 @@ enum D3D12_ROOT_DESCRIPTOR_FLAGS D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8 } D3D12_ROOT_DESCRIPTOR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS ) typedef struct D3D12_ROOT_DESCRIPTOR1 { UINT ShaderRegister; @@ -10067,7 +10067,7 @@ enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0 } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS ) typedef enum D3D12_RESIDENCY_PRIORITY { @@ -11277,7 +11277,7 @@ enum D3D12_RESIDENCY_FLAGS D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1 } D3D12_RESIDENCY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0025_v0_0_c_ifspec; @@ -11928,21 +11928,21 @@ enum D3D12_COMMAND_LIST_FLAGS D3D12_COMMAND_LIST_FLAG_NONE = 0 } D3D12_COMMAND_LIST_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS ) typedef enum D3D12_COMMAND_POOL_FLAGS { D3D12_COMMAND_POOL_FLAG_NONE = 0 } D3D12_COMMAND_POOL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS ) typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0 } D3D12_COMMAND_RECORDER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS ) typedef enum D3D12_PROTECTED_SESSION_STATUS { @@ -12107,7 +12107,7 @@ enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { UINT NodeIndex; @@ -12120,7 +12120,7 @@ enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0 } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS ) typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC { UINT NodeMask; @@ -13444,7 +13444,7 @@ enum D3D12_META_COMMAND_PARAMETER_FLAGS D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x2 } D3D12_META_COMMAND_PARAMETER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS ) typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { @@ -13485,7 +13485,7 @@ enum D3D12_GRAPHICS_STATES D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = ( 1 << 16 ) } D3D12_GRAPHICS_STATES; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES ) typedef struct D3D12_META_COMMAND_DESC { GUID Id; @@ -14229,7 +14229,7 @@ enum D3D12_STATE_OBJECT_FLAGS D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4 } D3D12_STATE_OBJECT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS ) typedef struct D3D12_STATE_OBJECT_CONFIG { D3D12_STATE_OBJECT_FLAGS Flags; @@ -14276,7 +14276,7 @@ enum D3D12_EXPORT_FLAGS D3D12_EXPORT_FLAG_NONE = 0 } D3D12_EXPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS ) typedef struct D3D12_EXPORT_DESC { LPCWSTR Name; @@ -14347,7 +14347,7 @@ enum D3D12_RAYTRACING_PIPELINE_FLAGS D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAYTRACING_PIPELINE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS ) typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { UINT MaxTraceRecursionDepth; @@ -14450,7 +14450,7 @@ enum D3D12_WORK_GRAPH_FLAGS D3D12_WORK_GRAPH_FLAG_INCLUDE_ALL_AVAILABLE_NODES = 0x1 } D3D12_WORK_GRAPH_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS ) typedef struct D3D12_WORK_GRAPH_DESC { LPCWSTR ProgramName; @@ -14493,7 +14493,7 @@ enum D3D12_RAYTRACING_GEOMETRY_FLAGS D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2 } D3D12_RAYTRACING_GEOMETRY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS ) typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { @@ -14511,7 +14511,7 @@ enum D3D12_RAYTRACING_INSTANCE_FLAGS D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS ) typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { D3D12_GPU_VIRTUAL_ADDRESS StartAddress; @@ -14570,7 +14570,7 @@ enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20 } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS ) typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { @@ -14739,7 +14739,7 @@ enum D3D12_RAY_FLAGS D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS ) typedef enum D3D12_HIT_KIND { @@ -15690,7 +15690,7 @@ enum D3D12_DRED_FLAGS D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 2 } D3D12_DRED_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS ) typedef enum D3D12_DRED_ENABLEMENT { @@ -15786,7 +15786,7 @@ enum D3D12_DRED_PAGE_FAULT_FLAGS D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0 } D3D12_DRED_PAGE_FAULT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS ) typedef enum D3D12_DRED_DEVICE_STATE { @@ -20784,7 +20784,7 @@ enum D3D12_RENDER_PASS_FLAGS D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_STENCIL = 0x10 } D3D12_RENDER_PASS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0051_v0_0_c_ifspec; @@ -20945,7 +20945,7 @@ enum D3D12_SET_WORK_GRAPH_FLAGS D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE = 0x1 } D3D12_SET_WORK_GRAPH_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS ) typedef struct D3D12_SET_WORK_GRAPH_DESC { D3D12_PROGRAM_IDENTIFIER ProgramIdentifier; @@ -21902,7 +21902,7 @@ enum D3D12_SHADER_CACHE_FLAGS D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2 } D3D12_SHADER_CACHE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS ) typedef struct D3D12_SHADER_CACHE_SESSION_DESC { GUID Identifier; @@ -21981,7 +21981,7 @@ enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_SPLIT = 0x80000000 } D3D12_BARRIER_SYNC; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC ) typedef enum D3D12_BARRIER_ACCESS { @@ -22013,7 +22013,7 @@ enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000 } D3D12_BARRIER_ACCESS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS ) typedef enum D3D12_BARRIER_TYPE { @@ -22029,7 +22029,7 @@ enum D3D12_TEXTURE_BARRIER_FLAGS D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1 } D3D12_TEXTURE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS ) typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { UINT IndexOrFirstMipLevel; @@ -22299,7 +22299,7 @@ enum D3D12_SHADER_CACHE_KIND_FLAGS D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8 } D3D12_SHADER_CACHE_KIND_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS ) typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { @@ -22308,7 +22308,7 @@ enum D3D12_SHADER_CACHE_CONTROL_FLAGS D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4 } D3D12_SHADER_CACHE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0054_v0_0_c_ifspec; @@ -28978,7 +28978,7 @@ enum D3D12_DEVICE_FACTORY_FLAGS D3D12_DEVICE_FACTORY_FLAG_DISALLOW_STORING_NEW_DEVICE_AS_SINGLETON = 0x4 } D3D12_DEVICE_FACTORY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS ) extern RPC_IF_HANDLE __MIDL_itf_d3d12_0000_0064_v0_0_c_ifspec; @@ -29163,7 +29163,7 @@ enum D3D12_DEVICE_FLAGS D3D12_DEVICE_FLAG_FORCE_LEGACY_STATE_VALIDATION = 0x400 } D3D12_DEVICE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS ) typedef struct D3D12_DEVICE_CONFIGURATION_DESC { D3D12_DEVICE_FLAGS Flags; diff --git a/external/AgilitySDK/include/d3d12.idl b/external/AgilitySDK/include/d3d12.idl index f040bc99..cb9f4567 100644 --- a/external/AgilitySDK/include/d3d12.idl +++ b/external/AgilitySDK/include/d3d12.idl @@ -293,7 +293,7 @@ const UINT D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_END = 0xffffffff; const UINT D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_START = 0xfffffff8; const UINT D3D12_PACKED_TILE = 0xffffffff; const UINT D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; -const UINT D3D12_PREVIEW_SDK_VERSION = 713; +const UINT D3D12_PREVIEW_SDK_VERSION = 714; const UINT D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; const UINT D3D12_PS_CS_UAV_REGISTER_COMPONENTS = 1; const UINT D3D12_PS_CS_UAV_REGISTER_COUNT = 8; @@ -361,7 +361,7 @@ const UINT D3D12_REQ_TEXTURECUBE_DIMENSION = 16384; const UINT D3D12_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; const UINT D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES = 0xffffffff; const UINT D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT = 2; -const UINT D3D12_SDK_VERSION = 613; +const UINT D3D12_SDK_VERSION = 614; const UINT D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES = 32; const UINT D3D12_SHADER_MAJOR_VERSION = 5; const UINT D3D12_SHADER_MAX_INSTANCES = 65535; @@ -476,7 +476,7 @@ typedef enum D3D12_COMMAND_QUEUE_FLAGS D3D12_COMMAND_QUEUE_FLAG_NONE = 0x0, D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1, } D3D12_COMMAND_QUEUE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_QUEUE_FLAGS )" ) typedef enum D3D12_COMMAND_QUEUE_PRIORITY { @@ -892,7 +892,7 @@ typedef enum D3D12_PIPELINE_STATE_FLAGS D3D12_PIPELINE_STATE_FLAG_DYNAMIC_INDEX_BUFFER_STRIP_CUT = 0x8, } D3D12_PIPELINE_STATE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_PIPELINE_STATE_FLAGS )" ) typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { @@ -1030,7 +1030,7 @@ typedef enum D3D12_FEATURE D3D12_FEATURE_PREDICATION = 50, D3D12_FEATURE_PLACED_RESOURCE_SUPPORT_INFO = 51, D3D12_FEATURE_HARDWARE_COPY = 52, - D3D12_FEATURE_D3D12_OPTIONS21 = 53 + D3D12_FEATURE_D3D12_OPTIONS21 = 53, } D3D12_FEATURE; typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT @@ -1039,7 +1039,7 @@ typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1, D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2 } D3D12_SHADER_MIN_PRECISION_SUPPORT; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_MIN_PRECISION_SUPPORT )" ) typedef enum D3D12_TILED_RESOURCES_TIER { @@ -1098,7 +1098,7 @@ typedef enum D3D12_FORMAT_SUPPORT1 D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 0x20000000, D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000, } D3D12_FORMAT_SUPPORT1; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT1 )" ) typedef enum D3D12_FORMAT_SUPPORT2 { @@ -1116,14 +1116,14 @@ typedef enum D3D12_FORMAT_SUPPORT2 D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x00004000, D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x00008000, } D3D12_FORMAT_SUPPORT2; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FORMAT_SUPPORT2 )" ) typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS { D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE = 0, D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x00000001, } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS )" ) typedef enum D3D12_CROSS_NODE_SHARING_TIER { @@ -1305,7 +1305,7 @@ typedef enum D3D12_SHADER_CACHE_SUPPORT_FLAGS D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR = 0x20, D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40 } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_SUPPORT_FLAGS )" ) // D3D12_FEATURE_SHADER_CACHE typedef struct D3D12_FEATURE_DATA_SHADER_CACHE @@ -1333,7 +1333,7 @@ typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = 1 << D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE, } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_SUPPORT_FLAGS )") // D3D12_FEATURE_D3D12_OPTIONS3 typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 @@ -1621,6 +1621,7 @@ typedef struct D3D12_FEATURE_DATA_HARDWARE_COPY [annotation("_Out_")] BOOL Supported; } D3D12_FEATURE_DATA_HARDWARE_COPY; + typedef struct D3D12_RESOURCE_ALLOCATION_INFO { UINT64 SizeInBytes; @@ -1691,7 +1692,7 @@ typedef enum D3D12_HEAP_FLAGS } D3D12_HEAP_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_HEAP_FLAGS )" ) typedef struct D3D12_HEAP_DESC { @@ -1740,7 +1741,7 @@ typedef enum D3D12_RESOURCE_FLAGS D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100, } D3D12_RESOURCE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_FLAGS )" ) typedef struct D3D12_MIP_REGION { @@ -1779,6 +1780,7 @@ typedef struct D3D12_RESOURCE_DESC1 } D3D12_RESOURCE_DESC1; + typedef struct D3D12_DEPTH_STENCIL_VALUE { FLOAT Depth; @@ -1874,7 +1876,7 @@ typedef enum D3D12_TILE_MAPPING_FLAGS D3D12_TILE_MAPPING_FLAG_NONE = 0x0, D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1, } D3D12_TILE_MAPPING_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_MAPPING_FLAGS )" ) typedef enum D3D12_TILE_COPY_FLAGS { @@ -1883,7 +1885,7 @@ typedef enum D3D12_TILE_COPY_FLAGS D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4, } D3D12_TILE_COPY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TILE_COPY_FLAGS )") // Resource Barrier typedef enum D3D12_RESOURCE_STATES @@ -1936,7 +1938,7 @@ typedef enum D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x00800000, } D3D12_RESOURCE_STATES; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_STATES )" ) typedef enum D3D12_RESOURCE_BARRIER_TYPE { @@ -1972,7 +1974,7 @@ typedef enum D3D12_RESOURCE_BARRIER_FLAGS D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1, D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2, } D3D12_RESOURCE_BARRIER_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESOURCE_BARRIER_FLAGS )" ) typedef struct D3D12_RESOURCE_BARRIER { @@ -2046,7 +2048,7 @@ typedef enum D3D12_VIEW_INSTANCING_FLAGS D3D12_VIEW_INSTANCING_FLAG_NONE = 0x0, D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1, } D3D12_VIEW_INSTANCING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIEW_INSTANCING_FLAGS )") typedef struct D3D12_VIEW_INSTANCING_DESC { @@ -2081,7 +2083,7 @@ typedef enum D3D12_BUFFER_SRV_FLAGS D3D12_BUFFER_SRV_FLAG_NONE = 0, D3D12_BUFFER_SRV_FLAG_RAW = 0x00000001, // allow device multi-component reads with DWORD addressing } D3D12_BUFFER_SRV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_SRV_FLAGS )" ) typedef struct D3D12_BUFFER_SRV { @@ -2373,7 +2375,7 @@ typedef enum D3D12_SAMPLER_FLAGS D3D12_SAMPLER_FLAG_UINT_BORDER_COLOR = 0x01, D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES = 0x02, } D3D12_SAMPLER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SAMPLER_FLAGS )") typedef struct D3D12_SAMPLER_DESC2 { @@ -2401,7 +2403,7 @@ typedef enum D3D12_BUFFER_UAV_FLAGS D3D12_BUFFER_UAV_FLAG_NONE = 0, D3D12_BUFFER_UAV_FLAG_RAW = 0x00000001, } D3D12_BUFFER_UAV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BUFFER_UAV_FLAGS )" ) typedef struct D3D12_BUFFER_UAV { @@ -2610,7 +2612,7 @@ typedef enum D3D12_DSV_FLAGS D3D12_DSV_FLAG_READ_ONLY_DEPTH = 0x1, D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2, } D3D12_DSV_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DSV_FLAGS )" ) typedef enum D3D12_DSV_DIMENSION { @@ -2646,7 +2648,7 @@ typedef enum D3D12_CLEAR_FLAGS D3D12_CLEAR_FLAG_DEPTH = 0x01, D3D12_CLEAR_FLAG_STENCIL = 0x02, } D3D12_CLEAR_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_CLEAR_FLAGS )" ) typedef enum D3D12_FENCE_FLAGS { @@ -2655,7 +2657,7 @@ typedef enum D3D12_FENCE_FLAGS D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2, D3D12_FENCE_FLAG_NON_MONITORED = 0x4, } D3D12_FENCE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_FENCE_FLAGS )" ) typedef enum D3D12_DESCRIPTOR_HEAP_TYPE { @@ -2671,7 +2673,7 @@ typedef enum D3D12_DESCRIPTOR_HEAP_FLAGS D3D12_DESCRIPTOR_HEAP_FLAG_NONE = 0x0, D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1, } D3D12_DESCRIPTOR_HEAP_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_HEAP_FLAGS )" ) typedef struct D3D12_DESCRIPTOR_HEAP_DESC { @@ -2768,7 +2770,7 @@ typedef enum D3D12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED = 0x400, D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800, } D3D12_ROOT_SIGNATURE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_SIGNATURE_FLAGS )" ) typedef enum D3D12_STATIC_BORDER_COLOR @@ -2834,7 +2836,7 @@ typedef enum D3D12_DESCRIPTOR_RANGE_FLAGS D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC = 0x8, D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000, } D3D12_DESCRIPTOR_RANGE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DESCRIPTOR_RANGE_FLAGS )") typedef struct D3D12_DESCRIPTOR_RANGE1 { @@ -2859,7 +2861,7 @@ typedef enum D3D12_ROOT_DESCRIPTOR_FLAGS D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4, D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8, } D3D12_ROOT_DESCRIPTOR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_ROOT_DESCRIPTOR_FLAGS )") typedef struct D3D12_ROOT_DESCRIPTOR1 { @@ -4026,7 +4028,7 @@ typedef enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0x0, // Alias, default behavior is ALL } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_MULTIPLE_FENCE_WAIT_FLAGS )" ) // Applications may use the whole value range of UINT for a priority. // These names are merely semantic suggestions. @@ -4080,7 +4082,7 @@ typedef enum D3D12_RESIDENCY_FLAGS D3D12_RESIDENCY_FLAG_NONE = 0x0, D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1, } D3D12_RESIDENCY_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RESIDENCY_FLAGS )" ) [uuid(81dadc15-2bad-4392-93c5-101345c4aa98), object, local, pointer_default(unique)] interface ID3D12Device3 @@ -4109,7 +4111,7 @@ typedef enum D3D12_COMMAND_LIST_FLAGS { D3D12_COMMAND_LIST_FLAG_NONE = 0x0, } D3D12_COMMAND_LIST_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_LIST_FLAGS )") typedef enum D3D12_COMMAND_POOL_FLAGS @@ -4117,14 +4119,14 @@ typedef enum D3D12_COMMAND_POOL_FLAGS D3D12_COMMAND_POOL_FLAG_NONE = 0x0, } D3D12_COMMAND_POOL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_POOL_FLAGS )") typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0x0, } D3D12_COMMAND_RECORDER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMMAND_RECORDER_FLAGS )") typedef enum D3D12_PROTECTED_SESSION_STATUS { @@ -4149,7 +4151,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS )") typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { @@ -4162,7 +4164,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0x0, } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_PROTECTED_RESOURCE_SESSION_FLAGS )") typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC { @@ -4276,7 +4278,7 @@ typedef enum D3D12_META_COMMAND_PARAMETER_FLAGS D3D12_META_COMMAND_PARAMETER_FLAG_INPUT = 0x00000001, D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x00000002 } D3D12_META_COMMAND_PARAMETER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_META_COMMAND_PARAMETER_FLAGS )") typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { @@ -4316,7 +4318,7 @@ typedef enum D3D12_GRAPHICS_STATES D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = (1 << 16), } D3D12_GRAPHICS_STATES; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_GRAPHICS_STATES )") typedef struct D3D12_META_COMMAND_DESC { @@ -4441,7 +4443,7 @@ typedef enum D3D12_STATE_OBJECT_FLAGS D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS = 0x2, D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4, } D3D12_STATE_OBJECT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_STATE_OBJECT_FLAGS )") typedef struct D3D12_STATE_OBJECT_CONFIG { @@ -4487,7 +4489,7 @@ typedef enum D3D12_EXPORT_FLAGS { D3D12_EXPORT_FLAG_NONE = 0x0, } D3D12_EXPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_EXPORT_FLAGS )") typedef struct D3D12_EXPORT_DESC { @@ -4556,7 +4558,7 @@ typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAYTRACING_PIPELINE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_PIPELINE_FLAGS )") typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { @@ -4656,7 +4658,7 @@ typedef enum D3D12_WORK_GRAPH_FLAGS D3D12_WORK_GRAPH_FLAG_NONE = 0x0, D3D12_WORK_GRAPH_FLAG_INCLUDE_ALL_AVAILABLE_NODES = 0x1, } D3D12_WORK_GRAPH_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_WORK_GRAPH_FLAGS )") typedef struct D3D12_WORK_GRAPH_DESC { @@ -4697,7 +4699,7 @@ typedef enum D3D12_RAYTRACING_GEOMETRY_FLAGS D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE = 0x1, D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2, } D3D12_RAYTRACING_GEOMETRY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_GEOMETRY_FLAGS )") typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { @@ -4713,7 +4715,7 @@ typedef enum D3D12_RAYTRACING_INSTANCE_FLAGS D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE = 0x4, D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_INSTANCE_FLAGS )") typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { @@ -4771,7 +4773,7 @@ typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY = 0x10, D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20, } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS )") typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { @@ -4933,7 +4935,7 @@ typedef enum D3D12_RAY_FLAGS D3D12_RAY_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAY_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_RAY_FLAGS )" ) typedef enum D3D12_HIT_KIND { @@ -5097,7 +5099,7 @@ typedef enum D3D12_DRED_FLAGS D3D12_DRED_FLAG_FORCE_ENABLE = 1, D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 2, } D3D12_DRED_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_FLAGS )") typedef enum D3D12_DRED_ENABLEMENT { @@ -5193,7 +5195,7 @@ typedef enum D3D12_DRED_PAGE_FAULT_FLAGS { D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0, } D3D12_DRED_PAGE_FAULT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DRED_PAGE_FAULT_FLAGS )") typedef enum D3D12_DRED_DEVICE_STATE { @@ -5430,6 +5432,7 @@ interface ID3D12Resource2 } + [uuid(572F7389-2168-49E3-9693-D6DF5871BF6D), object, local, pointer_default(unique)] interface ID3D12Heap1 : ID3D12Heap @@ -5570,7 +5573,7 @@ typedef enum D3D12_RENDER_PASS_FLAGS D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_DEPTH = 0x8, D3D12_RENDER_PASS_FLAG_BIND_READ_ONLY_STENCIL = 0x10 } D3D12_RENDER_PASS_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_RENDER_PASS_FLAGS )") [uuid(DBB84C27-36CE-4FC9-B801-F048C46AC570), object, local, pointer_default(unique)] interface ID3D12MetaCommand : ID3D12Pageable @@ -5594,7 +5597,7 @@ typedef enum D3D12_SET_WORK_GRAPH_FLAGS D3D12_SET_WORK_GRAPH_FLAG_NONE = 0x0, D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE = 0x1, } D3D12_SET_WORK_GRAPH_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_SET_WORK_GRAPH_FLAGS )" ) typedef struct D3D12_SET_WORK_GRAPH_DESC { @@ -5739,7 +5742,7 @@ typedef enum D3D12_SHADER_CACHE_FLAGS D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED = 0x1, D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2, } D3D12_SHADER_CACHE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_FLAGS )") typedef struct D3D12_SHADER_CACHE_SESSION_DESC { @@ -5820,7 +5823,7 @@ typedef enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE = 0x1000000, D3D12_BARRIER_SYNC_SPLIT = 0x80000000, } D3D12_BARRIER_SYNC; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_SYNC )" ) typedef enum D3D12_BARRIER_ACCESS { @@ -5851,7 +5854,7 @@ typedef enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_VIDEO_ENCODE_WRITE = 0x400000, D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000, } D3D12_BARRIER_ACCESS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_BARRIER_ACCESS )" ) typedef enum D3D12_BARRIER_TYPE { @@ -5865,7 +5868,7 @@ typedef enum D3D12_TEXTURE_BARRIER_FLAGS D3D12_TEXTURE_BARRIER_FLAG_NONE = 0x0, D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1, } D3D12_TEXTURE_BARRIER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_TEXTURE_BARRIER_FLAGS )") typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { @@ -5947,7 +5950,7 @@ typedef enum D3D12_SHADER_CACHE_KIND_FLAGS D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 0x4, D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8, } D3D12_SHADER_CACHE_KIND_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_KIND_FLAGS )") typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { @@ -5955,7 +5958,7 @@ typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE = 0x2, D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4, } D3D12_SHADER_CACHE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_SHADER_CACHE_CONTROL_FLAGS )") [uuid(4c80e962-f032-4f60-bc9e-ebc2cfa1d83c), object, local, pointer_default(unique)] interface ID3D12Device9 @@ -6063,6 +6066,7 @@ interface ID3D12Device14 : ID3D12Device13 [out, iid_is(riid), annotation("_COM_Outptr_")] void** ppvRootSignature); }; + [uuid(bc66d368-7373-4943-8757-fc87dc79e476), object, local, pointer_default(unique)] interface ID3D12VirtualizationGuestDevice : IUnknown @@ -6089,7 +6093,6 @@ interface ID3D12Tools } - typedef struct D3D12_SUBRESOURCE_DATA { const void* pData; @@ -6264,7 +6267,7 @@ typedef enum D3D12_DEVICE_FACTORY_FLAGS D3D12_DEVICE_FACTORY_FLAG_ALLOW_RETURNING_INCOMPATIBLE_EXISTING_DEVICE = 0x2, D3D12_DEVICE_FACTORY_FLAG_DISALLOW_STORING_NEW_DEVICE_AS_SINGLETON = 0x4, } D3D12_DEVICE_FACTORY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FACTORY_FLAGS )") [uuid(61f307d3-d34e-4e7c-8374-3ba4de23cccb), object, local, pointer_default(unique)] interface ID3D12DeviceFactory @@ -6309,7 +6312,7 @@ typedef enum D3D12_DEVICE_FLAGS D3D12_DEVICE_FLAG_AUTO_DEBUG_NAME_ENABLED = 0x200, D3D12_DEVICE_FLAG_FORCE_LEGACY_STATE_VALIDATION = 0x400, } D3D12_DEVICE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS( D3D12_DEVICE_FLAGS )") typedef struct D3D12_DEVICE_CONFIGURATION_DESC { diff --git a/external/AgilitySDK/include/d3d12compatibility.h b/external/AgilitySDK/include/d3d12compatibility.h index f61c590c..bab8d6f1 100644 --- a/external/AgilitySDK/include/d3d12compatibility.h +++ b/external/AgilitySDK/include/d3d12compatibility.h @@ -133,7 +133,7 @@ enum D3D12_COMPATIBILITY_SHARED_FLAGS D3D12_COMPATIBILITY_SHARED_FLAG_9_ON_12 = 0x4 } D3D12_COMPATIBILITY_SHARED_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS ) typedef enum D3D12_REFLECT_SHARED_PROPERTY { diff --git a/external/AgilitySDK/include/d3d12compatibility.idl b/external/AgilitySDK/include/d3d12compatibility.idl index edb0d8da..f0f6edd2 100644 --- a/external/AgilitySDK/include/d3d12compatibility.idl +++ b/external/AgilitySDK/include/d3d12compatibility.idl @@ -22,7 +22,7 @@ typedef enum D3D12_COMPATIBILITY_SHARED_FLAGS D3D12_COMPATIBILITY_SHARED_FLAG_9_ON_12 = 0x4, } D3D12_COMPATIBILITY_SHARED_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_COMPATIBILITY_SHARED_FLAGS )" ) typedef enum D3D12_REFLECT_SHARED_PROPERTY { diff --git a/external/AgilitySDK/include/d3d12sdklayers.h b/external/AgilitySDK/include/d3d12sdklayers.h index 7951a9ee..3bab2e37 100644 --- a/external/AgilitySDK/include/d3d12sdklayers.h +++ b/external/AgilitySDK/include/d3d12sdklayers.h @@ -3314,8 +3314,39 @@ enum D3D12_MESSAGE_ID D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT = 1386, D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_STRUCTURED_BUFFER_STRIDE_MISMATCH = 1387, D3D12_MESSAGE_ID_DISPATCH_GRAPH_INVALID = 1388, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_FORMAT_INVALID = 1389, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_DIMENSION_INVALID = 1390, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_COLOR_FORMAT_INVALID = 1391, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_DEPTH_FORMAT_INVALID = 1392, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXPOSURE_SCALE_FORMAT_INVALID = 1393, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_ENGINE_CREATE_FLAGS_INVALID = 1394, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_LOAD_FAILURE = 1395, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_ENGINE_CREATION_ERROR = 1396, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_CREATION_ERROR = 1397, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_EXECUTION_ERROR = 1398, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REGION_INVALID = 1399, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_TIME_DELTA_INVALID = 1400, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REQUIRED_TEXTURE_IS_NULL = 1401, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_MOTION_VECTORS_FORMAT_INVALID = 1402, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FLAGS_INVALID = 1403, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FORMAT_INVALID = 1404, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_EXPOSURE_SCALE_TEXTURE_SIZE_INVALID = 1405, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_INDEX_OUT_OF_BOUNDS = 1406, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_ID_NOT_FOUND = 1407, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_DUPLICATE_VARIANT_ID = 1408, + D3D12_MESSAGE_ID_DIRECTSR_OUT_OF_MEMORY = 1409, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_UNEXPECTED_TEXTURE_IS_IGNORED = 1410, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EVICT_UNDERFLOW = 1411, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_OPTIONAL_TEXTURE_IS_NULL = 1412, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_INVALID_CAMERA_JITTER = 1413, D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING = 1414, - D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING + 1 ) + D3D12_MESSAGE_ID_GUID_TEXTURE_LAYOUT_UNSUPPORTED = 1415, + D3D12_MESSAGE_ID_RESOLVE_ENCODER_INPUT_PARAM_LAYOUT_INVALID_PARAMETERS = 1416, + D3D12_MESSAGE_ID_INVALID_BARRIER_ACCESS = 1417, + D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INSTANCE_COUNT_ZERO = 1418, + D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SET_BEFORE_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1419, + D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1420, + D3D12_MESSAGE_ID_D3D12_MESSAGES_END = ( D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG + 1 ) } D3D12_MESSAGE_ID; typedef struct D3D12_MESSAGE diff --git a/external/AgilitySDK/include/d3d12sdklayers.idl b/external/AgilitySDK/include/d3d12sdklayers.idl index c9f2d0dc..36e7d5d4 100644 --- a/external/AgilitySDK/include/d3d12sdklayers.idl +++ b/external/AgilitySDK/include/d3d12sdklayers.idl @@ -1455,7 +1455,7 @@ typedef enum D3D12_MESSAGE_ID { D3D12_MESSAGE_ID_PROBABLE_PIX_EVENT_LEAK = 1383, D3D12_MESSAGE_ID_PIX_EVENT_UNDERFLOW = 1384, - + D3D12_MESSAGE_ID_RECREATEAT_INVALID_TARGET = 1385, D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT = 1386, @@ -1463,7 +1463,38 @@ typedef enum D3D12_MESSAGE_ID { D3D12_MESSAGE_ID_DISPATCH_GRAPH_INVALID = 1388, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_FORMAT_INVALID = 1389, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_TARGET_DIMENSION_INVALID = 1390, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_COLOR_FORMAT_INVALID = 1391, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_SOURCE_DEPTH_FORMAT_INVALID = 1392, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXPOSURE_SCALE_FORMAT_INVALID = 1393, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_ENGINE_CREATE_FLAGS_INVALID = 1394, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_LOAD_FAILURE = 1395, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_ENGINE_CREATION_ERROR = 1396, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_CREATION_ERROR = 1397, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_EXTENSION_INTERNAL_UPSCALER_EXECUTION_ERROR = 1398, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REGION_INVALID = 1399, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_TIME_DELTA_INVALID = 1400, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_REQUIRED_TEXTURE_IS_NULL = 1401, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_MOTION_VECTORS_FORMAT_INVALID = 1402, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FLAGS_INVALID = 1403, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_FORMAT_INVALID = 1404, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_EXPOSURE_SCALE_TEXTURE_SIZE_INVALID = 1405, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_INDEX_OUT_OF_BOUNDS = 1406, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_VARIANT_ID_NOT_FOUND = 1407, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_DUPLICATE_VARIANT_ID = 1408, + D3D12_MESSAGE_ID_DIRECTSR_OUT_OF_MEMORY = 1409, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_UNEXPECTED_TEXTURE_IS_IGNORED = 1410, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EVICT_UNDERFLOW = 1411, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_OPTIONAL_TEXTURE_IS_NULL = 1412, + D3D12_MESSAGE_ID_DIRECTSR_SUPERRES_UPSCALER_EXECUTE_INVALID_CAMERA_JITTER = 1413, D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_WARNING = 1414, + D3D12_MESSAGE_ID_GUID_TEXTURE_LAYOUT_UNSUPPORTED = 1415, + D3D12_MESSAGE_ID_RESOLVE_ENCODER_INPUT_PARAM_LAYOUT_INVALID_PARAMETERS = 1416, + D3D12_MESSAGE_ID_INVALID_BARRIER_ACCESS = 1417, + D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INSTANCE_COUNT_ZERO = 1418, + D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SET_BEFORE_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1419, + D3D12_MESSAGE_ID_DIFFERENT_DESCRIPTOR_HEAP_SET_AFTER_ROOT_SIGNATURE_WITH_DIRECTLY_INDEXED_FLAG = 1420, D3D12_MESSAGE_ID_D3D12_MESSAGES_END } D3D12_MESSAGE_ID; diff --git a/external/AgilitySDK/include/d3d12video.h b/external/AgilitySDK/include/d3d12video.h index 32f4da0f..e38f12f0 100644 --- a/external/AgilitySDK/include/d3d12video.h +++ b/external/AgilitySDK/include/d3d12video.h @@ -409,7 +409,7 @@ enum D3D12_VIDEO_PROCESS_FILTER_FLAGS D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = ( 1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT ) } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { @@ -418,7 +418,7 @@ enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000 } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ) typedef struct D3D12_VIDEO_PROCESS_ALPHA_BLENDING { BOOL Enable; @@ -931,7 +931,7 @@ enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS ) typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { @@ -942,7 +942,7 @@ enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8 } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS ) typedef enum D3D12_VIDEO_DECODE_STATUS { @@ -1034,7 +1034,7 @@ enum D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAG_A = ( 1 << D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A ) } D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { UINT NodeIndex; @@ -1054,7 +1054,7 @@ enum D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS ) typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS { @@ -1063,7 +1063,7 @@ enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS D3D12_VIDEO_SCALE_SUPPORT_FLAG_EVEN_DIMENSIONS_ONLY = 0x2 } D3D12_VIDEO_SCALE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS ) typedef struct D3D12_VIDEO_SCALE_SUPPORT { D3D12_VIDEO_SIZE_RANGE OutputSizeRange; @@ -1354,7 +1354,7 @@ enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO = 0x40 } D3D12_VIDEO_PROCESS_FEATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { @@ -1370,7 +1370,7 @@ enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM = 0x80000000 } D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS ) typedef enum D3D12_VIDEO_PROCESS_ORIENTATION { @@ -1392,7 +1392,7 @@ enum D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_REPEAT = 0x2 } D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS ) typedef struct D3D12_VIDEO_PROCESS_FILTER_RANGE { INT Minimum; @@ -1408,7 +1408,7 @@ enum D3D12_VIDEO_PROCESS_SUPPORT_FLAGS D3D12_VIDEO_PROCESS_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_PROCESS_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { UINT NodeIndex; @@ -2763,7 +2763,7 @@ enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16 ) } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS ) typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { @@ -2777,7 +2777,7 @@ enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = ( 1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL ) } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { UINT NodeIndex; @@ -3707,7 +3707,7 @@ enum D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { UINT NodeIndex; @@ -3782,7 +3782,7 @@ enum D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_WRITE = 0x2 } D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS ) typedef struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { UINT NodeIndex; @@ -6420,7 +6420,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS = 0x2000000 } D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE { @@ -6438,7 +6438,7 @@ enum D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT = ( 1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT ) } D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { @@ -6460,7 +6460,7 @@ enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE = ( 1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE ) } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { @@ -6500,7 +6500,7 @@ enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV = ( 1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV ) } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { @@ -6530,7 +6530,7 @@ enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256 = 0x8 } D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { @@ -6550,7 +6550,7 @@ enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE = ( 1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE ) } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { @@ -6566,7 +6566,7 @@ enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES = 0x100 } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS SupportedFeatureFlags; @@ -6600,7 +6600,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME = ( 1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME ) } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS) typedef enum D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { @@ -6667,7 +6667,7 @@ enum D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV = 0x4000 } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE FrameRestorationType[ 3 ]; @@ -6819,7 +6819,7 @@ enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QUALITY_VS_SPEED = 0x80 } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { UINT ConstantQP_FullIntracodedFrame; @@ -7165,7 +7165,7 @@ enum D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_TOTAL_TILES = 0x80 } D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS) typedef struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { BOOL Use128SuperBlocks; @@ -7209,7 +7209,7 @@ enum D3D12_VIDEO_ENCODER_HEAP_FLAGS D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0 } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS) typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { UINT NodeMask; @@ -7243,7 +7243,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE_SUPPORT = 0x80 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { @@ -7269,7 +7269,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = ( 1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING ) } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS SupportFlags; @@ -7314,7 +7314,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_CHROMA_QP_OFFSET_LIST_ENABLED_FLAG_REQUIRED = 0x80000000 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { @@ -7352,7 +7352,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_REQUIRED = 0x2 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS SupportFlags; @@ -7449,10 +7449,11 @@ enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SEQUENCE_GOP_RECONFIGURATION_AVAILABLE = 0x800, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_EXTENSION1_SUPPORT = 0x2000, - D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000 + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000, + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_READABLE_RECONSTRUCTED_PICTURE_LAYOUT_AVAILABLE = 0x8000 } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { @@ -7463,7 +7464,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { @@ -7502,7 +7503,7 @@ enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_SEPARATE_COLOUR_PLANE = 0x10000 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; @@ -7565,7 +7566,7 @@ enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_DATA_NOT_SUPPORTED = 0x1000 } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS) typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { UINT GOPLength; @@ -7676,7 +7677,7 @@ enum D3D12_VIDEO_ENCODER_FLAGS D3D12_VIDEO_ENCODER_FLAG_NONE = 0 } D3D12_VIDEO_ENCODER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS) typedef struct D3D12_VIDEO_ENCODER_DESC { UINT NodeMask; @@ -8334,7 +8335,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE = 0x2 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { UCHAR memory_management_control_operation; @@ -8405,7 +8406,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CHROMA_QP_OFFSET_LIST = 0x8 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS Flags; @@ -8481,7 +8482,7 @@ enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { UINT IntraRefreshFrameIndex; @@ -8501,7 +8502,7 @@ enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10 } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS Flags; @@ -8552,7 +8553,7 @@ enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10 } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS) typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { UINT64 AverageQP; diff --git a/external/AgilitySDK/include/d3d12video.idl b/external/AgilitySDK/include/d3d12video.idl index f6814bdd..6e3fba3a 100644 --- a/external/AgilitySDK/include/d3d12video.idl +++ b/external/AgilitySDK/include/d3d12video.idl @@ -95,7 +95,6 @@ typedef enum D3D12_FEATURE_VIDEO D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG = 46, D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1 = 47, - } D3D12_FEATURE_VIDEO; typedef enum D3D12_BITSTREAM_ENCRYPTION_TYPE @@ -161,7 +160,7 @@ typedef enum D3D12_VIDEO_PROCESS_FILTER_FLAGS D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = (1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT), } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { @@ -170,7 +169,7 @@ typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000, } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS )") typedef struct D3D12_VIDEO_PROCESS_ALPHA_BLENDING { @@ -285,7 +284,7 @@ typedef enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS )") typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { @@ -296,7 +295,7 @@ typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8, } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS )") typedef enum D3D12_VIDEO_DECODE_STATUS { @@ -389,7 +388,7 @@ typedef enum D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAG_A = (1 << D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_A), } D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { @@ -409,7 +408,7 @@ typedef enum D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS )") typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS { @@ -418,7 +417,7 @@ typedef enum D3D12_VIDEO_SCALE_SUPPORT_FLAGS D3D12_VIDEO_SCALE_SUPPORT_FLAG_EVEN_DIMENSIONS_ONLY = 0x2, } D3D12_VIDEO_SCALE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_SCALE_SUPPORT_FLAGS )") typedef struct D3D12_VIDEO_SCALE_SUPPORT { @@ -532,7 +531,7 @@ typedef enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO = 0x40, } D3D12_VIDEO_PROCESS_FEATURE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FEATURE_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { @@ -548,7 +547,7 @@ typedef enum D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAG_CUSTOM = 0x80000000, } D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS )") typedef enum D3D12_VIDEO_PROCESS_ORIENTATION { @@ -569,7 +568,7 @@ typedef enum D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAG_FRAME_REPEAT = 0x2, } D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS )") typedef struct D3D12_VIDEO_PROCESS_FILTER_RANGE { @@ -585,7 +584,7 @@ typedef enum D3D12_VIDEO_PROCESS_SUPPORT_FLAGS D3D12_VIDEO_PROCESS_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_PROCESS_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_SUPPORT_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { @@ -897,7 +896,7 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAG_16X16 = (1 << D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_16X16), } D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS )" ) typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { @@ -910,7 +909,7 @@ typedef enum D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAG_QUARTER_PEL = (1 << D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_QUARTER_PEL), } D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS; -cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS );" ) +cpp_quote( "DEFINE_ENUM_FLAG_OPERATORS( D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS )" ) // D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT typedef struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT @@ -1132,7 +1131,7 @@ typedef enum D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS )") // D3D12_FEATURE_VIDEO_DECODE_PROTECTED_RESOURCES typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES @@ -1210,7 +1209,7 @@ typedef enum D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_WRITE = 0x00000002 } D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS )") typedef struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { @@ -1557,7 +1556,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SKIP_MODE_PRESENT = 0x1000000, D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS = 0x2000000, } D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE { D3D12_VIDEO_ENCODER_AV1_TX_MODE_ONLY4x4 = 0, @@ -1571,7 +1570,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_LARGEST = (1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_LARGEST), D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT = (1 << D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT), } D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP = 0, @@ -1589,7 +1588,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_BILINEAR = (1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_BILINEAR), D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE = (1 << D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE), } D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_4x4 = 0, @@ -1623,7 +1622,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_SKIP = (1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_SKIP), D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV = (1 << D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV), } D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_DISABLED = 0, @@ -1647,7 +1646,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_128x128 = 0x4, D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256 = 0x8, } D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { @@ -1664,7 +1663,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_ROTZOOM = (1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_ROTZOOM), D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE = (1 << D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE), } D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_NONE = 0, @@ -1678,7 +1677,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_PRIMARY_REF_FRAME = 0x80, D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES = 0x100, } D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS SupportedFeatureFlags; @@ -1708,7 +1707,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTRA_ONLY_FRAME = (1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTRA_ONLY_FRAME), D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME = (1 << D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME), } D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { @@ -1773,7 +1772,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV = 0x4000, } D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE FrameRestorationType[3]; @@ -1921,7 +1920,7 @@ typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_EXTENSION1_SUPPORT = 0x40, D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QUALITY_VS_SPEED = 0x80, } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { UINT ConstantQP_FullIntracodedFrame; @@ -2253,7 +2252,7 @@ typedef enum D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FL D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_TOTAL_TILES = 0x80, } D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { @@ -2295,7 +2294,7 @@ typedef enum D3D12_VIDEO_ENCODER_HEAP_FLAGS { D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { @@ -2327,7 +2326,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_CONSTRAINED_INTRAPREDICTION_SUPPORT = 0x40, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE_SUPPORT = 0x80, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_0_ALL_LUMA_CHROMA_SLICE_BLOCK_EDGES_ALWAYS_FILTERED = 0, @@ -2349,7 +2348,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES), D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING), } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS SupportFlags; @@ -2393,7 +2392,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_CHROMA_QP_OFFSET_LIST_ENABLED_FLAG_REQUIRED = 0x80000000, // 2^31 - 32 bit integer enum type } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE_8x8 = 0, @@ -2426,7 +2425,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1 D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_SUPPORT = 0x1, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG1_SEPARATE_COLOUR_PLANE_REQUIRED = 0x2, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS1)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC1 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS SupportFlags; @@ -2517,8 +2516,9 @@ typedef enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_EXTENSION1_SUPPORT = 0x2000, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE = 0x4000, + D3D12_VIDEO_ENCODER_SUPPORT_FLAG_READABLE_RECONSTRUCTED_PICTURE_LAYOUT_AVAILABLE = 0x8000, } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { @@ -2528,7 +2528,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ENABLE_CABAC_ENCODING = 0x4, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_DISABLED = 0, @@ -2564,7 +2564,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_CABAC_BYPASS_ALIGNMENT = 0x8000, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_SEPARATE_COLOUR_PLANE = 0x10000, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; @@ -2625,7 +2625,7 @@ typedef enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_VALIDATION_FLAG_GOP_STRUCTURE_NOT_SUPPORTED = 0x800, D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_DATA_NOT_SUPPORTED = 0x1000, } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { @@ -2757,7 +2757,7 @@ typedef enum D3D12_VIDEO_ENCODER_FLAGS { D3D12_VIDEO_ENCODER_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_DESC { @@ -2845,7 +2845,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_NUM_REF_IDX_ACTIVE_OVERRIDE_FLAG_SLICE = 0x2, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { @@ -2914,7 +2914,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CROSS_COMPONENT_PREDICTION = 0x4, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_CHROMA_QP_OFFSET_LIST = 0x8, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { @@ -2989,7 +2989,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { @@ -3008,7 +3008,7 @@ typedef enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_REQUEST_INTRA_REFRESH = 0x8, D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10, } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC { @@ -3062,7 +3062,7 @@ typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED = 0x8, D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10, } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { diff --git a/external/AgilitySDK/include/d3dx12/d3dx12_core.h b/external/AgilitySDK/include/d3dx12/d3dx12_core.h index a93ff5b5..87814fb8 100644 --- a/external/AgilitySDK/include/d3dx12/d3dx12_core.h +++ b/external/AgilitySDK/include/d3dx12/d3dx12_core.h @@ -1495,6 +1495,7 @@ inline const CD3DX12_RESOURCE_DESC1* D3DX12ConditionallyExpandAPIDesc( } } + //------------------------------------------------------------------------------------------------ struct CD3DX12_VIEW_INSTANCING_DESC : public D3D12_VIEW_INSTANCING_DESC { @@ -1532,4 +1533,5 @@ struct CD3DX12_RT_FORMAT_ARRAY : public D3D12_RT_FORMAT_ARRAY memcpy(RTFormats, pFormats, sizeof(RTFormats)); // assumes ARRAY_SIZE(pFormats) == ARRAY_SIZE(RTFormats) } -}; \ No newline at end of file +}; + diff --git a/external/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h b/external/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h index 5591a932..a3ee813c 100644 --- a/external/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h +++ b/external/AgilitySDK/include/d3dx12/d3dx12_pipeline_state_stream.h @@ -11,8 +11,8 @@ #error D3DX12 requires C++ #endif -#include "d3d12.h" #include "d3dx12_default.h" +#include "d3d12.h" #include "d3dx12_core.h" //------------------------------------------------------------------------------------------------ @@ -1494,3 +1494,4 @@ inline HRESULT D3DX12ParsePipelineStream(const D3D12_PIPELINE_STATE_STREAM_DESC& return S_OK; } + diff --git a/external/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h b/external/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h index 902ec0cd..c0c540c5 100644 --- a/external/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h +++ b/external/AgilitySDK/include/d3dx12/d3dx12_resource_helpers.h @@ -11,9 +11,9 @@ #error D3DX12 requires C++ #endif +#include "d3dx12_property_format_table.h" #include "d3d12.h" #include "d3dx12_core.h" -#include "d3dx12_property_format_table.h" //------------------------------------------------------------------------------------------------ template inline void D3D12DecomposeSubresource( UINT Subresource, UINT MipLevels, UINT ArraySize, _Out_ T& MipSlice, _Out_ U& ArraySlice, _Out_ V& PlaneSlice ) noexcept diff --git a/external/AgilitySDK/include/d3dx12/d3dx12_state_object.h b/external/AgilitySDK/include/d3dx12/d3dx12_state_object.h index f74d2577..8f3456b6 100644 --- a/external/AgilitySDK/include/d3dx12/d3dx12_state_object.h +++ b/external/AgilitySDK/include/d3dx12/d3dx12_state_object.h @@ -11,8 +11,8 @@ #error D3DX12 requires C++ #endif -#include "d3d12.h" #include "d3dx12_default.h" +#include "d3d12.h" #include "d3dx12_core.h" //================================================================================================ @@ -2151,3 +2151,4 @@ class CD3DX12_WORK_GRAPH_SUBOBJECT #undef D3DX12_COM_PTR #undef D3DX12_COM_PTR_GET #undef D3DX12_COM_PTR_ADDRESSOF + diff --git a/external/AgilitySDK/version.txt b/external/AgilitySDK/version.txt new file mode 100644 index 00000000..9eb39bf7 --- /dev/null +++ b/external/AgilitySDK/version.txt @@ -0,0 +1,4 @@ +1.614.1 +downloaded from https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.614.1 +I renamed the .nupkg to .zip and grabbed the bin and include from the build/native folder. +I also copied the contents of bin/x64 to bin and deleted the 3 subfolders (arm64, win32, x64) \ No newline at end of file diff --git a/main.cpp b/main.cpp index b30856db..0ebf913b 100644 --- a/main.cpp +++ b/main.cpp @@ -70,7 +70,7 @@ int main(int argc, char** argv) } if ((argc != 4 && argc != 5) || (argc == 5 && !GENERATE_GRAPHVIZ_FLAG)) { - printf("Version " GIGI_VERSION() " (" BUILD_FLAVOR() ")\n"); + printf("Version " GIGI_VERSION_WITH_BUILD_NUMBER() " (" BUILD_FLAVOR() ")\n"); printf("Usage: GigiCompiler.exe \n\nExample: GigiCompiler.exe DX12_Module Techniques/boxblur.gg ./out/ [-graphviz]\n\n"); printf("Backends Supported:\n"); #include "external/df_serialize/_common.h"