Re: [Mesa-dev] [PATCH] anv: move nir_lower_wpos_center to later

2017-01-13 Thread Samuel Iglesias Gonsálvez
El 2017-01-13 16:05, Lionel Landwerlin escribió: > Hi Samuel, > > Maybe you missed Ken's patch? : > > https://patchwork.freedesktop.org/series/17864/ > Oh yes, I didn't see it :-( Thanks Lionel! Sam P.S: Please discard this patch. > Thanks, > > - > Lionel > > On 13/01/17 13:48, Samuel Igl

Re: [Mesa-dev] [PATCH] anv: move nir_lower_wpos_center to later

2017-01-13 Thread Lionel Landwerlin
Hi Samuel, Maybe you missed Ken's patch? : https://patchwork.freedesktop.org/series/17864/ Thanks, - Lionel On 13/01/17 13:48, Samuel Iglesias Gonsálvez wrote: We can have a crash produced because the tests is using the same shader module for all stages (setting a different entry point per s

[Mesa-dev] [PATCH] anv: move nir_lower_wpos_center to later

2017-01-13 Thread Samuel Iglesias Gonsálvez
We can have a crash produced because the tests is using the same shader module for all stages (setting a different entry point per stage). So when we fix world position center on the fragment's built-in input position in fragment shader ("gl_Fragcoord" in GLSL), we might be using one from previous