We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927abee commit 50c97a6Copy full SHA for 50c97a6
Graphics/ShaderTools/src/ConvertUBOToPushConstant.cpp
@@ -96,7 +96,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
96
if (candidate_ids.empty())
97
{
98
// Block name not found
99
- return Status::Failure;
+ return Status::SuccessWithoutChange;
100
}
101
102
// Try each candidate ID to find a UniformBuffer
@@ -191,7 +191,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
191
if (target_var == nullptr)
192
193
// No UniformBuffer found with the given block name
194
195
196
197
uint32_t target_var_id = target_var->result_id();
0 commit comments