projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f8a97
)
r600g: fix point rendering
author
Marek Olšák
<maraeo@gmail.com>
Mon, 19 Mar 2012 01:59:43 +0000
(
02:59
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 19 Mar 2012 02:00:04 +0000
(
03:00
+0100)
Accidentally broken in
c7eaf274a9b7e3e5f4b060be2320
.
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index afb744ce8e79498db81eba99b24dc36cf5514f0b..016434af493a053abee09392267d467e10bc7319 100644
(file)
--- 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) {