Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spirv] Stop emitting commit count #1524

Merged
merged 1 commit into from Sep 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions tools/clang/lib/SPIRV/Structure.cpp
Expand Up @@ -379,10 +379,6 @@ void SPIRVModule::take(InstBuilder *builder) {
std::string("dxc-commit-hash: ") + clang::getGitCommitHash();
builder->opModuleProcessed(commitHash).x();

std::string commitCount = std::string("dxc-commit-count: ") +
std::to_string(clang::getGitCommitCount());
builder->opModuleProcessed(commitCount).x();

// Emit OpModuleProcessed to indicate the command line options that were
// used to generate this module.
if (!spirvOptions.clOptions.empty()) {
Expand Down
1 change: 0 additions & 1 deletion tools/clang/test/CodeGenSPIRV/spirv.debug.commit.hlsl
@@ -1,6 +1,5 @@
// Run: %dxc -T vs_6_0 -E main -fspv-target-env=vulkan1.1 -Zi

// CHECK: OpModuleProcessed "dxc-commit-hash: {{\w+}}"
// CHECK: OpModuleProcessed "dxc-commit-count: {{\d+}}"

void main() { }