[Mesa-dev] [PATCH] glsl: Allow ES2 function parameters to be hidden by variable declarations.

Ilia Mirkin imirkin at alum.mit.edu
Mon Jul 16 23:53:33 UTC 2018


On Mon, Jul 16, 2018 at 7:51 PM, Eric Anholt <eric at anholt.net> wrote:
> Ilia Mirkin <imirkin at alum.mit.edu> writes:
>
>> Perhaps use state->es_shader instead of is_version(0, 100)? [Just a
>> drive-by comment, not a real review, sorry]
>
> That doesn't respect the version overrides and such that is_version
> handles.

Under what circumstance would state->es_shader != state->is_version(0,
100)? I can't think of one, but perhaps I'm just insufficiently
creative.

  -ilia


More information about the mesa-dev mailing list