gallium/util: remove empty file u_half.h

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6774>
This commit is contained in:
Marek Olšák 2020-09-19 14:11:02 -04:00 committed by Marge Bot
parent 7a1deb16f8
commit 4fb2eddfdf
34 changed files with 37 additions and 68 deletions

View File

@ -29,7 +29,7 @@
#include "vk_util.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/format_srgb.h"
#include "util/format_r11g11b10f.h"
#include "util/format_rgb9e5.h"

View File

@ -24,7 +24,8 @@
#include "freedreno_layout.h"
#include "fd_layout_test.h"
#include "adreno_common.xml.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "a5xx.xml.h"
#include <stdio.h>

View File

@ -25,7 +25,8 @@
* Rob Clark <robclark@freedesktop.org>
*/
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "adreno_common.xml.h"
#include "adreno_pm4.xml.h"
#include "a2xx.xml.h"

View File

@ -27,7 +27,8 @@
#ifndef FD5_PERFCNTR_H_
#define FD5_PERFCNTR_H_
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "adreno_common.xml.h"
#include "a5xx.xml.h"

View File

@ -27,7 +27,8 @@
#ifndef FD6_PERFCNTR_H_
#define FD6_PERFCNTR_H_
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "adreno_common.xml.h"
#include "adreno_pm4.xml.h"
#include "a6xx.xml.h"

View File

@ -27,6 +27,8 @@
#ifndef FREEDRENO_PERFCNTR_H_
#define FREEDRENO_PERFCNTR_H_
#include "util/macros.h"
/*
* Mapping very closely to the AMD_performance_monitor extension, adreno has
* groups of performance counters where each group has N counters, which can

View File

@ -14,7 +14,7 @@
#include "util/format_r11g11b10f.h"
#include "util/format_rgb9e5.h"
#include "util/format_srgb.h"
#include "util/u_half.h"
#include "util/half_float.h"
static uint32_t
tu_pack_float32_for_unorm(float val, int bits)

View File

@ -248,7 +248,6 @@ C_SOURCES := \
util/u_framebuffer.h \
util/u_gen_mipmap.c \
util/u_gen_mipmap.h \
util/u_half.h \
util/u_handle_table.c \
util/u_handle_table.h \
util/u_hash_table.c \

View File

@ -37,7 +37,7 @@
#include "util/u_debug.h"
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "lp_bld_type.h"
#include "lp_bld_const.h"

View File

@ -63,7 +63,7 @@
#include "util/u_debug.h"
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_cpu_detect.h"
#include "lp_bld_type.h"

View File

@ -264,7 +264,6 @@ files_libgallium = files(
'util/u_framebuffer.h',
'util/u_gen_mipmap.c',
'util/u_gen_mipmap.h',
'util/u_half.h',
'util/u_handle_table.c',
'util/u_handle_table.h',
'util/u_hash_table.c',

View File

@ -58,7 +58,7 @@
#include "tgsi/tgsi_parse.h"
#include "tgsi/tgsi_util.h"
#include "tgsi_exec.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_memory.h"
#include "util/u_math.h"
#include "util/rounding.h"

View File

@ -32,7 +32,7 @@
#include "util/u_memory.h"
#include "util/format/u_format.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "pipe/p_state.h"
#include "translate.h"

View File

@ -1,36 +0,0 @@
/**************************************************************************
*
* Copyright 2010 Luca Barbieri
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial
* portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
**************************************************************************/
#ifndef U_HALF_H
#define U_HALF_H
#include "pipe/p_compiler.h"
#include "util/u_math.h"
#include "util/half_float.h"
#endif /* U_HALF_H */

View File

@ -32,7 +32,7 @@
#include "hw/common.xml.h"
#include "pipe/p_defines.h"
#include "util/u_memory.h"
#include "util/u_half.h"
#include "util/half_float.h"
void *
etna_blend_state_create(struct pipe_context *pctx,

View File

@ -42,7 +42,7 @@
#include "compiler/nir/nir_builder.h"
#include "tgsi/tgsi_strings.h"
#include "util/u_half.h"
#include "util/half_float.h"
static bool
etna_alu_to_scalar_filter_cb(const nir_instr *instr, const void *data)

View File

@ -34,7 +34,7 @@
#include "hw/isa.xml.h"
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
struct instr {
/* dword0: */

View File

@ -29,7 +29,7 @@
#include "etnaviv_context.h"
#include "etnaviv_screen.h"
#include "etnaviv_translate.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_memory.h"
#include "hw/common.xml.h"

View File

@ -34,7 +34,7 @@
#include "pipe/p_state.h"
#include "util/u_debug.h"
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_dynarray.h"
#include "util/u_pack_color.h"

View File

@ -23,7 +23,7 @@
*/
#include "util/ralloc.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/bitscan.h"
#include "ppir.h"

View File

@ -24,7 +24,7 @@
*
*/
#include "util/u_half.h"
#include "util/half_float.h"
#include "ppir.h"
#include "codegen.h"

View File

@ -25,7 +25,7 @@
#include "util/format/u_format.h"
#include "util/u_debug.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_helpers.h"
#include "util/u_inlines.h"
#include "util/u_pack_color.h"

View File

@ -25,7 +25,7 @@
#include "util/format/u_format.h"
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "nv_object.xml.h"
#include "nv30/nv30-40_3d.xml.h"

View File

@ -26,7 +26,7 @@
#include "r300_reg.h"
#include "util/format/u_format.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_pack_color.h"
#include "util/u_surface.h"

View File

@ -24,7 +24,7 @@
#include "draw/draw_context.h"
#include "util/u_framebuffer.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_helpers.h"
#include "util/u_math.h"
#include "util/u_memory.h"

View File

@ -22,7 +22,7 @@
*/
#include "util/format/u_format.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "v3d_context.h"
#include "broadcom/common/v3d_macros.h"
#include "broadcom/cle/v3dx_pack.h"

View File

@ -28,7 +28,7 @@
#include "util/u_inlines.h"
#include "util/u_math.h"
#include "util/u_memory.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_helpers.h"
#include "util/u_upload_mgr.h"

View File

@ -23,7 +23,7 @@
#ifndef _NINE_VERTEXSHADER9_H_
#define _NINE_VERTEXSHADER9_H_
#include "util/u_half.h"
#include "util/half_float.h"
#include "iunknown.h"
#include "device9.h"

View File

@ -27,7 +27,7 @@
#include "translate/translate.h"
#include "util/u_memory.h"
#include "util/format/u_format.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_cpu_detect.h"
#include "rtasm/rtasm_cpu.h"

View File

@ -3,7 +3,7 @@
#include <float.h>
#include "util/u_math.h"
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_cpu_detect.h"
static void

View File

@ -28,7 +28,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "util/format_r11g11b10f.h"
#include "main/varray.h"
#include "vbo_util.h"
#include "util/u_half.h"
#include "util/half_float.h"
/* ATTR */

View File

@ -715,7 +715,7 @@ def generate(formats):
print()
print('#include "pipe/p_compiler.h"')
print('#include "util/u_math.h"')
print('#include "util/u_half.h"')
print('#include "util/half_float.h"')
print('#include "u_format.h"')
print('#include "u_format_other.h"')
print('#include "util/format_srgb.h"')

View File

@ -28,10 +28,10 @@
#include <math.h>
#include <assert.h>
#include "half_float.h"
#include "util/u_half.h"
#include "rounding.h"
#include "softfloat.h"
#include "macros.h"
#include "u_math.h"
typedef union { float f; int32_t i; uint32_t u; } fi_type;

View File

@ -30,7 +30,8 @@
#include <stdio.h>
#include <float.h>
#include "util/u_half.h"
#include "util/half_float.h"
#include "util/u_math.h"
#include "util/format/u_format.h"
#include "util/format/u_format_tests.h"
#include "util/format/u_format_s3tc.h"