v3d: Always enable the NEON utile load/store code.
I can't imagine the new HW block being paired with a v6 CPU, so don't bother with the CPU detection that vc4 had to do. Improves 1024x1024 TexImage on my 7278 by 47.3229% +/- 0.679632%
This commit is contained in:
parent
385843ac3c
commit
0c05198d6b
|
@ -52,10 +52,11 @@ files_per_version = files(
|
||||||
'v3dx_state.c',
|
'v3dx_state.c',
|
||||||
)
|
)
|
||||||
|
|
||||||
v3dv3_c_args = []
|
v3d_args = ['-DV3D_BUILD_NEON']
|
||||||
|
|
||||||
dep_v3dv3 = dependency('v3dv3', required: false)
|
dep_v3dv3 = dependency('v3dv3', required: false)
|
||||||
if dep_v3dv3.found()
|
if dep_v3dv3.found()
|
||||||
v3dv3_c_args = '-DUSE_V3D_SIMULATOR'
|
v3d_args += '-DUSE_V3D_SIMULATOR'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
v3d_versions = ['33', '41']
|
v3d_versions = ['33', '41']
|
||||||
|
@ -69,7 +70,7 @@ foreach ver : v3d_versions
|
||||||
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom,
|
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom,
|
||||||
inc_gallium_drivers, inc_drm_uapi,
|
inc_gallium_drivers, inc_drm_uapi,
|
||||||
],
|
],
|
||||||
c_args : [c_vis_args, v3dv3_c_args, '-DV3D_VERSION=' + ver],
|
c_args : [c_vis_args, v3d_args, '-DV3D_VERSION=' + ver],
|
||||||
cpp_args : [cpp_vis_args],
|
cpp_args : [cpp_vis_args],
|
||||||
dependencies : [dep_v3dv3, dep_libdrm, dep_valgrind],
|
dependencies : [dep_v3dv3, dep_libdrm, dep_valgrind],
|
||||||
)
|
)
|
||||||
|
@ -83,8 +84,8 @@ libv3d = static_library(
|
||||||
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom,
|
inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_broadcom,
|
||||||
inc_gallium_drivers, inc_drm_uapi,
|
inc_gallium_drivers, inc_drm_uapi,
|
||||||
],
|
],
|
||||||
c_args : [c_vis_args, v3dv3_c_args],
|
c_args : [c_vis_args, v3d_args],
|
||||||
cpp_args : [cpp_vis_args, v3dv3_c_args],
|
cpp_args : [cpp_vis_args, v3d_args],
|
||||||
dependencies : [dep_v3dv3, dep_libdrm, dep_valgrind, idep_nir_headers],
|
dependencies : [dep_v3dv3, dep_libdrm, dep_valgrind, idep_nir_headers],
|
||||||
link_with: per_version_libs,
|
link_with: per_version_libs,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue