[Mesa-dev] [PATCH 4/6] gallium: use PIPE_SHADER_* everywhere, remove TGSI_PROCESSOR_*
Ilia Mirkin
imirkin at alum.mit.edu
Sat Apr 16 16:54:33 UTC 2016
On Sat, Apr 16, 2016 at 8:50 AM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> we should use MESA_SHADER_* everywhere, but we're not ready for that yet
Hmmmm.... not sure if this is right. I thought the idea is that TGSI
should be its own self-contained encoding of things, and the shader
type is one of those things. It is, of course, silly that those values
don't match up to the PIPE_SHADER_* values, but if, let's say, llvm
wanted to generate TGSI, it'd be odd for it to have to pull in
anything other than p_shader_tokens.h. (And esp some core mesa thing
that defines MESA_SHADER_*.)
-ilia
More information about the mesa-dev
mailing list