mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
r600: handle the non-TXF_LZ support path.
it appears that texcoord.z/w will be 0 in all cases already, so just put them into the vbo always. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
c1d92f8222
commit
8d6b97a815
1 changed files with 1 additions and 1 deletions
|
|
@ -267,10 +267,10 @@ void r600_draw_rectangle(struct blitter_context *blitter,
|
|||
memcpy(vb+20, attrib->color, sizeof(float)*4);
|
||||
break;
|
||||
case UTIL_BLITTER_ATTRIB_TEXCOORD_XYZW:
|
||||
case UTIL_BLITTER_ATTRIB_TEXCOORD_XY:
|
||||
vb[6] = vb[14] = vb[22] = attrib->texcoord.z;
|
||||
vb[7] = vb[15] = vb[23] = attrib->texcoord.w;
|
||||
/* fall through */
|
||||
case UTIL_BLITTER_ATTRIB_TEXCOORD_XY:
|
||||
vb[4] = attrib->texcoord.x1;
|
||||
vb[5] = attrib->texcoord.y1;
|
||||
vb[12] = attrib->texcoord.x1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue