On Sun, Jan 29, 2017 at 2:43 PM, Guillaume Charifi guillaume.charifi@sfr.fr wrote:
- for (i = 0; i < ARRAY_SIZE(state->streams); ++i)
- {
if (state->streams[i].buffer)
wined3d_resource_acquire(&state->streams[i].buffer->resource);
- }
- for (i = 0; i < ARRAY_SIZE(state->textures); ++i)
- {
if (state->textures[i])
wined3d_resource_acquire(&state->textures[i]->resource);
- }
Streams and textures are not supposed to be used by compute pipeline.