On Fri, Apr 1, 2016 at 10:20 AM, Samuel Pitoiset <samuel.pitoi...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev