From 28f3850f461a7788209933eabe87e5bdacee5f60 Mon Sep 17 00:00:00 2001 From: yanansong Date: Tue, 17 Oct 2023 16:15:47 +0800 Subject: [PATCH] remove useless file --- add_fangtian_support.patch | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/add_fangtian_support.patch b/add_fangtian_support.patch index ad0352d..3c85c2c 100644 --- a/add_fangtian_support.patch +++ b/add_fangtian_support.patch @@ -1651,36 +1651,3 @@ index 65faf60..e04ca63 100644 elif with_platform_haiku incs_for_egl += inc_haikugl c_args_for_egl += [ -diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h -index 5e00657..29d5df3 100644 ---- a/src/gallium/drivers/freedreno/freedreno_util.h -+++ b/src/gallium/drivers/freedreno/freedreno_util.h -@@ -44,6 +44,15 @@ - #include "adreno_pm4.xml.h" - #include "disasm.h" - -+#include -+#include -+ -+#ifndef SYS_gettid -+#error "SYS_gettid unavailable on this system" -+#endif -+ -+#define gettid() ((pid_t)syscall(SYS_gettid)) -+ - #ifdef __cplusplus - extern "C" { - #endif -diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c -index b8c4468..352ece2 100644 ---- a/src/gallium/drivers/r600/r600_state_common.c -+++ b/src/gallium/drivers/r600/r600_state_common.c -@@ -3198,7 +3198,7 @@ uint32_t r600_translate_colorformat(enum chip_class chip, enum pipe_format forma - - uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap) - { -- if (R600_BIG_ENDIAN) { -+ if (0 && R600_BIG_ENDIAN) { - switch(colorformat) { - /* 8-bit buffers. */ - case V_0280A0_COLOR_4_4: