summaryrefslogtreecommitdiff
path: root/sc/sc.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-03-02 17:30:17 +1100
committerquou <quou@disroot.org>2025-03-02 17:31:06 +1100
commit5b548cb866405b6716d5f904e4df75c07dbbad9b (patch)
treef08cddeb3f6ecb668dbac536d0ee2c533b0a55ee /sc/sc.cpp
parent528c5a7ef9e3e7cadf9a2caefa3ca115b382df75 (diff)
nevermind
Diffstat (limited to 'sc/sc.cpp')
-rw-r--r--sc/sc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/sc.cpp b/sc/sc.cpp
index 1f7ccba..9232e10 100644
--- a/sc/sc.cpp
+++ b/sc/sc.cpp
@@ -601,7 +601,7 @@ struct Desc {
size_t i, l = trgts.size();
for (i = 0; i < l; i++) {
auto& attr = trgts[i];
- ss << "layout (location = " << i << ") out ";
+ ss << "layout (location = 0) out ";
ss << attr.tname << " ";
ss << attr.name << ";\n";
}