llvmpipe: whitespace clean-ups in lp_rast.h
Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16937>
This commit is contained in:
@@ -85,7 +85,7 @@ struct lp_rast_state {
|
||||
* the fragment shader, such as blend color and alpha ref value.
|
||||
*/
|
||||
struct lp_jit_context jit_context;
|
||||
|
||||
|
||||
/* The shader itself. Probably we also need to pass a pointer to
|
||||
* the tile color/z/stencil data somehow
|
||||
*/
|
||||
@@ -119,6 +119,7 @@ struct lp_rast_shader_inputs {
|
||||
/* followed by a0, dadx, dady and planes[] */
|
||||
};
|
||||
|
||||
|
||||
struct lp_rast_plane {
|
||||
/* edge function values at minx,miny ?? */
|
||||
int64_t c;
|
||||
@@ -136,6 +137,7 @@ struct lp_rast_plane {
|
||||
uint32_t pad;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Rasterization information for a triangle known to be in this bin,
|
||||
* plus inputs to run the shader:
|
||||
@@ -199,7 +201,7 @@ lp_rast_create( unsigned num_threads );
|
||||
void
|
||||
lp_rast_destroy( struct lp_rasterizer * );
|
||||
|
||||
void
|
||||
void
|
||||
lp_rast_queue_scene( struct lp_rasterizer *rast,
|
||||
struct lp_scene *scene );
|
||||
|
||||
@@ -236,6 +238,7 @@ lp_rast_arg_inputs( const struct lp_rast_shader_inputs *shade_tile )
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
static inline union lp_rast_cmd_arg
|
||||
lp_rast_arg_triangle( const struct lp_rast_triangle *triangle,
|
||||
unsigned plane_mask)
|
||||
@@ -246,6 +249,7 @@ lp_rast_arg_triangle( const struct lp_rast_triangle *triangle,
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Build argument for a contained triangle.
|
||||
*
|
||||
@@ -262,6 +266,7 @@ lp_rast_arg_triangle_contained( const struct lp_rast_triangle *triangle,
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
static inline union lp_rast_cmd_arg
|
||||
lp_rast_arg_rectangle( const struct lp_rast_rectangle *rectangle )
|
||||
{
|
||||
@@ -270,6 +275,7 @@ lp_rast_arg_rectangle( const struct lp_rast_rectangle *rectangle )
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
static inline union lp_rast_cmd_arg
|
||||
lp_rast_arg_state( const struct lp_rast_state *state )
|
||||
{
|
||||
@@ -278,6 +284,7 @@ lp_rast_arg_state( const struct lp_rast_state *state )
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
static inline union lp_rast_cmd_arg
|
||||
lp_rast_arg_fence( struct lp_fence *fence )
|
||||
{
|
||||
@@ -305,6 +312,7 @@ lp_rast_arg_query( struct llvmpipe_query *pq )
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
static inline union lp_rast_cmd_arg
|
||||
lp_rast_arg_null( void )
|
||||
{
|
||||
@@ -383,8 +391,10 @@ lp_characterize_bin(const struct cmd_bin *bin);
|
||||
|
||||
void
|
||||
lp_debug_bins( struct lp_scene *scene );
|
||||
|
||||
void
|
||||
lp_debug_draw_bins_by_cmd_length( struct lp_scene *scene );
|
||||
|
||||
void
|
||||
lp_debug_draw_bins_by_coverage( struct lp_scene *scene );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user