[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 08/10] wined3d: Dispatch compute through the command stream.
From:       Józef Kucia <joseph.kucia () gmail ! com>
Date:       2017-01-30 13:14:21
Message-ID: CAKF0LCXFSHGrcJd8ZEgyy6=Fe-fjqjYz9=cBhdPuu647T0VkUg () mail ! gmail ! com
[Download RAW message or body]

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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic