On Mon, Jan 23, 2012 at 6:19 PM, Ian Romanick <[email protected]> wrote:
> From: Ian Romanick <[email protected]>
>
> This is a hack to work around drivers such as i965 that:
>
>    - Set _MaintainTexEnvProgram to generate GLSL IR for
>      fixed-function fragment processing.
>    - Don't call _mesa_ir_link_shader to generate Mesa IR from the
>      GLSL IR.
>    - May use swrast to handle glDrawPixels.
>
> Since _mesa_ir_link_shader is never called, there is no Mesa IR to
> execute.  Instead do regular fixed-function processing.
>
> Even on platforms that don't need this, the software fixed-function
> code is much faster than the software shader code.
>
> NOTE: This is a candidate for the 8.0 branch.
>
> Signed-off-by: Ian Romanick <[email protected]>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44749

LGTM.  Reviewed-by: Brian Paul <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to