summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-28 15:05:06 +0100
committerMarek Olšák <[email protected]>2012-01-31 02:17:37 +0100
commite3032a052321ea1fdfbca090618149ae1ed33911 (patch)
treeebd0aecf36346a3ced9af3a4cd8e14661dcb58ea /src/gallium/drivers/r600/r600_shader.h
parentb6233f4d2e91edf28e1e5a9a82fdab341ba7dd84 (diff)
r600g: use a more clever way to disable per-vertex point size
This uses point size clamping to force point size to a particular value, making the vertex shader output irrelevant. Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index fd98d09da86..2d35e770070 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -54,6 +54,7 @@ struct r600_shader {
unsigned clip_dist_write;
/* flag is set if the shader writes VS_OUT_MISC_VEC (e.g. for PSIZE) */
boolean vs_out_misc_write;
+ boolean vs_out_point_size;
};
#endif