~thomas-voss/glmark2/build-for-mir

« back to all changes in this revision

Viewing changes to data/shaders/pulsar.vert

  • Committer: Package Import Robot
  • Author(s): Alexandros Frantzis
  • Date: 2011-09-22 11:32:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: package-import@ubuntu.com-20110922113217-wvok1qgruexari8d
Tags: 2011.09-0ubuntu1
* New upstream release 2011.09.
* debian/control:
  - Start the description of the glmark2-data package with
    a lowercase letter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
attribute vec3 position;
 
2
attribute vec4 vtxcolor;
 
3
attribute vec2 texcoord;
 
4
attribute vec3 normal;
 
5
 
 
6
uniform mat4 ModelViewProjectionMatrix;
 
7
 
 
8
varying vec4 Color;
 
9
varying vec2 TextureCoord;
 
10
 
 
11
void main(void)
 
12
{
 
13
    Color = vtxcolor;
 
14
    TextureCoord = texcoord;
 
15
 
 
16
    // Transform the position to clip coordinates
 
17
    gl_Position = ModelViewProjectionMatrix * vec4(position, 1.0);
 
18
}
 
19