mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 20:20:18 +01:00
vc4: Remove the usage of USE_ARM_ASM
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36635>
This commit is contained in:
parent
b2761d1481
commit
82bafaa1fa
2 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,6 @@ if host_machine.cpu_family() == 'arm'
|
|||
c_args : ['-mfpu=neon', '-DV3D_BUILD_NEON'],
|
||||
dependencies : vc4_deps,
|
||||
)
|
||||
vc4_c_args += '-DUSE_ARM_ASM'
|
||||
endif
|
||||
|
||||
if dep_simpenrose.found()
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "util/detect_arch.h"
|
||||
#include "util/macros.h"
|
||||
#include "util/u_cpu_detect.h"
|
||||
|
||||
|
|
@ -89,7 +90,7 @@ vc4_load_lt_image(void *dst, uint32_t dst_stride,
|
|||
void *src, uint32_t src_stride,
|
||||
int cpp, const struct pipe_box *box)
|
||||
{
|
||||
#ifdef USE_ARM_ASM
|
||||
#if DETECT_ARCH_ARM
|
||||
if (util_get_cpu_caps()->has_neon) {
|
||||
vc4_load_lt_image_neon(dst, dst_stride, src, src_stride,
|
||||
cpp, box);
|
||||
|
|
@ -105,7 +106,7 @@ vc4_store_lt_image(void *dst, uint32_t dst_stride,
|
|||
void *src, uint32_t src_stride,
|
||||
int cpp, const struct pipe_box *box)
|
||||
{
|
||||
#ifdef USE_ARM_ASM
|
||||
#if DETECT_ARCH_ARM
|
||||
if (util_get_cpu_caps()->has_neon) {
|
||||
vc4_store_lt_image_neon(dst, dst_stride, src, src_stride,
|
||||
cpp, box);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue