gallium: API cleanup, remove pointless pipe_constant_buffer
authorRoland Scheidegger <sroland@vmware.com>
Wed, 23 Dec 2009 19:42:55 +0000 (20:42 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 23 Dec 2009 19:42:55 +0000 (20:42 +0100)
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_state.h

index 11bcdc0a24c2ae69992eb129e774eda7ae7774e3..509d8e534bb5df11c6d92d9cba8bf1214d5930f4 100644 (file)
@@ -156,7 +156,7 @@ struct pipe_context {
 
    void (*set_constant_buffer)( struct pipe_context *,
                                 uint shader, uint index,
-                                const struct pipe_constant_buffer *buf );
+                                const struct pipe_buffer *buf );
 
    void (*set_framebuffer_state)( struct pipe_context *,
                                   const struct pipe_framebuffer_state * );
index 60e96b98debb3d90690e3f5e125933285e9d5c1e..f3d580d8d6d572f37c2baff6dfc7bf29fad37484 100644 (file)
@@ -178,15 +178,6 @@ struct pipe_clip_state
 };
 
 
-/**
- * Constants for vertex/fragment shaders
- */
-struct pipe_constant_buffer
-{
-   struct pipe_buffer *buffer;
-};
-
-
 struct pipe_shader_state
 {
    const struct tgsi_token *tokens;