[Mesa-dev] [PATCH 1/2] i965: Fix value of _3DPRIM_TRIFAN_NOSTIPPLE.

Chris Forbes chrisf at ijw.co.nz
Mon Sep 7 00:55:50 PDT 2015


These two are:

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Mon, Sep 7, 2015 at 7:03 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> TRIFAN_NOSTIPPLE has always been 0x16 - 0x15 is marked "Reserved" on all
> platforms.  See the 965 PRM, Volume 2, Table 3-1, "3D Primitive Topology
> Type Encoding" for a list.
>
> We don't currently use this, and I don't expect we will, but we may as
> well not leave the bogus value around.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_defines.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
> index 0f7feb3..411a97d 100644
> --- a/src/mesa/drivers/dri/i965/brw_defines.h
> +++ b/src/mesa/drivers/dri/i965/brw_defines.h
> @@ -77,7 +77,7 @@
>  #define _3DPRIM_LINESTRIP_CONT    0x12
>  #define _3DPRIM_LINESTRIP_BF      0x13
>  #define _3DPRIM_LINESTRIP_CONT_BF 0x14
> -#define _3DPRIM_TRIFAN_NOSTIPPLE  0x15
> +#define _3DPRIM_TRIFAN_NOSTIPPLE  0x16
>
>  /* We use this offset to be able to pass native primitive types in struct
>   * _mesa_prim::mode.  Native primitive types are BRW_PRIM_OFFSET +
> --
> 2.5.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list