[Mesa-dev] [PATCH 4/6] gallium: use PIPE_SHADER_* everywhere, remove TGSI_PROCESSOR_*

Roland Scheidegger sroland at vmware.com
Sat Apr 16 22:27:27 UTC 2016


Am 16.04.2016 um 14:50 schrieb Marek Olšák:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> we should use MESA_SHADER_* everywhere, but we're not ready for that yet
> ---

I think the idea initially was that tgsi is essentially self-contained:
you can parse the token stream without any "external" dependencies.
Feels a bit unnecessary though.

I would object to using MESA_SHADER_ though. Those are clearly defined
outside gallium. If you'd wanted to reorder the pipe ones to match the
ordering, that would be something different, though pretty sure it would
require some code changes and break even more out-of-tree code ;-).

Roland



More information about the mesa-dev mailing list