From: Brian Paul Date: Thu, 9 Aug 2012 16:14:51 +0000 (-0600) Subject: svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a5eeeaebe4f631e0f4e3dbe73f22d5f60a53db5;p=mesa.git svga: rename svga_hw_vs_parameters -> svga_hw_vs_constants and similarly for svga_hw_fs_parameters --- diff --git a/src/gallium/drivers/svga/svga_state.c b/src/gallium/drivers/svga/svga_state.c index 55cc8417874..986f3ad6559 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 046c0330d58..7051263daf0 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 c03ef0580e7..1a67c112217 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 |