Sign in
android
/
platform
/
external
/
mesa3d
/
a130c33e886ac9aa1465575703e599ea4e3986c1
/
.
/
src
/
gallium
/
state_trackers
/
d3d1x
/
d3d1xshader
/
gen-text.sh
blob: 4663f635d432b2346afd3c947a13c2578d3bee6e [
file
] [
log
] [
blame
]
#!/bin/bash
for
i
in
"$@"
;
do
n
=
$
(
basename
"$i"
.
txt
|
sed
-
e
's/s$//'
)
echo
"const char* sm4_${n}_names[] ="
echo
"{"
while
read j
;
do
echo $
'\t'"\"$j\""
,
done
<
"$i"
echo
"};"
echo
done