diff options
author | Gregory Hainaut <[email protected]> | 2013-06-28 17:18:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-03-25 10:25:25 -0700 |
commit | 4caa9db71ce05dc2cc86177ca42655c2011fbe4a (patch) | |
tree | 525a073f1192e185ba35fdb8f3610fd213d7c02a /src/gallium | |
parent | de4f85f52d0002cfd0105e932141cfdb108f1a61 (diff) |
mesa/sso: Add gl_pipeline_object parameter to _mesa_use_shader_program
Extend use_shader_program to support a different target. Allow to reuse the
function to update the pipeline state. Note I bypass the flush when target
isn't current. Maybe it would be better to create a new UseProgramStages
driver function
This was originally included in another patch, but it was split out by
Ian Romanick.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions