Re: [PATCH 08/10] wined3d: Dispatch compute through the command stream.
30 Jan
2017
30 Jan
'17
7:14 a.m.
On Sun, Jan 29, 2017 at 2:43 PM, Guillaume Charifi <guillaume.charifi(a)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.
3238
Age (days ago)
3238
Last active (days ago)
0 comments
1 participants
participants (1)
-
Józef Kucia