Re: [Mesa-dev] [PATCH] i965: Move Gen4-5 interpolation stuff to brw_wm_prog_data.

2017-01-13 Thread Timothy Arceri
On Fri, 2017-01-13 at 16:07 -0800, Kenneth Graunke wrote: > This fixes glxgears rendering, which had surprisingly been broken > since > late October!  Specifically, commit > 91d61fbf7cb61a44adcaae51ee08ad0dd6b. > > glxgears uses glShadeModel(GL_FLAT) when drawing the main portion of > the >

[Mesa-dev] [PATCH] i965: Move Gen4-5 interpolation stuff to brw_wm_prog_data.

2017-01-13 Thread Kenneth Graunke
This fixes glxgears rendering, which had surprisingly been broken since late October! Specifically, commit 91d61fbf7cb61a44adcaae51ee08ad0dd6b. glxgears uses glShadeModel(GL_FLAT) when drawing the main portion of the gears, then uses glShadeModel(GL_SMOOTH) for drawing the Gouraud-shaded inner