Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-31 Thread Anuj Phogat
On Tue, Oct 29, 2013 at 9:29 PM, Paul Berry stereotype...@gmail.com wrote: On 29 October 2013 21:28, Paul Berry stereotype...@gmail.com wrote: On 29 October 2013 17:16, Anuj Phogat anuj.pho...@gmail.com wrote: On Tue, Oct 29, 2013 at 4:31 PM, Paul Berry stereotype...@gmail.comwrote: I

Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-29 Thread Paul Berry
On 29 October 2013 15:59, Anuj Phogat anuj.pho...@gmail.com wrote: On Mon, Oct 28, 2013 at 6:48 PM, Paul Berry stereotype...@gmail.comwrote: On 25 October 2013 16:45, Anuj Phogat anuj.pho...@gmail.com wrote: - Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE,

Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-29 Thread Anuj Phogat
On Tue, Oct 29, 2013 at 4:31 PM, Paul Berry stereotype...@gmail.com wrote: On 29 October 2013 15:59, Anuj Phogat anuj.pho...@gmail.com wrote: On Mon, Oct 28, 2013 at 6:48 PM, Paul Berry stereotype...@gmail.comwrote: On 25 October 2013 16:45, Anuj Phogat anuj.pho...@gmail.com wrote: -

Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-29 Thread Paul Berry
On 29 October 2013 17:16, Anuj Phogat anuj.pho...@gmail.com wrote: On Tue, Oct 29, 2013 at 4:31 PM, Paul Berry stereotype...@gmail.comwrote: I think the right thing to do is to add: if (dispatch_width == 16) fail(...); to whatever parts of the visitor you aren't confident will

Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-29 Thread Paul Berry
On 29 October 2013 21:28, Paul Berry stereotype...@gmail.com wrote: On 29 October 2013 17:16, Anuj Phogat anuj.pho...@gmail.com wrote: On Tue, Oct 29, 2013 at 4:31 PM, Paul Berry stereotype...@gmail.comwrote: I think the right thing to do is to add: if (dispatch_width == 16)

Re: [Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-28 Thread Paul Berry
On 25 October 2013 16:45, Anuj Phogat anuj.pho...@gmail.com wrote: - Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE, GEN7_WM_OMASK_TO_RENDER_TARGET as per extension's specification. - Only enable one of GEN7_WM_8_DISPATCH_ENABLE or GEN7_WM_16_DISPATCH_ENABLE when

[Mesa-dev] [PATCH V2 11/12] i965/gen7: Enable the features required for GL_ARB_sample_shading

2013-10-25 Thread Anuj Phogat
- Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE, GEN7_WM_OMASK_TO_RENDER_TARGET as per extension's specification. - Only enable one of GEN7_WM_8_DISPATCH_ENABLE or GEN7_WM_16_DISPATCH_ENABLE when GEN7_WM_MSDISPMODE_PERSAMPLE is enabled. Refer IVB PRM Vol. 2, Part 1, Page 288