mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 18:30:31 +01:00
r300: don't crash on sw tcl hw if point size vertex attrib is sent
(cherry picked from master, commit 005ad1a71d)
This commit is contained in:
parent
7122490982
commit
b009a32bf4
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue