svga: whitespace and formatting fixes in svga_stage.c
Trivial.
This commit is contained in:
parent
88becf7302
commit
49134c0549
|
@ -102,28 +102,26 @@ static const struct svga_tracked_state **state_levels[] =
|
|||
|
||||
|
||||
|
||||
static unsigned check_state( unsigned a,
|
||||
unsigned b )
|
||||
static unsigned
|
||||
check_state(unsigned a, unsigned b)
|
||||
{
|
||||
return (a & b);
|
||||
}
|
||||
|
||||
static void accumulate_state( unsigned *a,
|
||||
unsigned b )
|
||||
static void
|
||||
accumulate_state(unsigned *a, unsigned b)
|
||||
{
|
||||
*a |= b;
|
||||
}
|
||||
|
||||
|
||||
static void xor_states( unsigned *result,
|
||||
unsigned a,
|
||||
unsigned b )
|
||||
static void
|
||||
xor_states(unsigned *result, unsigned a, unsigned b)
|
||||
{
|
||||
*result = a ^ b;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static enum pipe_error
|
||||
update_state(struct svga_context *svga,
|
||||
const struct svga_tracked_state *atoms[],
|
||||
|
@ -194,7 +192,6 @@ update_state(struct svga_context *svga,
|
|||
}
|
||||
|
||||
|
||||
|
||||
enum pipe_error
|
||||
svga_update_state(struct svga_context *svga, unsigned max_level)
|
||||
{
|
||||
|
@ -240,10 +237,8 @@ done:
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void svga_update_state_retry( struct svga_context *svga,
|
||||
unsigned max_level )
|
||||
void
|
||||
svga_update_state_retry(struct svga_context *svga, unsigned max_level)
|
||||
{
|
||||
enum pipe_error ret;
|
||||
|
||||
|
@ -270,7 +265,8 @@ do { \
|
|||
/* Setup any hardware state which will be constant through the life of
|
||||
* a context.
|
||||
*/
|
||||
enum pipe_error svga_emit_initial_state( struct svga_context *svga )
|
||||
enum pipe_error
|
||||
svga_emit_initial_state(struct svga_context *svga)
|
||||
{
|
||||
if (svga_have_vgpu10(svga)) {
|
||||
SVGA3dRasterizerStateId id = util_bitmask_add(svga->rast_object_id_bm);
|
||||
|
|
Loading…
Reference in New Issue