mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 06:08:30 +02:00
st/mesa: enable shader subroutine
since this touches drivers, only enable it on gallium for now for drivers reporting GLSL 1.30 or above. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a922c27993
commit
c3fad009c5
1 changed files with 1 additions and 0 deletions
|
|
@ -710,6 +710,7 @@ void st_init_extensions(struct pipe_screen *screen,
|
|||
extensions->OES_depth_texture_cube_map = GL_TRUE;
|
||||
extensions->ARB_shading_language_420pack = GL_TRUE;
|
||||
extensions->ARB_texture_query_levels = GL_TRUE;
|
||||
extensions->ARB_shader_subroutine = GL_TRUE;
|
||||
|
||||
if (!options->disable_shader_bit_encoding) {
|
||||
extensions->ARB_shader_bit_encoding = GL_TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue