[SPIR-V] Remove more vec2-4 reserve calls

This commit is contained in:
Triang3l
2023-04-18 22:05:02 +03:00
parent 887fda55c2
commit eede38ff63
2 changed files with 0 additions and 10 deletions

View File

@@ -29,7 +29,6 @@ spv::Id SpirvShaderTranslator::ZeroIfAnyOperandIsZero(spv::Id value,
assert_true(builder_->getNumComponents(operand_0_abs) == num_components);
assert_true(builder_->getNumComponents(operand_1_abs) == num_components);
id_vector_temp_util_.clear();
id_vector_temp_util_.reserve(2);
id_vector_temp_util_.push_back(operand_0_abs);
id_vector_temp_util_.push_back(operand_1_abs);
return builder_->createTriOp(