diff options
Diffstat (limited to 'source/slang/ir-entry-point-uniforms.cpp')
| -rw-r--r-- | source/slang/ir-entry-point-uniforms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/ir-entry-point-uniforms.cpp b/source/slang/ir-entry-point-uniforms.cpp index 64deec1c5..56a0defcf 100644 --- a/source/slang/ir-entry-point-uniforms.cpp +++ b/source/slang/ir-entry-point-uniforms.cpp @@ -162,7 +162,7 @@ struct MoveEntryPointUniformParametersToGlobalScope // an explicit IR constant buffer for that wrapper, // auto entryPointParamsLayout = entryPointLayout->parametersLayout; - bool needConstantBuffer = entryPointParamsLayout->typeLayout.as<ParameterGroupTypeLayout>() != nullptr; + bool needConstantBuffer = entryPointParamsLayout->typeLayout.is<ParameterGroupTypeLayout>(); // We will set up an IR builder so that we are ready to generate code. // |
