projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c37964
)
r300: don't crash on sw tcl hw if point size vertex attrib is sent
author
Maciej Cencora
<m.cencora@gmail.com>
Fri, 6 Mar 2009 19:14:36 +0000
(20:14 +0100)
committer
Nicolai Haehnle
<nhaehnle@gmail.com>
Fri, 6 Mar 2009 20:55:12 +0000
(21:55 +0100)
src/mesa/drivers/dri/r300/r300_swtcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_swtcl.c
b/src/mesa/drivers/dri/r300/r300_swtcl.c
index b6e7ce1a1a643445a16077c1d8651c279489f298..f021e12287b89d1826f6337b62d7dc59829571ab 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_swtcl.c
+++ b/
src/mesa/drivers/dri/r300/r300_swtcl.c
@@
-129,13
+129,13
@@
static void r300SetVertexFormat( GLcontext *ctx )
offset = 4;
EMIT_PAD(4 * sizeof(float));
}
-
+/*
if (RENDERINPUTS_TEST( index_bitset, _TNL_ATTRIB_POINTSIZE )) {
EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F );
vap_fmt_0 |= R300_VAP_OUTPUT_VTX_FMT_0__PT_SIZE_PRESENT;
offset += 1;
}
-
+*/
if (RENDERINPUTS_TEST(index_bitset, _TNL_ATTRIB_COLOR0)) {
sz = VB->AttribPtr[VERT_ATTRIB_COLOR0]->size;
rmesa->swtcl.coloroffset = offset;