[Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

Ilia Mirkin imirkin at alum.mit.edu
Fri Apr 1 15:16:44 UTC 2016


On Fri, Apr 1, 2016 at 10:20 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 04/01/2016 07:21 AM, Ilia Mirkin wrote:
>>
>> As I recall, we already upload ms offsets for fs. Perhaps reuse the same
>> spot for these CP ones? What are they used for, anyways? Can't think of
>> anything offhand, but perhaps opencl needs something funky?
>
>
> Where do we upload ms offset for fs ? Because msInfoBase is set to 0 for 3d.

Look at gl_SamplePosition handling. Looking at the code, that's the
SAMPLE_INFO stuff.

>
> For compute, they are used in NVC0LoweringPass::adjustCoordinatesMS() which
> is called from processSurfaceCoordsNVE4(), so I think they are useful for
> compute. :-)

oooooh... those are different. I see what goes in there. Clever.
Hmmm... how did I do this on nv50? Same issue there (but for
texturing). Oh, looks like I use this same thing... msInfoBase.

  -ilia


More information about the mesa-dev mailing list