mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
Make file formatting comply with POSIX and Unix standards
UTF-8, LF, no BOM, and newlines at the end of files
This commit is contained in:
parent
9659831766
commit
c8274e941e
@ -85,7 +85,7 @@ genrule(
|
|||||||
"SPIRV/GLSL.ext.KHR.h",
|
"SPIRV/GLSL.ext.KHR.h",
|
||||||
"SPIRV/GLSL.ext.NV.h",
|
"SPIRV/GLSL.ext.NV.h",
|
||||||
"SPIRV/GLSL.std.450.h",
|
"SPIRV/GLSL.std.450.h",
|
||||||
"SPIRV/NonSemanticDebugPrintf.h",
|
"SPIRV/NonSemanticDebugPrintf.h",
|
||||||
"SPIRV/spirv.hpp",
|
"SPIRV/spirv.hpp",
|
||||||
],
|
],
|
||||||
outs = [
|
outs = [
|
||||||
@ -94,7 +94,7 @@ genrule(
|
|||||||
"include/SPIRV/GLSL.ext.KHR.h",
|
"include/SPIRV/GLSL.ext.KHR.h",
|
||||||
"include/SPIRV/GLSL.ext.NV.h",
|
"include/SPIRV/GLSL.ext.NV.h",
|
||||||
"include/SPIRV/GLSL.std.450.h",
|
"include/SPIRV/GLSL.std.450.h",
|
||||||
"include/SPIRV/NonSemanticDebugPrintf.h",
|
"include/SPIRV/NonSemanticDebugPrintf.h",
|
||||||
"include/SPIRV/spirv.hpp",
|
"include/SPIRV/spirv.hpp",
|
||||||
],
|
],
|
||||||
cmd = "mkdir -p $(@D)/include/SPIRV && cp $(SRCS) $(@D)/include/SPIRV/",
|
cmd = "mkdir -p $(@D)/include/SPIRV && cp $(SRCS) $(@D)/include/SPIRV/",
|
||||||
|
2
BUILD.gn
2
BUILD.gn
@ -70,7 +70,7 @@ source_set("glslang_sources") {
|
|||||||
"SPIRV/InReadableOrder.cpp",
|
"SPIRV/InReadableOrder.cpp",
|
||||||
"SPIRV/Logger.cpp",
|
"SPIRV/Logger.cpp",
|
||||||
"SPIRV/Logger.h",
|
"SPIRV/Logger.h",
|
||||||
"SPIRV/NonSemanticDebugPrintf.h",
|
"SPIRV/NonSemanticDebugPrintf.h",
|
||||||
"SPIRV/SPVRemapper.cpp",
|
"SPIRV/SPVRemapper.cpp",
|
||||||
"SPIRV/SPVRemapper.h",
|
"SPIRV/SPVRemapper.h",
|
||||||
"SPIRV/SpvBuilder.cpp",
|
"SPIRV/SpvBuilder.cpp",
|
||||||
|
@ -69,4 +69,4 @@ std::string SpvBuildLogger::getAllMessages() const {
|
|||||||
|
|
||||||
} // end spv namespace
|
} // end spv namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1 +1 @@
|
|||||||
#error should not be included
|
#error should not be included
|
||||||
|
@ -1 +1 @@
|
|||||||
float4 i6;
|
float4 i6;
|
||||||
|
@ -1 +1 @@
|
|||||||
theme: jekyll-theme-merlot
|
theme: jekyll-theme-merlot
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
This code is based on the glslang_c_interface implementation by Viktor Latypov
|
This code is based on the glslang_c_interface implementation by Viktor Latypov
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
// The file revision.h should be updated to the latest version, somehow, on
|
// The file revision.h should be updated to the latest version, somehow, on
|
||||||
// check-in, if glslang has changed.
|
// check-in, if glslang has changed.
|
||||||
//
|
//
|
||||||
// revision.template is the source for revision.h when using SubWCRev as the
|
// revision.template is the source for revision.h when using SubWCRev as the
|
||||||
// method of updating revision.h. You don't have to do it this way, the
|
// method of updating revision.h. You don't have to do it this way, the
|
||||||
// requirement is only that revision.h gets updated.
|
// requirement is only that revision.h gets updated.
|
||||||
//
|
//
|
||||||
// revision.h is under source control so that not all consumers of glslang
|
// revision.h is under source control so that not all consumers of glslang
|
||||||
// source have to figure out how to create revision.h just to get a build
|
// source have to figure out how to create revision.h just to get a build
|
||||||
// going. However, if it is not updated, it can be a version behind.
|
// going. However, if it is not updated, it can be a version behind.
|
||||||
|
|
||||||
#define GLSLANG_REVISION "$WCREV$"
|
#define GLSLANG_REVISION "$WCREV$"
|
||||||
#define GLSLANG_DATE "$WCDATE$"
|
#define GLSLANG_DATE "$WCDATE$"
|
||||||
|
@ -1537,4 +1537,4 @@ void TIntermediate::output(TInfoSink& infoSink, bool tree)
|
|||||||
|
|
||||||
} // end namespace glslang
|
} // end namespace glslang
|
||||||
|
|
||||||
#endif // not GLSLANG_WEB
|
#endif // not GLSLANG_WEB
|
||||||
|
@ -867,4 +867,4 @@ void PropagateNoContraction(const glslang::TIntermediate& intermediate)
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GLSLANG_WEB
|
#endif // GLSLANG_WEB
|
||||||
|
@ -220,4 +220,4 @@ protected:
|
|||||||
|
|
||||||
#endif // _REFLECTION_INCLUDED
|
#endif // _REFLECTION_INCLUDED
|
||||||
|
|
||||||
#endif // GLSLANG_WEB
|
#endif // GLSLANG_WEB
|
||||||
|
Loading…
Reference in New Issue
Block a user