diff options
author | Dave Airlie <[email protected]> | 2010-08-18 13:29:41 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-08-18 13:30:34 +1000 |
commit | 1147814365c78ed20ba71e3f4e0bfe22f9960234 (patch) | |
tree | 71d62a01d21eedadb9c7876af425bd284e528954 /src/gallium/drivers/r600/r600_state.c | |
parent | 35220fc5981045331b4f048f0fc2e1371a0673ed (diff) |
r600g: fix point size
fixes piglit pointAtten and point-sprite tests
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
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 260688a9a8a..f78d1671ba8 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -874,7 +874,7 @@ static struct radeon_state *r600_rasterizer(struct r600_context *rctx) S_02881C_VS_OUT_MISC_VEC_ENA(state->point_size_per_vertex); rstate->states[R600_RASTERIZER__PA_CL_NANINF_CNTL] = 0x00000000; /* point size 12.4 fixed point */ - tmp = (unsigned)(state->point_size * 8.0 / 2.0); + tmp = (unsigned)(state->point_size * 8.0); rstate->states[R600_RASTERIZER__PA_SU_POINT_SIZE] = S_028A00_HEIGHT(tmp) | S_028A00_WIDTH(tmp); rstate->states[R600_RASTERIZER__PA_SU_POINT_MINMAX] = 0x80000000; rstate->states[R600_RASTERIZER__PA_SU_LINE_CNTL] = 0x00000008; |