Re: [Mesa-dev] [PATCH 3/4] glsl: Set UsesDFdy appropriately for GLSL shaders.

2012-07-18 Thread Paul Berry
On 18 July 2012 14:16, Brian Paul wrote: > On 07/18/2012 01:16 PM, Paul Berry wrote: > >> This patch updates the ir_set_program_inouts_visitor so that it also >> sets gl_fragment_program::UsesDFdy. >> >> This is a bit of a hack (since dFdy() isn't an input or an output), >> but there's no other o

Re: [Mesa-dev] [PATCH 3/4] glsl: Set UsesDFdy appropriately for GLSL shaders.

2012-07-18 Thread Brian Paul
On 07/18/2012 01:16 PM, Paul Berry wrote: This patch updates the ir_set_program_inouts_visitor so that it also sets gl_fragment_program::UsesDFdy. This is a bit of a hack (since dFdy() isn't an input or an output), but there's no other obvious visitor to squeeze this functionality into, and it w

[Mesa-dev] [PATCH 3/4] glsl: Set UsesDFdy appropriately for GLSL shaders.

2012-07-18 Thread Paul Berry
This patch updates the ir_set_program_inouts_visitor so that it also sets gl_fragment_program::UsesDFdy. This is a bit of a hack (since dFdy() isn't an input or an output), but there's no other obvious visitor to squeeze this functionality into, and it would be silly to create a brand new visitor