File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
153153 }
154154
155155 // Check if the named_id is a variable or a type
156- spvtools::opt::Instruction* target_var = nullptr ;
156+ spvtools::opt::Instruction* target_var = nullptr ;
157157 spvtools::opt::Instruction* named_inst = get_def_use_mgr ()->GetDef (named_id);
158158
159159 if (named_inst == nullptr )
@@ -234,7 +234,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
234234
235235 // Create or find a pointer type with PushConstant storage class
236236 spvtools::opt::analysis::TypeManager* type_mgr = context ()->get_type_mgr ();
237- uint32_t new_ptr_type_id =
237+ uint32_t new_ptr_type_id =
238238 type_mgr->FindPointerToType (pointee_type_id, spv::StorageClass::PushConstant);
239239
240240 if (new_ptr_type_id == 0 )
@@ -397,7 +397,7 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
397397 // Changes the result type of an instruction to use the new storage class.
398398 void ChangeResultStorageClass (spvtools::opt::Instruction* inst)
399399 {
400- spvtools::opt::analysis::TypeManager* type_mgr = context ()->get_type_mgr ();
400+ spvtools::opt::analysis::TypeManager* type_mgr = context ()->get_type_mgr ();
401401 spvtools::opt::Instruction* result_type_inst = get_def_use_mgr ()->GetDef (inst->type_id ());
402402
403403 if (result_type_inst->opcode () != spv::Op::OpTypePointer)
You can’t perform that action at this time.
0 commit comments