[Mesa-dev] [PATCH mesa 2/2] intel/aubinator: drop unused functions

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Jun 19 17:17:47 UTC 2018


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 19/06/18 16:05, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>   src/intel/tools/aubinator.c | 16 ----------------
>   1 file changed, 16 deletions(-)
>
> diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
> index e4fb8adada354253143c..a4bc7b7aa12132a2d451 100644
> --- a/src/intel/tools/aubinator.c
> +++ b/src/intel/tools/aubinator.c
> @@ -78,24 +78,8 @@ uint64_t instruction_bound;
>   
>   FILE *outfile;
>   
> -static inline uint32_t
> -field(uint32_t value, int start, int end)
> -{
> -   uint32_t mask;
> -
> -   mask = ~0U >> (31 - end + start);
> -
> -   return (value >> start) & mask;
> -}
> -
>   struct brw_instruction;
>   
> -static inline int
> -valid_offset(uint32_t offset)
> -{
> -   return offset < gtt_end;
> -}
> -
>   #define GEN_ENGINE_RENDER 1
>   #define GEN_ENGINE_BLITTER 2
>   




More information about the mesa-dev mailing list