From 8be5ed24147ed0b3ed8a43874a233945f94b4cdc Mon Sep 17 00:00:00 2001 From: assiduous Date: Sun, 3 Jan 2021 16:00:13 -0800 Subject: Updated release history and readme; updated submodules --- DiligentCore | 2 +- DiligentFX | 2 +- DiligentSamples | 2 +- DiligentTools | 2 +- README.md | 6 +++-- ReleaseHistory.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 79 insertions(+), 6 deletions(-) diff --git a/DiligentCore b/DiligentCore index fa345f5..d6fc14e 160000 --- a/DiligentCore +++ b/DiligentCore @@ -1 +1 @@ -Subproject commit fa345f59de694ac249c14e987032ef3e341faaa7 +Subproject commit d6fc14effef40afb055aba46af6b5ed0b1c80401 diff --git a/DiligentFX b/DiligentFX index 36c06a1..497e19c 160000 --- a/DiligentFX +++ b/DiligentFX @@ -1 +1 @@ -Subproject commit 36c06a1e1f25a077e54c98233e9f014303593252 +Subproject commit 497e19c48138b98442ab083b46968f4c77f13cdc diff --git a/DiligentSamples b/DiligentSamples index deee5d8..31cd319 160000 --- a/DiligentSamples +++ b/DiligentSamples @@ -1 +1 @@ -Subproject commit deee5d8c4b7ff7211d1755abeb6619b4b79fe8ff +Subproject commit 31cd3198764dcda0a8e791e6e1528566feb181b9 diff --git a/DiligentTools b/DiligentTools index ae2fd74..b3fd659 160000 --- a/DiligentTools +++ b/DiligentTools @@ -1 +1 @@ -Subproject commit ae2fd744e5655fcc1c9bcb0ec280f16eb67d4123 +Subproject commit b3fd65985d9c166a7c2a5b0208a39fe1f6920c83 diff --git a/README.md b/README.md index 0b5b762..b89df2f 100644 --- a/README.md +++ b/README.md @@ -754,8 +754,10 @@ This project has some third-party dependencies, each of which may have independe To contribute your code, submit a [Pull Request](https://github.com/DiligentGraphics/DiligentEngine/pulls) to this repository. **Diligent Engine** is licensed under the [Apache 2.0 license](License.txt) that guarantees -that code in the **DiligentEngine** repository is free of Intellectual Property encumbrances. In submitting code to -this repository, you are agreeing that the code is free of any Intellectual Property claims. +that content in the **DiligentEngine** repository is free of Intellectual Property encumbrances. +In submitting any content to this repository, +[you license that content under the same terms](https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-terms-of-service#6-contributions-under-repository-license), +and you agree that the content is free of any Intellectual Property claims and you have the right to license it under those terms. Diligent Engine uses [clang-format](https://clang.llvm.org/docs/ClangFormat.html) to ensure consistent source code style throught the code base. The format is validated by appveyor and travis diff --git a/ReleaseHistory.md b/ReleaseHistory.md index 2da9bc5..36e3f8d 100644 --- a/ReleaseHistory.md +++ b/ReleaseHistory.md @@ -1,4 +1,74 @@ +## v2.4.g + +### API Changes + +* Enabled ray tracing (API Version 240080) +* Added `IDeviceContext::GetFrameNumber` method (API Version 240079) +* Added `ShaderResourceQueries` device feature and `EngineGLCreateInfo::ForceNonSeparablePrograms` parameter (API Version 240078) + +* Renamed `USAGE_STATIC` to `USAGE_IMMUTABLE` (API Version 240077) + +* Renamed static samplers into immutable samplers (API Version 240076) + * Renamed `StaticSamplerDesc` -> `ImmutableSamplerDesc` + * Renamed `PipelineResourceLayoutDesc::NumStaticSamplers` -> `PipelineResourceLayoutDesc::NumImmutableSamplers` + * Renamed `PipelineResourceLayoutDesc::StaticSamplers` -> `PipelineResourceLayoutDesc::ImmutableSamplers` + +* Refactored pipeline state creation (API Version 240075) + * Replaced `PipelineStateCreateInfo` with `GraphicsPipelineStateCreateInfo` and `ComputePipelineStateCreateInfo` + * Replaced `IRenderDevice::CreatePipelineState` with `IRenderDevice::CreateGraphicsPipelineState` and `IRenderDevice::CreateComputePipelineState` + * `pVS`, `pGS`, `pHS`, `pDS`, `pPS`, `pAS`, `pMS` were moved from `GraphicsPipelineDesc` to `GraphicsPipelineStateCreateInfo` + * `GraphicsPipelineDesc GraphicsPipeline` was moved from `PipelineStateDesc` to `GraphicsPipelineStateCreateInfo` + * `pCS` is now a member of `ComputePipelineStateCreateInfo`, `ComputePipelineDesc` was removed + * Added `IPipelineState::GetGraphicsPipelineDesc` method + + Old API for graphics pipeline initialization: + ```cpp + PipelineStateCreateInfo PSOCreateInfo; + PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc; + + PSODesc.GraphicsPipeline.pVS = pVS; + PSODesc.GraphicsPipeline.pPS = pVS; + // ... + Device->CreatePipelineState(PSOCreateInfo, &pPSO); + ``` + + New API for graphics pipeline initialization: + ```cpp + GraphicsPipelineStateCreateInfo PSOCreateInfo; + // ... + PSOCreateInfo.pVS = pVS; + PSOCreateInfo.pPS = pVS; + Device->CreateGraphicsPipelineState(PSOCreateInfo, &pPSO); + ``` + + Old API for compute pipeline initialization: + ```cpp + PipelineStateCreateInfo PSOCreateInfo; + PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc; + + PSODesc.ComputePipeline.pCS = pCS; + // ... + Device->CreatePipelineState(PSOCreateInfo, &pPSO); + ``` + + New API for compute pipeline initialization: + ```cpp + ComputePipelineStateCreateInfo PSOCreateInfo; + + PSOCreateInfo.pCS = pCS; + Device->CreateComputePipelineState(PSOCreateInfo, &pPSO); + ``` + +* Added `ShaderInt8`, `ResourceBuffer8BitAccess`, and `UniformBuffer8BitAccess` device features. (API Version 240074) +* Added `ShaderFloat16`, `ResourceBuffer16BitAccess`, `UniformBuffer16BitAccess`, and `ShaderInputOutput16` device features. (API Version 240073) + + +### Samples and Tutorials + +* Added [Tutorial21 - Ray Tracing](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial21_RayTracing) + + ## v2.4.f ### API Changes @@ -37,6 +107,7 @@ * Added [Tutorial19 - Render Passes](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial19_RenderPasses) * Added [Tutorial20 - Mesh Shader](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial20_MeshShader) + ## v2.4.e ### General -- cgit v1.2.3