summaryrefslogtreecommitdiff
authorMarek Olšák <maraeo@gmail.com>2012-03-19 01:59:43 (GMT)
committer Marek Olšák <maraeo@gmail.com>2012-03-19 02:00:04 (GMT)
commita2e7629e688b6c258baf01e14dddf8c5ce645ee2 (patch) (side-by-side diff)
tree59e9489df43384a51d49f105442db2fcfec3b26a
parent03f8a97d718502f60d16000aead251d88a751149 (diff)
downloadmesa-a2e7629e688b6c258baf01e14dddf8c5ce645ee2.zip
mesa-a2e7629e688b6c258baf01e14dddf8c5ce645ee2.tar.gz
r600g: fix point rendering
Accidentally broken in c7eaf274a9b7e3e5f4b060be2320.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/gallium/drivers/r600/r600_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
index afb744c..016434a 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -864,7 +864,7 @@ static void *r600_create_rs_state(struct pipe_context *ctx,
r600_pipe_state_add_reg(rstate, R_0286D4_SPI_INTERP_CONTROL_0, tmp, NULL, 0);
/* point size 12.4 fixed point */
- tmp = r600_pack_float_12p4(state->line_width/2);
+ tmp = r600_pack_float_12p4(state->point_size/2);
r600_pipe_state_add_reg(rstate, R_028A00_PA_SU_POINT_SIZE, S_028A00_HEIGHT(tmp) | S_028A00_WIDTH(tmp), NULL, 0);
if (state->point_size_per_vertex) {