[PATCH 08/10] wined3d: Dispatch compute through the command stream.

Józef Kucia joseph.kucia at gmail.com
Mon Jan 30 07:14:21 CST 2017


On Sun, Jan 29, 2017 at 2:43 PM, Guillaume Charifi
<guillaume.charifi at 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.



More information about the wine-devel mailing list