svga: whitespace, formatting fixes in svga_swtnl_state.c
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
#define SVGA_TRIANGLE_ADJ_Y -0.5f
|
||||
|
||||
|
||||
static void set_draw_viewport( struct svga_context *svga )
|
||||
static void
|
||||
set_draw_viewport(struct svga_context *svga)
|
||||
{
|
||||
struct pipe_viewport_state vp = svga->curr.viewport;
|
||||
float adjx = 0.0f;
|
||||
@@ -97,8 +98,7 @@ static void set_draw_viewport( struct svga_context *svga )
|
||||
}
|
||||
|
||||
static enum pipe_error
|
||||
update_swtnl_draw( struct svga_context *svga,
|
||||
unsigned dirty )
|
||||
update_swtnl_draw(struct svga_context *svga, unsigned dirty)
|
||||
{
|
||||
SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_SWTNLUPDATEDRAW);
|
||||
|
||||
@@ -211,7 +211,8 @@ svga_vdecl_to_input_element(struct svga_context *svga,
|
||||
ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls, id, elements);
|
||||
if (ret != PIPE_OK) {
|
||||
svga_context_flush(svga, NULL);
|
||||
ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls, id, elements);
|
||||
ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls,
|
||||
id, elements);
|
||||
assert(ret == PIPE_OK);
|
||||
}
|
||||
|
||||
@@ -364,8 +365,7 @@ done:
|
||||
|
||||
|
||||
static enum pipe_error
|
||||
update_swtnl_vdecl( struct svga_context *svga,
|
||||
unsigned dirty )
|
||||
update_swtnl_vdecl(struct svga_context *svga, unsigned dirty)
|
||||
{
|
||||
return svga_swtnl_update_vdecl(svga);
|
||||
}
|
||||
|
Reference in New Issue
Block a user