aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-06-07 22:51:46 +0200
committerDave Airlie <[email protected]>2009-06-08 07:21:14 +1000
commitdb63f638974f90557a52c66b0f2e9d5a92e697d0 (patch)
tree26880f545a4316a5c8f2f7d195b9ea4458c81746 /src/mesa/drivers
parent545e574cd9a2a659cd9a93879dff8884bd247558 (diff)
r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424
Fixes GPU hangs in software TCL path
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_swtcl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_swtcl.c b/src/mesa/drivers/dri/r300/r300_swtcl.c
index ecc837745d3..4a820648145 100644
--- a/src/mesa/drivers/dri/r300/r300_swtcl.c
+++ b/src/mesa/drivers/dri/r300/r300_swtcl.c
@@ -219,6 +219,7 @@ void r300ChooseSwtclVertexFormat(GLcontext *ctx, GLuint *_InputsRead, GLuint *_
ADD_ATTR(VERT_ATTRIB_FOG, R300_DATA_TYPE_FLOAT_1, SWTCL_OVM_TEX(first_free_tex), swiz, MASK_XYZW, 0);
}
+ R300_NEWPRIM(rmesa);
rmesa->vbuf.num_attribs = num_attrs;
*_InputsRead = InputsRead;
*_OutputsWritten = OutputsWritten;