Skip to content

Commit d79fe20

Browse files
author
kevyuu
committed
Remove unused code
1 parent 2904e3e commit d79fe20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/nbl/asset/IRayTracingPipeline.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ class IRayTracingPipeline : public IPipeline<PipelineLayoutType>, public IRayTra
8888
if (!IPipeline<PipelineLayoutType>::SCreationParams::layout)
8989
return false;
9090

91-
core::bitflag<ICPUShader::E_SHADER_STAGE> stagePresence = {};
9291
for (const auto info : shaders)
92+
{
9393
if (info.shader)
9494
{
9595
if (!extra(info))
@@ -99,7 +99,6 @@ class IRayTracingPipeline : public IPipeline<PipelineLayoutType>, public IRayTra
9999
return false;
100100
if (!std::has_single_bit<std::underlying_type_t<ICPUShader::E_SHADER_STAGE>>(stage))
101101
return false;
102-
stagePresence |= stage;
103102
}
104103

105104
auto getShaderStage = [this](size_t index) -> ICPUShader::E_SHADER_STAGE

0 commit comments

Comments
 (0)