diff options
author | Keith Whitwell <[email protected]> | 2008-10-15 17:20:30 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-10-15 17:20:30 +0100 |
commit | cf85e413ad7672c1cef73215222ca1caa8e48b30 (patch) | |
tree | f6c22fe6664f2512a06653768ca27b17d2294134 /progs/vp/xform.txt | |
parent | d533a5d00ae2d0669e9da41718ee847de0c343aa (diff) | |
parent | 055d986efefa310d6ffd1106e565ca2f5964159a (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
src/mesa/main/context.c
Diffstat (limited to 'progs/vp/xform.txt')
-rw-r--r-- | progs/vp/xform.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/progs/vp/xform.txt b/progs/vp/xform.txt new file mode 100644 index 00000000000..d1548f1f10d --- /dev/null +++ b/progs/vp/xform.txt @@ -0,0 +1,11 @@ +!!ARBvp1.0 +PARAM Emission = state.material.emission; +PARAM Ambient = state.material.ambient; +PARAM Diffuse = state.material.diffuse; +PARAM Specular = state.material.specular; +DP4 result.position.x, Ambient, vertex.position; +DP4 result.position.y, Diffuse, vertex.position; +DP4 result.position.z, Specular, vertex.position; +DP4 result.position.w, Emission, vertex.position; +MOV result.color, vertex.color; +END |