[Mesa-dev] [PATCH mesa] i915: add missing 0 defines
Ian Romanick
idr at freedesktop.org
Mon Dec 11 18:29:34 UTC 2017
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 12/04/2017 06:52 AM, Eric Engestrom wrote:
> Thanks to Emil's -Wundef, t_dd_dmatmp.h now complains that intel_render.c
> is missing a couple `#define`s.
>
> Assigning them to 0 keeps the existing behaviour; I'll let someone else
> turn them on if this is the behaviour that was intended.
>
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> src/mesa/drivers/dri/i915/intel_render.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i915/intel_render.c b/src/mesa/drivers/dri/i915/intel_render.c
> index c1603565cc2a6157c0bd..a3952826246a7e52aea6 100644
> --- a/src/mesa/drivers/dri/i915/intel_render.c
> +++ b/src/mesa/drivers/dri/i915/intel_render.c
> @@ -62,6 +62,8 @@
> #define HAVE_TRI_FANS 1
> #define HAVE_POLYGONS 1
>
> +#define HAVE_QUADS 0
> +#define HAVE_QUAD_STRIPS 0
> #define HAVE_ELTS 0
>
> static const uint32_t hw_prim[GL_POLYGON + 1] = {
>
More information about the mesa-dev
mailing list