[Mesa-dev] [PATCH 21/23] st/mesa: add support for enabling ARB_gpu_shader_int64.
Dave Airlie
airlied at gmail.com
Thu Jun 9 00:48:22 UTC 2016
From: Dave Airlie <airlied at redhat.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/mesa/state_tracker/st_extensions.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 13b0acc..b94a8cb 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1147,6 +1147,13 @@ void st_init_extensions(struct pipe_screen *screen,
extensions->ARB_vertex_attrib_64bit = GL_TRUE;
}
+ if (screen->get_shader_param(screen, PIPE_SHADER_VERTEX,
+ PIPE_SHADER_CAP_INT64) &&
+ screen->get_shader_param(screen, PIPE_SHADER_FRAGMENT,
+ PIPE_SHADER_CAP_INT64)) {
+ extensions->ARB_gpu_shader_int64 = GL_TRUE;
+ }
+
if ((ST_DEBUG & DEBUG_GREMEDY) &&
screen->get_param(screen, PIPE_CAP_STRING_MARKER))
extensions->GREMEDY_string_marker = GL_TRUE;
--
2.5.5
More information about the mesa-dev
mailing list