diff options
author | Marek Olšák <[email protected]> | 2012-05-12 15:52:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-06-15 03:15:50 +0200 |
commit | b4753dafcce4fc771ec3d7e3d5781bd4cae20326 (patch) | |
tree | 13ef59a6eceb501f366cb3866e3cf624af85e11e /src/mesa/state_tracker/st_atom.h | |
parent | 6bb0151f1fd87b4e15f177c7122fc28fea29497e (diff) |
st/mesa: atomize vertex array state
This moves the state validation to where all the other states are validated.
Diffstat (limited to 'src/mesa/state_tracker/st_atom.h')
-rw-r--r-- | src/mesa/state_tracker/st_atom.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom.h b/src/mesa/state_tracker/st_atom.h index 930a08444ab..703bc2ab34d 100644 --- a/src/mesa/state_tracker/st_atom.h +++ b/src/mesa/state_tracker/st_atom.h @@ -46,6 +46,7 @@ void st_destroy_atoms( struct st_context *st ); void st_validate_state( struct st_context *st ); +extern const struct st_tracked_state st_update_array; extern const struct st_tracked_state st_update_framebuffer; extern const struct st_tracked_state st_update_clip; extern const struct st_tracked_state st_update_depth_stencil_alpha; @@ -70,4 +71,8 @@ extern const struct st_tracked_state st_update_pixel_transfer; GLuint st_compare_func_to_pipe(GLenum func); +enum pipe_format +st_pipe_vertex_format(GLenum type, GLuint size, GLenum format, + GLboolean normalized, GLboolean integer); + #endif |