summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-10 20:32:40 -0700
committerBrian Paul <[email protected]>2012-02-15 14:07:43 -0700
commitf1334f232f58d449cffccd8bfd79b32d96a9b54e (patch)
treedd6d85df97bb4b9686210650464c9288955a40f2 /src/gallium
parent82ddd1129e76b8bb978497df2940d1449a848551 (diff)
gallium: fix some comments in p_state.h
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/include/pipe/p_state.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index f6486f01dce..72ec04a10cd 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -329,7 +329,7 @@ struct pipe_surface
{
struct pipe_reference reference;
struct pipe_resource *texture; /**< resource into which this is a view */
- struct pipe_context *context; /**< context this view belongs to */
+ struct pipe_context *context; /**< context this surface belongs to */
enum pipe_format format;
/* XXX width/height should be removed */
@@ -463,8 +463,8 @@ struct pipe_vertex_buffer
struct pipe_stream_output_target
{
struct pipe_reference reference;
- struct pipe_resource *buffer; /**< buffer into which this is a target view */
- struct pipe_context *context; /**< context this view belongs to */
+ struct pipe_resource *buffer; /**< the output buffer */
+ struct pipe_context *context; /**< context this SO target belongs to */
unsigned buffer_offset; /**< offset where data should be written, in bytes */
unsigned buffer_size; /**< how much data is allowed to be written */