~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/gallium/state_trackers/d3d1x/d3d1xshader/gen-text.sh

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
for i in "$@"; do
 
3
        n=$(basename "$i" .txt|sed -e 's/s$//')
 
4
        echo "const char* sm4_${n}_names[] ="
 
5
        echo "{"
 
6
        while read j; do
 
7
                echo $'\t'"\"$j\"",
 
8
        done < "$i"
 
9
        echo "};"
 
10
        echo
 
11
done