[Mesa-dev] [PATCH] gallium: move clear paths from rgba to a pointer to a color union

Marcin Slusarz marcin.slusarz at gmail.com
Thu Sep 15 07:14:28 PDT 2011


On Thu, Sep 15, 2011 at 02:35:49PM +0100, Dave Airlie wrote:
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 722db8d..f36994a 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -215,7 +215,7 @@ void st_init_limits(struct st_context *st)
>        c->MinProgramTexelOffset = screen->get_param(screen, PIPE_CAP_MIN_TEXEL_OFFSET);
>        c->MaxProgramTexelOffset = screen->get_param(screen, PIPE_CAP_MAX_TEXEL_OFFSET);
>  
> -      c->GLSLVersion = 120;
> +      c->GLSLVersion = 130;
>        c->UniformBooleanTrue = ~0;
>     }
>  }
> @@ -678,4 +678,6 @@ void st_init_extensions(struct st_context *st)
>                                     PIPE_BIND_SAMPLER_VIEW)) {
>        ctx->Extensions.ARB_depth_buffer_float = GL_TRUE;
>     }
> +   ctx->Extensions.EXT_texture_integer = GL_TRUE;
> +   ctx->Extensions.EXT_gpu_shader4 = GL_TRUE;
>  }
> -- 

really?
;)


More information about the mesa-dev mailing list