diff options
author | Ian Romanick <[email protected]> | 2014-03-25 18:19:42 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-05-02 07:16:55 -0700 |
commit | 4a868a984d6ae73eb38a69b045b004663cdac20c (patch) | |
tree | a6c49adb38ad9325a24c01224a5c778f23574882 /src/mesa/main/pipelineobj.h | |
parent | 5998fd536a1bb1d13218c995aa69723c6767cf04 (diff) |
mesa/sso: Refactor new function _mesa_bind_pipeline
Pull most of the guts out of _mesa_BindPipeline into a new utility
function that can be use elsewhere (e.g., meta).
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/pipelineobj.h')
-rw-r--r-- | src/mesa/main/pipelineobj.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/pipelineobj.h b/src/mesa/main/pipelineobj.h index ceaf4f14ce9..7285a78f1ae 100644 --- a/src/mesa/main/pipelineobj.h +++ b/src/mesa/main/pipelineobj.h @@ -59,6 +59,10 @@ _mesa_reference_pipeline_object(struct gl_context *ctx, _mesa_reference_pipeline_object_(ctx, ptr, obj); } +extern void +_mesa_bind_pipeline(struct gl_context *ctx, + struct gl_pipeline_object *pipe); + extern GLboolean _mesa_validate_program_pipeline(struct gl_context * ctx, struct gl_pipeline_object *pipe, GLboolean IsBound); |