diff options
author | Pierre Moreau <dev@pmoreau.org> | 2016-02-28 22:03:07 +0100 |
---|---|---|
committer | Pierre Moreau <dev@pmoreau.org> | 2016-03-13 18:51:17 +0100 |
commit | 5a63060e3c53393432c56ec9722d2bb365ac1ecb (patch) | |
tree | 23dbb8c8efc36057ddf461a853b46dbe87441583 /tools | |
parent | 3ddf533b86c65dbcddc5baacffc1bd215001fdbb (diff) |
gen_spirv: Remove left-over comments
Diffstat (limited to 'tools')
-rw-r--r-- | tools/spirv-tool/gen_spirv.bash | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/spirv-tool/gen_spirv.bash b/tools/spirv-tool/gen_spirv.bash index e198640..fb4ca77 100644 --- a/tools/spirv-tool/gen_spirv.bash +++ b/tools/spirv-tool/gen_spirv.bash @@ -16,9 +16,7 @@ echo "template<> inline void SPIRVMap<$prefix, std::string>::init() {" cat $spirvHeader | sed -n -e "/^ *${prefix}[^a-z]/s:^ *${prefix}\([^= ][^= ]*\)[= ][= ]*\([0x]*[0-9][0-9]*\).*:\1 \2:p" | while read a b; do - #printf "_SPIRV_OP(%s, %s)\n" $a $b printf " add(${prefix}%s, \"%s\");\n" $a $a - #i=$((i+1)) done echo "} @@ -117,7 +115,6 @@ if [[ $# -ne 2 ]]; then exit fi -#spirvHeader=/home/yaxunl/stg/compiler/llvm/lib/SPIRV/libSPIRV/spirv.hpp spirvHeader=$1 type=$2 |