[Mesa-dev] [PATCH 04/17] gallium: disable compute shaders for meta ops

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Jan 26 06:56:12 PST 2016



On 01/26/2016 02:22 PM, Ilia Mirkin wrote:
> On Tue, Jan 26, 2016 at 5:28 AM, Marek Olšák <maraeo at gmail.com> wrote:
>> On Tue, Jan 26, 2016 at 6:17 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
>>> On Mon, Jan 25, 2016 at 6:35 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>>>> On 24.01.2016 16:09, Samuel Pitoiset wrote:
>>>>>
>>>>> Loosely based on tessellation shaders.
>>>>
>>>>
>>>> Do we actually need this? The graphics pipeline and the compute pipeline are
>>>> separate; draw commands should be unaffected by the currently set compute
>>>> shader. Or am I missing something?
>>>
>>> IIRC, on at least some pre-GCN hardware, there are some pipeline state
>>> dependencies between compute and gfx.
>>
>> Those should be handled in the driver.
>>
>> They are separate in the Gallium interface, which means the states
>> don't have to be saved and restored.
>
> As long as the meta ops themselves aren't using compute shaders. And
> when they do, this logic can be added. I agree that this can be
> dropped for now.

Thanks for all your comments, I wasn't really sure about this patch, 
I'll drop it.

>
>    -ilia
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>

-- 
-Samuel


More information about the mesa-dev mailing list