Skip to content

Commit 50c97a6

Browse files
committed
restore
1 parent 927abee commit 50c97a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Graphics/ShaderTools/src/ConvertUBOToPushConstant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
9696
if (candidate_ids.empty())
9797
{
9898
// Block name not found
99-
return Status::Failure;
99+
return Status::SuccessWithoutChange;
100100
}
101101

102102
// Try each candidate ID to find a UniformBuffer
@@ -191,7 +191,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
191191
if (target_var == nullptr)
192192
{
193193
// No UniformBuffer found with the given block name
194-
return Status::Failure;
194+
return Status::SuccessWithoutChange;
195195
}
196196

197197
uint32_t target_var_id = target_var->result_id();

0 commit comments

Comments
 (0)