[Mesa-dev] [PATCH 14/14] i965: Don't store gl_fragment_program in scalar_visitor

Kenneth Graunke kenneth at whitecape.org
Tue Sep 2 12:45:21 PDT 2014


On Monday, September 01, 2014 09:44:38 AM Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>  src/mesa/drivers/dri/i965/brw_fs_fp.cpp          | 8 ++++++--
>  src/mesa/drivers/dri/i965/brw_scalar.h           | 1 -
>  src/mesa/drivers/dri/i965/brw_scalar_visitor.cpp | 1 -
>  src/mesa/drivers/dri/i965/brw_wm_iz.cpp          | 2 ++
>  4 files changed, 8 insertions(+), 4 deletions(-)

Looks reasonable to me.  There aren't many places that use fp, and now that we can check stage == MESA_SHADER_FRAGMENT, it's pretty easy to cast when you need it.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140902/d3cd7017/attachment.sig>


More information about the mesa-dev mailing list