diff options
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 14f9a6b8987..84dbcb748c9 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -355,6 +355,12 @@ _mesa_has_float_depth_buffer(const struct gl_context *ctx) return _mesa_has_ARB_depth_buffer_float(ctx) || _mesa_is_gles3(ctx); } +static inline bool +_mesa_has_packed_float(const struct gl_context *ctx) +{ + return _mesa_has_EXT_packed_float(ctx) || _mesa_is_gles3(ctx); +} + /** * Checks if the context supports geometry shaders. */ |