Run format.sh.
This commit is contained in:
Родитель
64a2803dec
Коммит
6cc9624e88
|
@ -1062,7 +1062,7 @@ void CompilerGLSL::replace_fragment_output(SPIRVariable &var)
|
|||
if (location != 0)
|
||||
throw CompilerError("Arrayed output variable used, but location is not 0. "
|
||||
"This is unimplemented in SPIRV-Cross.");
|
||||
|
||||
|
||||
if (is_legacy_es())
|
||||
require_extension("GL_EXT_draw_buffers");
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ string CompilerMSL::compile(MSLConfiguration &msl_cfg, vector<MSLVertexAttr> *p_
|
|||
reset();
|
||||
|
||||
next_metal_resource_index = MSLResourceBinding(); // Start bindings at zero
|
||||
|
||||
|
||||
// Move constructor for this type is broken on GCC 4.9 ...
|
||||
buffer = unique_ptr<ostringstream>(new ostringstream());
|
||||
|
||||
|
@ -391,7 +391,7 @@ uint32_t CompilerMSL::add_interface_struct(StorageClass storage, uint32_t vtx_bi
|
|||
void CompilerMSL::emit_header()
|
||||
{
|
||||
for (auto &header : header_lines)
|
||||
statement(header);
|
||||
statement(header);
|
||||
|
||||
statement("#include <metal_stdlib>");
|
||||
statement("#include <simd/simd.h>");
|
||||
|
|
Загрузка…
Ссылка в новой задаче