aboutsummaryrefslogtreecommitdiffstats
path: root/progs/vpglsl/psiz-mul.glsl
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-06-07 16:51:32 +1000
committerDave Airlie <[email protected]>2009-06-07 16:51:32 +1000
commit545e574cd9a2a659cd9a93879dff8884bd247558 (patch)
treef56d65eaa851edfb1248a6fc8ac0bae4cc98eff5 /progs/vpglsl/psiz-mul.glsl
parente2aedfa62079ff1a333e1f4e56faea303cc36edb (diff)
parentf1edfa09ea50e8833ddbf241da4d36fd38685e9d (diff)
Merge remote branch 'origin/master' into radeon-rewrite
Diffstat (limited to 'progs/vpglsl/psiz-mul.glsl')
-rw-r--r--progs/vpglsl/psiz-mul.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/vpglsl/psiz-mul.glsl b/progs/vpglsl/psiz-mul.glsl
new file mode 100644
index 00000000000..77f4a46b520
--- /dev/null
+++ b/progs/vpglsl/psiz-mul.glsl
@@ -0,0 +1,6 @@
+
+void main() {
+ gl_FrontColor = gl_Color;
+ gl_PointSize = 10 * gl_Color.x;
+ gl_Position = gl_Vertex;
+}