diff options
author | Timothy Arceri <[email protected]> | 2017-08-18 15:51:48 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-03-20 14:17:34 +1100 |
commit | 9c51a7ea2956495fd15d0ee6fc47fe99e14b9f36 (patch) | |
tree | 1b24d84a9f6ec057a3f358212a101e3c758da702 /src/mesa/state_tracker/st_context.c | |
parent | ffa4bbe4665f95bab7779ded57d6a4de13cb8ffc (diff) |
gallium: add packed uniform CAP
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index dfdd92f31b0..de30905dd22 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -433,6 +433,9 @@ st_create_context_priv(struct gl_context *ctx, struct pipe_context *pipe, if (no_error) ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR; + ctx->Const.PackedDriverUniformStorage = + screen->get_param(screen, PIPE_CAP_PACKED_UNIFORMS); + st->has_stencil_export = screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT); st->has_shader_model3 = screen->get_param(screen, PIPE_CAP_SM3); |