Skip to content

Commit a08100f

Browse files
committed
Fixed mixed spaces/tabs caused by broken IDE settings.
1 parent 2eb39fa commit a08100f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Compile/include/MSL/Compile/TargetMetal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class MSL_COMPILE_EXPORT TargetMetal : public Target
9696
* @return False if the compilation failed.
9797
*/
9898
virtual bool compileMetal(
99-
std::vector<std::uint8_t>& data, Output& output, const std::string& metal);
99+
std::vector<std::uint8_t>& data, Output& output, const std::string& metal);
100100

101101
std::uint32_t getSpirVVersion() const override;
102102
void willCompile() override;

Compile/src/TargetMetal.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static std::vector<std::uint32_t> setBindingIndices(const std::vector<std::uint3
133133
}
134134

135135
static std::string setFragmentGroup(
136-
const std::string& metal, const std::string& entryPoint, std::uint32_t fragmentGroup)
136+
const std::string& metal, const std::string& entryPoint, std::uint32_t fragmentGroup)
137137
{
138138
std::string structDecl = "struct " + entryPoint + "_out";
139139
std::size_t outStructStart = metal.find(structDecl);
@@ -166,7 +166,7 @@ static std::string setFragmentGroup(
166166
}
167167

168168
static std::string patchEntryPointInputGroup(
169-
const std::string& metal, const FragmentInputGroup& inputGroup)
169+
const std::string& metal, const FragmentInputGroup& inputGroup)
170170
{
171171
// Expect one primary declaration in the entry point.
172172
std::string declStart = "constant " + inputGroup.type + "& " + inputGroup.name + " [[buffer(";
@@ -296,7 +296,7 @@ void TargetMetal::willCompile()
296296
}
297297

298298
bool TargetMetal::compileMetal(
299-
std::vector<std::uint8_t>& data, Output& output, const std::string& metal)
299+
std::vector<std::uint8_t>& data, Output& output, const std::string& metal)
300300
{
301301
// Compile this entry point.
302302
std::stringstream versionStr;

0 commit comments

Comments
 (0)