[Mesa-dev] [PATCH 19/19] st/mesa: enable shader subroutine

Marek Olšák maraeo at gmail.com
Mon Jul 20 15:50:01 PDT 2015


If the extension is core only, we can rip out the checks, but the
checks that test ctx->API == API_OPEGL_CORE should stay (if they are
missing, they should be added).

Marek

On Thu, Jul 9, 2015 at 3:27 PM, Roland Scheidegger <sroland at vmware.com> wrote:
> Should expose that only if hw has glsl 130 support?
>
> Roland
>
> Am 09.07.2015 um 09:17 schrieb Dave Airlie:
>> From: Dave Airlie <airlied at redhat.com>
>>
>> I'm not sure if we shouldn't enable this everywhere
>> and rip out the API checks,
>>
>> discuss,
>>
>> Signed-off-by: Dave Airlie <airlied at redhat.com>
>> ---
>>  src/mesa/state_tracker/st_extensions.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
>> index b1057f3..3b828fa 100644
>> --- a/src/mesa/state_tracker/st_extensions.c
>> +++ b/src/mesa/state_tracker/st_extensions.c
>> @@ -598,6 +598,7 @@ void st_init_extensions(struct pipe_screen *screen,
>>     extensions->ARB_half_float_vertex = GL_TRUE;
>>     extensions->ARB_internalformat_query = GL_TRUE;
>>     extensions->ARB_map_buffer_range = GL_TRUE;
>> +   extensions->ARB_shader_subroutine = GL_TRUE;
>>     extensions->ARB_texture_border_clamp = GL_TRUE; /* XXX temp */
>>     extensions->ARB_texture_cube_map = GL_TRUE;
>>     extensions->ARB_texture_env_combine = GL_TRUE;
>>
>
> _______________________________________________
> 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