[Mesa-dev] [PATCH 3/8] tgsi: introduce NonHelperMask

Dave Airlie airlied at gmail.com
Tue Mar 22 22:38:33 UTC 2016


On 23 March 2016 at 01:37, Brian Paul <brianp at vmware.com> wrote:
> On 03/21/2016 04:02 PM, Dave Airlie wrote:
>>
>> From: Dave Airlie <airlied at redhat.com>
>>
>> This is a mask of which of the current 2x2 grid are non-helper
>> invocations. This allows us to mask off the helper invocations
>> later for the image operations.
>
>
> Can you elaborate on what a helper invocation is somewhere in the comments?

It's defined in the GLSL 4.5 spec.

"A helper invocation is a fragment-shader invocation that is created
solely for the purposes of evaluating derivatives for use in
non-helper fragment-shader invocations."

Then there is a big chunk of text, I could add a comment saying it's
in the spec.

Dave.


More information about the mesa-dev mailing list