diff options
author | Dave Airlie <[email protected]> | 2017-08-21 11:05:31 +1000 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-09-11 02:10:24 +0200 |
commit | 8d6b97a815874c7b695471a259fe4b6689890206 (patch) | |
tree | a7550aa48e91b53e05ea9f88e7fbdef1d20b6b20 | |
parent | c1d92f82224faba1e3c4cf3540f7ce19cd934a93 (diff) |
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 <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 72553292f59..a5678faf89b 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -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; |