Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gem/Code/Source/ExposureExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ namespace AtomSampleViewer
m_pointLight = lightHandle;
}

void ExposureExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
void ExposureExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
{
m_sponzaAssetLoaded = true;

Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/RHI/CopyQueueComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ namespace AtomSampleViewer

RHI::EmptyCompileFunction<ScopeData> compileFunction;

const auto executeFunction = [=](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
const auto executeFunction = [this](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
{

RHI::CommandList* commandList = context.GetCommandList();
Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/RHI/MultiGPUExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ namespace AtomSampleViewer
m_shaderResourceGroupComposite->Compile(m_shaderResourceGroupDataComposite);
};

const auto executeFunction = [=](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
const auto executeFunction = [this](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
{
RHI::CommandList* commandList = context.GetCommandList();

Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/RHI/SphericalHarmonicsExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ namespace AtomSampleViewer
}
};

const auto executeFunction = [=]([[maybe_unused]] const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
const auto executeFunction = [this]([[maybe_unused]] const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
{
RHI::CommandList* commandList = context.GetCommandList();

Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/RHI/Texture3dExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ namespace AtomSampleViewer
m_shaderResourceGroup->Compile();
};

const auto executeFunction = [=]([[maybe_unused]] const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
const auto executeFunction = [this]([[maybe_unused]] const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
{
RHI::CommandList* commandList = context.GetCommandList();

Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/RHI/TextureExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ namespace AtomSampleViewer
}
};

const auto executeFunction = [=](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
const auto executeFunction = [this](const RHI::FrameGraphExecuteContext& context, [[maybe_unused]] const ScopeData& scopeData)
{
RHI::CommandList* commandList = context.GetCommandList();

Expand Down
2 changes: 1 addition & 1 deletion Gem/Code/Source/SsaoExampleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace AtomSampleViewer

// --- World Model ---

void SsaoExampleComponent::OnModelReady(AZ::Data::Instance<AZ::RPI::Model> model)
void SsaoExampleComponent::OnModelReady([[maybe_unused]] AZ::Data::Instance<AZ::RPI::Model> model)
{
m_worldModelAssetLoaded = true;
}
Expand Down