[Mesa-dev] [PATCH 07/13] i965: Make a brw_conditional_mod enum.

Matt Turner mattst88 at gmail.com
Mon Jun 30 15:02:37 PDT 2014


On Mon, Jun 30, 2014 at 2:40 PM, Matt Turner <mattst88 at gmail.com> wrote:
> diff --git a/src/mesa/drivers/dri/i965/gen8_instruction.c b/src/mesa/drivers/dri/i965/gen8_instruction.c
> index c9cbab6..47955e1 100644
> --- a/src/mesa/drivers/dri/i965/gen8_instruction.c
> +++ b/src/mesa/drivers/dri/i965/gen8_instruction.c
> @@ -28,6 +28,7 @@
>   * and set various fields.  This is the actual hardware format.
>   */
>
> +#include "main/compiler.h"
>  #include "brw_defines.h"
>  #include "gen8_instruction.h"
>
> --

A preemptive explanation: this hunk is because brw_defines.h includes
an enum (brw_conditional_mod) marked with PACKED, which is defined in
compiler.h. Kind of ugly, but this file should be going away soon
anyway.


More information about the mesa-dev mailing list