diff options
author | Jerome Glisse <[email protected]> | 2010-12-14 13:50:46 -0500 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-12-14 13:50:46 -0500 |
commit | 54773415f407678eb9728ac347cc8302e2d76c74 (patch) | |
tree | 48aea2c5306ee0c4c6d3229e552351ea394249f4 /src/gallium/drivers/r600/evergreen_state.c | |
parent | 4d1b2df6c0fd837828fdebc0bd20d9eccf1ffedf (diff) |
r600g: fix segfault when translating vertex buffer
Note the support for non float vertex draw likely regressed need to
find what we want to do there.
candidates for 7.10 branches
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index a9d4a862c32..07496ebf51e 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -1295,11 +1295,6 @@ void evergreen_vertex_buffer_update(struct r600_pipe_context *rctx) if (rctx->vertex_elements == NULL || !rctx->nvertex_buffer) return; - /* delete previous translated vertex elements */ - if (rctx->tran.new_velems) { - r600_end_vertex_translate(rctx); - } - if (rctx->vertex_elements->incompatible_layout) { /* translate rebind new vertex elements so * return once translated |