What | Removed | Added |
---|---|---|
Resolution | --- | NOTOURBUG |
Status | NEW | RESOLVED |
Comment # 5
on bug 93178
from Nicolai Hähnle
This is a game bug. The game tries to be clever by uploading some of its textures from a different OpenGL context, but never uses any kind of synchronization between the texture upload and the main context, so the texture upload never actually happens. This is a serious programming mistake, and it is merely by chance that this works on other drivers. For your own purposes, you can work around the game bug in the driver by applying the following patch: ---- SNIP ---- --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -105,6 +105,7 @@ static void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600 rctx->dma_copy(ctx, dst, transfer->level, transfer->box.x, transfer->box.y, transfer->box.z, src, 0, &sbox); + rctx->b.flush(&rctx->b, NULL, 0); } static unsigned r600_texture_get_offset(struct r600_texture *rtex, unsigned level, ---- SNIP ---- However, doing this seriously hurts the performance of games that are programmed properly. I encourage you to forward this message to the developers, telling them they should take a look at Section 5.3.1 of the OpenGL 4.5 (Compatibility Profile) specification, specifically the part about using Finish or FenceSync/WaitSync.
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel