mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
st/mesa: advertise OES_depth_texture_cube_map if GLSL 1.30 is supported
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
4f0563a658
commit
041234ee1e
1 changed files with 2 additions and 1 deletions
|
|
@ -594,9 +594,10 @@ void st_init_extensions(struct st_context *st)
|
|||
ctx->Const.NativeIntegers = GL_TRUE;
|
||||
ctx->Const.MaxClipPlanes = 8;
|
||||
|
||||
/* Extensions that only depend on GLSL 1.3. */
|
||||
/* Extensions that either depend on GLSL 1.30 or are a subset thereof. */
|
||||
ctx->Extensions.ARB_conservative_depth = GL_TRUE;
|
||||
ctx->Extensions.ARB_shader_bit_encoding = GL_TRUE;
|
||||
ctx->Extensions.OES_depth_texture_cube_map = GL_TRUE;
|
||||
} else {
|
||||
/* Optional integer support for GLSL 1.2. */
|
||||
if (screen->get_shader_param(screen, PIPE_SHADER_VERTEX,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue