1 #ifndef UTIL_BOX_INLINES_H
2 #define UTIL_BOX_INLINES_H
4 #include "pipe/p_state.h"
7 void u_box_1d( unsigned x
,
20 void u_box_2d( unsigned x
,
24 struct pipe_box
*box
)
35 void u_box_origin_2d( unsigned w
,
37 struct pipe_box
*box
)
48 void u_box_2d_zslice( unsigned x
,
53 struct pipe_box
*box
)
64 struct pipe_subresource
u_subresource( unsigned face
,
67 struct pipe_subresource subresource
;
68 subresource
.face
= face
;
69 subresource
.level
= level
;