summaryrefslogtreecommitdiffstats
path: root/src/freedreno/registers/update-headers.sh
blob: 4e521e8c74a6c271c31cacecbb16c898116fc37b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

d=$(dirname $0)

rnndb=$1

if [ ! -f $rnndb/rnndb/adreno/adreno_common.xml ]; then
	echo directory does not look like envytools: $rnndb
	exit 1
fi

for f in $d/*.xml.h; do
	cp -v $rnndb/rnndb/adreno/$(basename $f) $d
done