[Mesa-dev] [PATCH 11/14] i965: Add uses_kill to brw_scalar_prog_data

Kenneth Graunke kenneth at whitecape.org
Tue Sep 2 12:19:38 PDT 2014


On Monday, September 01, 2014 09:44:35 AM Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>  src/mesa/drivers/dri/i965/brw_context.h            |  1 +
>  src/mesa/drivers/dri/i965/brw_fs.cpp               |  2 +-
>  src/mesa/drivers/dri/i965/brw_scalar_generator.cpp |  2 +-
>  src/mesa/drivers/dri/i965/brw_scalar_visitor.cpp   | 12 ++++++------
>  src/mesa/drivers/dri/i965/brw_wm.c                 |  1 +
>  5 files changed, 10 insertions(+), 8 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
> index 8313a4b..a5705ca 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.h
> +++ b/src/mesa/drivers/dri/i965/brw_context.h
> @@ -345,6 +345,7 @@ struct brw_scalar_prog_data {
>     bool dual_src_blend;
>     bool uses_pos_offset;
>     bool uses_omask;
> +   bool uses_kill;
>     uint32_t prog_offset_16;

This definitely should go in the prog_data structure.  However, it's FS specific, so I'd like to see it stay in brw_wm_prog_data.

--Ken 
-------------- 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/9e821fd1/attachment.sig>


More information about the mesa-dev mailing list