[Mesa-dev] [PATCH] st/mesa: expose EXT_vertex_array_bgra when supported by backend

Christian Gmeiner christian.gmeiner at gmail.com
Wed Jun 22 20:17:10 UTC 2016


Thanks for the reviews.. I only need someone to push this patch :)


2016-06-20 16:46 GMT+02:00 Marek Olšák <maraeo at gmail.com>:
> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
>
> Marek
>
> On Mon, Jun 20, 2016 at 9:44 AM, Christian Gmeiner
> <christian.gmeiner at gmail.com> wrote:
>> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
>> ---
>>  src/mesa/state_tracker/st_extensions.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
>> index 383983b..122bc88 100644
>> --- a/src/mesa/state_tracker/st_extensions.c
>> +++ b/src/mesa/state_tracker/st_extensions.c
>> @@ -773,6 +773,8 @@ void st_init_extensions(struct pipe_screen *screen,
>>
>>     /* Required: vertex fetch support. */
>>     static const struct st_extension_format_mapping vertex_mapping[] = {
>> +      { { o(EXT_vertex_array_bgra) },
>> +        { PIPE_FORMAT_B8G8R8A8_UNORM } },
>>        { { o(ARB_vertex_type_2_10_10_10_rev) },
>>          { PIPE_FORMAT_R10G10B10A2_UNORM,
>>            PIPE_FORMAT_B10G10R10A2_UNORM,
>> @@ -825,7 +827,6 @@ void st_init_extensions(struct pipe_screen *screen,
>>     extensions->EXT_provoking_vertex = GL_TRUE;
>>
>>     extensions->EXT_texture_env_dot3 = GL_TRUE;
>> -   extensions->EXT_vertex_array_bgra = GL_TRUE;
>>
>>     extensions->ATI_fragment_shader = GL_TRUE;
>>     extensions->ATI_texture_env_combine3 = GL_TRUE;
>> --
>> 2.5.5
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

greets
--
Christian Gmeiner, MSc

https://soundcloud.com/christian-gmeiner


More information about the mesa-dev mailing list