diff options
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 187138897be..9a609dd61ff 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -339,16 +339,6 @@ _mesa_has_compute_shaders(const struct gl_context *ctx) } /** - * Checks if the context supports shader subroutines. - */ -static inline bool -_mesa_has_shader_subroutine(const struct gl_context *ctx) -{ - return ctx->API == API_OPENGL_CORE && - (ctx->Version >= 40 || ctx->Extensions.ARB_shader_subroutine); -} - -/** * Checks if the context supports tessellation. */ static inline GLboolean |