[Mesa-dev] [PATCH] i965/gen6/gs: Don't declare a src_reg with struct.

Kenneth Graunke kenneth at whitecape.org
Fri Nov 21 17:01:10 PST 2014


On Friday, November 21, 2014 03:19:32 PM Matt Turner wrote:
> ---
>  src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
> index d16cc6e..564b4cb 100644
> --- a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
> +++ b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
> @@ -632,7 +632,7 @@ gen6_gs_visitor::xfb_write()
>     emit(CMP(dst_null_d(), sol_temp, this->max_svbi, BRW_CONDITIONAL_LE));
>     emit(IF(BRW_PREDICATE_NORMAL));
>     {
> -      struct src_reg destination_indices_uw =
> +      src_reg destination_indices_uw =
>           retype(destination_indices, BRW_REGISTER_TYPE_UW);
>  
>        vec4_instruction *inst = emit(MOV(dst_reg(destination_indices_uw),
> 

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/20141121/e4748317/attachment.sig>


More information about the mesa-dev mailing list