mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
st/mesa: Finally activate the ARB_shader_bit_encoding extension.
Signed-off-by: Olivier Galibert <galibert@pobox.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
e16b0a51be
commit
a83be8b6d7
1 changed files with 4 additions and 0 deletions
|
|
@ -592,6 +592,10 @@ void st_init_extensions(struct st_context *st)
|
|||
ctx->Extensions.S3_s3tc = GL_FALSE;
|
||||
}
|
||||
|
||||
if (ctx->Const.NativeIntegers) {
|
||||
ctx->Extensions.ARB_shader_bit_encoding = GL_TRUE;
|
||||
}
|
||||
|
||||
if (screen->get_shader_param(screen, PIPE_SHADER_GEOMETRY,
|
||||
PIPE_SHADER_CAP_MAX_INSTRUCTIONS) > 0) {
|
||||
#if 0 /* XXX re-enable when GLSL compiler again supports geometry shaders */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue