[Mesa-dev] [PATCH 1/4] svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants
Brian Paul
brianp at vmware.com
Thu Aug 9 09:15:26 PDT 2012
and similarly for svga_hw_fs_parameters
---
src/gallium/drivers/svga/svga_state.c | 4 ++--
src/gallium/drivers/svga/svga_state.h | 4 ++--
src/gallium/drivers/svga/svga_state_constants.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/svga/svga_state.c b/src/gallium/drivers/svga/svga_state.c
index 55cc841..986f3ad 100644
--- a/src/gallium/drivers/svga/svga_state.c
+++ b/src/gallium/drivers/svga/svga_state.c
@@ -70,8 +70,8 @@ static const struct svga_tracked_state *hw_draw_state[] =
&svga_hw_tss_binding,
&svga_hw_clip_planes,
&svga_hw_vdecl,
- &svga_hw_fs_parameters,
- &svga_hw_vs_parameters,
+ &svga_hw_fs_constants,
+ &svga_hw_vs_constants,
NULL
};
diff --git a/src/gallium/drivers/svga/svga_state.h b/src/gallium/drivers/svga/svga_state.h
index 046c033..7051263 100644
--- a/src/gallium/drivers/svga/svga_state.h
+++ b/src/gallium/drivers/svga/svga_state.h
@@ -64,8 +64,8 @@ extern struct svga_tracked_state svga_hw_tss;
extern struct svga_tracked_state svga_hw_tss_binding;
extern struct svga_tracked_state svga_hw_clip_planes;
extern struct svga_tracked_state svga_hw_vdecl;
-extern struct svga_tracked_state svga_hw_fs_parameters;
-extern struct svga_tracked_state svga_hw_vs_parameters;
+extern struct svga_tracked_state svga_hw_fs_constants;
+extern struct svga_tracked_state svga_hw_vs_constants;
/* SWTNL_DRAW
*/
diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c
index c03ef05..1a67c11 100644
--- a/src/gallium/drivers/svga/svga_state_constants.c
+++ b/src/gallium/drivers/svga/svga_state_constants.c
@@ -303,7 +303,7 @@ emit_fs_consts(struct svga_context *svga, unsigned dirty)
}
-struct svga_tracked_state svga_hw_fs_parameters =
+struct svga_tracked_state svga_hw_fs_constants =
{
"hw fs params",
(SVGA_NEW_FS_CONST_BUFFER |
@@ -355,7 +355,7 @@ emit_vs_consts(struct svga_context *svga, unsigned dirty)
}
-struct svga_tracked_state svga_hw_vs_parameters =
+struct svga_tracked_state svga_hw_vs_constants =
{
"hw vs params",
(SVGA_NEW_PRESCALE |
--
1.7.3.4
More information about the mesa-dev
mailing list