mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
mesa: add a pipe_context pointer to gl context
This will be used to move more code over Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14133>
This commit is contained in:
parent
90cb1493b7
commit
f6c608dd24
2 changed files with 2 additions and 0 deletions
|
|
@ -5574,6 +5574,7 @@ struct gl_context
|
|||
/*@{*/
|
||||
struct vbo_context vbo_context;
|
||||
struct st_context *st;
|
||||
struct pipe_context *pipe;
|
||||
/*@}*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -981,6 +981,7 @@ st_create_context(gl_api api, struct pipe_context *pipe,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
ctx->pipe = pipe;
|
||||
st_debug_init();
|
||||
|
||||
if (pipe->screen->get_disk_shader_cache)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue