Home
last modified time | relevance | path

Searched +full:static +full:- +full:libclc (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/compiler/spirv/
Dnir_load_libclc.c27 #include "util/mesa-sha1.h"
42 #include "spirv-mesa3d-.spv.h"
46 #include "spirv64-mesa3d-.spv.h"
56 static const struct clc_file libclc_files[] = {
64 .sys_path = DYNAMIC_LIBCLC_PATH "spirv-mesa3d-.spv",
74 .sys_path = DYNAMIC_LIBCLC_PATH "spirv64-mesa3d-.spv",
79 static const struct clc_file *
96 static bool
100 clc->file = get_libclc_file(ptr_bit_size); in open_clc_data()
101 clc->fd = -1; in open_clc_data()
[all …]
Dnir_lower_libclc.c25 /* Pass to find libclc functions from a clc library shader and inline
34 static bool
42 if (!call->callee->name) in lower_clc_call_instr()
46 if (strcmp(function->name, call->callee->name) == 0) { in lower_clc_call_instr()
51 if (!func || !func->impl) { in lower_clc_call_instr()
55 nir_ssa_def **params = rzalloc_array(b->shader, nir_ssa_def*, call->num_params); in lower_clc_call_instr()
57 for (unsigned i = 0; i < call->num_params; i++) { in lower_clc_call_instr()
58 params[i] = nir_ssa_for_src(b, call->params[i], in lower_clc_call_instr()
59 call->callee->params[i].num_components); in lower_clc_call_instr()
62 b->cursor = nir_instr_remove(&call->instr); in lower_clc_call_instr()
[all …]
Dvtn_opencl.c40 static int to_llvm_address_space(SpvStorageClass mode) in to_llvm_address_space()
50 default: return -1; in to_llvm_address_space()
55 static void
65 const struct glsl_type *type = src_types[i]->type; in vtn_opencl_mangle()
66 enum vtn_base_type base_type = src_types[i]->base_type; in vtn_opencl_mangle()
67 if (src_types[i]->base_type == vtn_base_type_pointer) { in vtn_opencl_mangle()
69 int address_space = to_llvm_address_space(src_types[i]->storage_class); in vtn_opencl_mangle()
73 type = src_types[i]->deref->type; in vtn_opencl_mangle()
74 base_type = src_types[i]->deref->base_type; in vtn_opencl_mangle()
82 /* Vectors are not treated as built-ins for mangling, so check for substitution. in vtn_opencl_mangle()
[all …]
/third_party/mesa3d/.gitlab-ci/windows/
Dmesa_build.ps17 Write-Host "Refreshing Windows TLS CA cache"
8 (New-Object System.Net.WebClient).DownloadString("https://github.com") >$null
12 Get-Date
13 Write-Host "Compiling Mesa"
14 $builddir = New-Item -Force -ItemType Directory -Name "_build"
15 $installdir = New-Item -Force -ItemType Directory -Name "_install"
20 Remove-Item -Recurse -Force $builddir
21 Remove-Item -Recurse -Force $installdir
22 New-Item -ItemType Directory -Path $builddir
23 New-Item -ItemType Directory -Path $installdir
[all …]
/third_party/mesa3d/src/compiler/nir/
Dmeson.build74 command : [prog_python, '@INPUT@', '--outdir', meson.current_build_dir()],
83 command : [prog_python, '@INPUT@', '--outdir', meson.current_build_dir()],
92 command : [prog_python, '@INPUT@', '--outdir', meson.current_build_dir()],
315 _static_libclc = get_option('static-libclc')
324 _libnir_args += '-DHAVE_STATIC_LIBCLC_ZSTD'
328 _libnir_args += '-DHAVE_STATIC_LIBCLC_@0@'.format(s.to_upper())
329 f = '@0@-mesa3d-.spv'.format(s)
335 command : [prog_zstd, '-f', '@INPUT@', '-o', '@OUTPUT@'],
344 prog_python, files_xxd, '-b', '@INPUT@', '@OUTPUT@',
345 '-n', 'libclc_@0@_mesa3d_spv'.format(s),
[all …]
/third_party/mesa3d/
Dmeson_options.txt1 # Copyright © 2017-2019 Intel Corporation
31 'egl-native-platform',
41 'android-stub',
44 description : 'Build against android-stub',
55 'dri-drivers',
60 'dri-drivers-path',
66 'dri-search-path',
69 …: 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.'
72 'gallium-drivers',
83 'gallium-extra-hud',
[all …]
Dmeson.build1 # Copyright © 2017-2020 Intel Corporation
30 …default_options : ['buildtype=debugoptimized', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++14']
54 '-D__STDC_CONSTANT_MACROS',
55 '-D__STDC_FORMAT_MACROS',
56 '-D__STDC_LIMIT_MACROS',
57 '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()),
58 '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"',
63 with_moltenvk_dir = get_option('moltenvk-dir')
64 with_vulkan_icd_dir = get_option('vulkan-icd-dir')
65 with_tests = get_option('build-tests')
[all …]
D.pick_status.json31 "description": "pps: make pps-producer RT only on freedreno",
58 …"description": "tree-wide: Convert all usage of PIPE_(OS|ARCH|CC)_* to DETECT_(OS|ARCH|CC)_* by us…
67 …"description": "tree-wide: Convert all usage of #ifndef PIPE_(OS|ARCH|CC)_* to #if DETECT_(OS|ARCH…
76 …"description": "tree-wide: Convert all usage of #ifdef PIPE_(OS|ARCH|CC)_* to #if DETECT_(OS|ARCH|…
85 …"description": "tree-wide: Convert all usage of defined PIPE_(OS|ARCH|CC)_* to DETECT_(OS|ARCH|CC)…
94 …"description": "tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC…
220 …"description": "mesa/vbo: Replace the usage of cpu_has_sse4_1 with util_get_cpu_caps()->has_sse4_1…
256 "description": "microsoft/compiler: Delete now-unused memcpy lowering pass",
436 "description": "docs: fix badly encoded envvar-roles",
454 "description": "docs: remove stale envvar-reference",
[all …]
/third_party/mesa3d/src/compiler/clc/
Dclc.c40 static const struct debug_named_value clc_debug_options[] = {
48 static void
52 for (unsigned i = 0; i < obj->num_kernels; i++) { in clc_print_kernels_info()
53 const struct clc_kernel_arg *args = obj->kernels[i].args; in clc_print_kernels_info()
56 fprintf(stdout, "\tvoid %s(", obj->kernels[i].name); in clc_print_kernels_info()
57 for (unsigned j = 0; j < obj->kernels[i].num_args; j++) { in clc_print_kernels_info()
90 static void
147 nir_shader *s = nir_load_libclc_shader(64, NULL, &libclc_spirv_options, options->nir_options); in clc_libclc_new()
149 clc_error(logger, "D3D12: spirv_to_nir failed on libclc blob"); in clc_libclc_new()
154 if (options && options->optimize) in clc_libclc_new()
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dinvocation.cpp2 // Copyright 2012-2016 Francisco Jerez
3 // Copyright 2012-2016 Advanced Micro Devices, Inc.
4 // Copyright 2014-2016 Jan Vesely
5 // Copyright 2014-2015 Serge Martin
32 #include <llvm-c/Target.h>
78 static const cl_version ANY_VERSION = CL_MAKE_VERSION(9, 9, 9);
115 static bool targets_initialized = false; in init_targets()
141 ctx->setDiagnosticHandlerCallBack(diagnostic_handler, &r_log); in create_context()
188 const std::string search = "-cl-std=CL"; in get_language_version()
231 // https://gitlab.freedesktop.org/mesa/mesa/-/issues/6342 in create_compiler_instance()
[all …]
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst1 Mesa 20.3.0 Release Notes / 2020-12-03
20 ---------------
24 2999738e888731531cd62b27519fa37566cc0ea2cd7d4d97f46abaa3e949c630 mesa-20.3.0.tar.xz
28 ------------
30 - GL 4.5 on llvmpipe
32 - GL_INTEL_blackhole_render on radeonsi
34 - GL_NV_copy_depth_to_color for NIR
36 - GL_NV_half_float
38 - GL_NV_shader_atomic_int64 on radeonsi
40 - EGL_KHR_swap_buffers_with_damage on X11 (DRI3)
[all …]
D21.0.0.rst1 Mesa 21.0.0 Release Notes / 2021-03-11
20 ---------------
24 e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84 mesa-21.0.0.tar.xz
28 ------------
30 - GL_EXT_demote_to_helper_invocation on radeonsi
32 - GL_NV_compute_shader_derivatives on radeonsi
34 - EGL_MESA_platform_xcb
36 - Removed GL_NV_point_sprite for classic swrast.
38 - driconf: remove glx_disable_oml_sync_control, glx_disable_sgi_video_sync, and glx_disable_ext_buf…
40 - Removed support for loading DRI drivers older than Mesa 8.0, including all DRI1 support
[all …]
D21.3.0.rst1 Mesa 21.3.0 Release Notes / 2021-11-17
20 ---------------
24 a2753c09deef0ba14d35ae8a2ceff3fe5cd13698928c7bb62c2ec8736eb09ce1 mesa-21.3.0.tar.xz
28 ------------
30 - VK_EXT_color_write_enable on lavapipe
31 - GL_ARB_texture_filter_anisotropic in llvmpipe
32 - Anisotropic texture filtering in lavapipe
33 - VK_EXT_shader_atomic_float2 on Intel and RADV.
34 - VK_EXT_vertex_input_dynamic_state on RADV.
35 - VK_KHR_timeline_semaphore on lavapipe
[all …]
D22.1.0.rst1 Mesa 22.1.0 Release Notes / 2022-05-18
20 ---------------
24 df6270c1371eaa2aa6eb65b95cbbb2a98b14fa4b7ba0ed45e4ca2fd32df60477 mesa-22.1.0.tar.xz
28 ------------
30 - d3d12 GL4.2
31 - GL_NV_pack_subimage
32 - VK_EXT_depth_clip_control on lavapipe and RADV
33 - Vulkan 1.3 support on lavapipe
34 - VK_EXT_graphics_pipeline_library on lavapipe
35 - VK_EXT_primitives_generated_query on lavapipe
[all …]
/third_party/mesa3d/.gitlab-ci/build/
Dgitlab-ci.yml2 .build-common:
3 extends: .build-rules
10 - _build/meson-logs/*.txt
11 - _build/meson-logs/strace
12 - shader-db
15 .build-linux:
16 extends: .build-common
23 - !reference [default, before_script]
24 - export PATH="/usr/lib/ccache:$PATH"
25 - export CCACHE_BASEDIR="$PWD"
[all …]