Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into Atom/gallowj/stabilization/2106
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"$type": "DX12::PlatformLimitsDescriptor",
|
||||
|
||||
"m_descriptorHeapLimits": {
|
||||
"DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV": [16384, 262144],
|
||||
"DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV": [1000000, 1000000],
|
||||
"DESCRIPTOR_HEAP_TYPE_SAMPLER": [2048, 2048],
|
||||
"DESCRIPTOR_HEAP_TYPE_RTV": [2048, 0],
|
||||
"DESCRIPTOR_HEAP_TYPE_DSV": [2048, 0]
|
||||
|
||||
+3
-1
@@ -23,7 +23,9 @@ namespace AZ
|
||||
{
|
||||
Low,
|
||||
Medium,
|
||||
High
|
||||
High,
|
||||
|
||||
Count
|
||||
};
|
||||
|
||||
//! This class provides general features and configuration for the diffuse global illumination environment,
|
||||
|
||||
+14
-1
@@ -20,6 +20,8 @@
|
||||
#include <Atom/RPI.Public/AuxGeom/AuxGeomDraw.h>
|
||||
#include <Atom/RPI.Public/ColorManagement/TransformColor.h>
|
||||
#include <Atom/RPI.Public/Pass/PassSystemInterface.h>
|
||||
#include <Atom/RPI.Public/Pass/PassFilter.h>
|
||||
#include <Atom/RPI.Public/Pass/Specific/EnvironmentCubeMapPass.h>
|
||||
#include <Atom/RPI.Public/RenderPipeline.h>
|
||||
#include <Atom/RPI.Public/Scene.h>
|
||||
#include <Atom/RPI.Public/View.h>
|
||||
@@ -1070,7 +1072,18 @@ namespace AZ
|
||||
segment.m_pipelineViewTag = viewTag;
|
||||
if (!segment.m_view || segment.m_view->GetName() != viewName)
|
||||
{
|
||||
segment.m_view = RPI::View::CreateView(viewName, RPI::View::UsageShadow);
|
||||
RPI::View::UsageFlags usageFlags = RPI::View::UsageShadow;
|
||||
|
||||
// if the shadow is rendering in an EnvironmentCubeMapPass it also needs to be a ReflectiveCubeMap view,
|
||||
// to filter out shadows from objects that are excluded from the cubemap
|
||||
RPI::PassClassFilter<RPI::EnvironmentCubeMapPass> passFilter;
|
||||
AZStd::vector<AZ::RPI::Pass*> cubeMapPasses = AZ::RPI::PassSystemInterface::Get()->FindPasses(passFilter);
|
||||
if (!cubeMapPasses.empty())
|
||||
{
|
||||
usageFlags |= RPI::View::UsageReflectiveCubeMap;
|
||||
}
|
||||
|
||||
segment.m_view = RPI::View::CreateView(viewName, usageFlags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -43,6 +43,12 @@ namespace AZ
|
||||
|
||||
void DiffuseGlobalIlluminationFeatureProcessor::SetQualityLevel(DiffuseGlobalIlluminationQualityLevel qualityLevel)
|
||||
{
|
||||
if (qualityLevel >= DiffuseGlobalIlluminationQualityLevel::Count)
|
||||
{
|
||||
AZ_Assert(false, "SetQualityLevel called with invalid quality level [%d]", qualityLevel);
|
||||
return;
|
||||
}
|
||||
|
||||
m_qualityLevel = qualityLevel;
|
||||
|
||||
UpdatePasses();
|
||||
|
||||
@@ -12691,8 +12691,7 @@ static int glad_vk_find_extensions_vulkan( VkPhysicalDevice physical_device) {
|
||||
#endif
|
||||
GLAD_VK_KHR_push_descriptor = glad_vk_has_extension("VK_KHR_push_descriptor", extension_count, extensions);
|
||||
GLAD_VK_KHR_ray_tracing = (glad_vk_has_extension("VK_KHR_acceleration_structure", extension_count, extensions)
|
||||
&& glad_vk_has_extension("VK_KHR_ray_tracing_pipeline", extension_count, extensions)
|
||||
&& glad_vk_has_extension("VK_KHR_ray_query", extension_count, extensions));
|
||||
&& glad_vk_has_extension("VK_KHR_ray_tracing_pipeline", extension_count, extensions));
|
||||
GLAD_VK_KHR_relaxed_block_layout = glad_vk_has_extension("VK_KHR_relaxed_block_layout", extension_count, extensions);
|
||||
GLAD_VK_KHR_sampler_mirror_clamp_to_edge = glad_vk_has_extension("VK_KHR_sampler_mirror_clamp_to_edge", extension_count, extensions);
|
||||
GLAD_VK_KHR_sampler_ycbcr_conversion = glad_vk_has_extension("VK_KHR_sampler_ycbcr_conversion", extension_count, extensions);
|
||||
|
||||
+1
-2
@@ -118,8 +118,7 @@ namespace AZ
|
||||
void EditorAttachmentComponent::Activate()
|
||||
{
|
||||
Base::Activate();
|
||||
m_boneFollower.Activate(GetEntity(), CreateAttachmentConfiguration(),
|
||||
false); // Entity's don't animate in Editor
|
||||
m_boneFollower.Activate(GetEntity(), CreateAttachmentConfiguration(), /*targetCanAnimate=*/true);
|
||||
}
|
||||
|
||||
void EditorAttachmentComponent::Deactivate()
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ namespace AZ
|
||||
|
||||
static void Reflect(ReflectContext* context);
|
||||
|
||||
DiffuseGlobalIlluminationQualityLevel m_qualityLevel;
|
||||
DiffuseGlobalIlluminationQualityLevel m_qualityLevel = DiffuseGlobalIlluminationQualityLevel::Low;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ namespace AZ
|
||||
->Attribute(Edit::Attributes::Category, "Atom")
|
||||
->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Component_Placeholder.svg")
|
||||
->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Component_Placeholder.png")
|
||||
->Attribute(Edit::Attributes::AppearsInAddComponentMenu, AZStd::vector<AZ::Crc32>({ AZ_CRC("Level", 0x9aeacc13), AZ_CRC("Game", 0x232b318c) }))
|
||||
->Attribute(Edit::Attributes::AppearsInAddComponentMenu, AZStd::vector<AZ::Crc32>({ AZ_CRC("Level", 0x9aeacc13) }))
|
||||
->Attribute(Edit::Attributes::AutoExpand, true)
|
||||
->Attribute(Edit::Attributes::HelpPageURL, "https://")
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user