r600g: use a more clever way to disable per-vertex point size
authorMarek Olšák <maraeo@gmail.com>
Sat, 28 Jan 2012 14:05:06 +0000 (15:05 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 31 Jan 2012 01:17:37 +0000 (02:17 +0100)
commite3032a052321ea1fdfbca090618149ae1ed33911
treeebd0aecf36346a3ced9af3a4cd8e14661dcb58ea
parentb6233f4d2e91edf28e1e5a9a82fdab341ba7dd84
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 <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/r600_state.c