Mesa (master): gallium: API cleanup, remove pointless pipe_constant_buffer
Roland Scheidegger
sroland at kemper.freedesktop.org
Fri Jan 15 17:25:27 UTC 2010
Module: Mesa
Branch: master
Commit: beb712ee9adf693f02e5d867344817176189d385
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=beb712ee9adf693f02e5d867344817176189d385
Author: Roland Scheidegger <sroland at vmware.com>
Date: Wed Dec 23 20:42:55 2009 +0100
gallium: API cleanup, remove pointless pipe_constant_buffer
---
src/gallium/include/pipe/p_context.h | 2 +-
src/gallium/include/pipe/p_state.h | 9 ---------
2 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 11bcdc0..509d8e5 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -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 * );
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 60e96b9..f3d580d 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -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;
More information about the mesa-commit
mailing list