Home
last modified time | relevance | path

Searched +full:shader +full:- +full:db (Results 1 – 25 of 179) sorted by relevance

12345678

/external/mesa3d/.gitlab-ci/
Drun-shader-db.sh2 set -e
4 ARTIFACTSDIR=$(pwd)/shader-db
5 mkdir -p "$ARTIFACTSDIR"
11 cd /usr/local/shader-db
14 section_start shader-db-${driver} "Running shader-db for $driver"
16 ./run -j"${FDO_CI_CONCURRENT:-4}" ./shaders \
17 > "$ARTIFACTSDIR/${driver}-shader-db.txt"
18 section_end shader-db-${driver}
21 # Run shader-db over a number of supported chipsets for nouveau
23 # section_start shader-db-nouveau-${chipset} "Running shader-db for nouveau - ${chipset}"
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c67 VKSCR(GetDescriptorSetLayoutSupport)(screen->dev, &dcslci, &supp); in descriptor_layout_create()
73 VkResult result = VKSCR(CreateDescriptorSetLayout)(screen->dev, &dcslci, 0, &dsl); in descriptor_layout_create()
84 hash = XXH32(&k->num_bindings, sizeof(unsigned), hash); in hash_descriptor_layout()
86 for (unsigned i = 0; i < k->num_bindings; i++) in hash_descriptor_layout()
87 hash = XXH32(&k->bindings[i], offsetof(VkDescriptorSetLayoutBinding, stageFlags), hash); in hash_descriptor_layout()
97 return a_k->num_bindings == b_k->num_bindings && in equals_descriptor_layout()
98 …(!a_k->num_bindings || !memcmp(a_k->bindings, b_k->bindings, a_k->num_bindings * sizeof(VkDescript… in equals_descriptor_layout()
112 k->num_bindings = num_bindings; in create_layout()
114 k->bindings = (void *)(k + 1); in create_layout()
115 memcpy(k->bindings, bindings, bindings_size); in create_layout()
[all …]
Dzink_context.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
73 if (ctx->track_renderpasses) { in update_tc_info()
74 const struct tc_renderpass_info *info = threaded_context_get_renderpass_info(ctx->tc); in update_tc_info()
75 ctx->rp_changed |= ctx->dynamic_fb.tc_info.data != info->data; in update_tc_info()
76 ctx->dynamic_fb.tc_info.data = info->data; in update_tc_info()
78 struct tc_renderpass_info info = ctx->dynamic_fb.tc_info; in update_tc_info()
79 bool zsbuf_used = !ctx->zsbuf_unused; in update_tc_info()
81 ctx->dynamic_fb.tc_info.data32[0] = 0; in update_tc_info()
82 if (ctx->clears_enabled & PIPE_CLEAR_DEPTHSTENCIL) in update_tc_info()
83 ctx->dynamic_fb.tc_info.zsbuf_clear_partial = true; in update_tc_info()
[all …]
Dzink_types.h94 /* flag to create screen->copy_context */
98 #define VKCTX(fn) zink_screen(ctx->base.screen)->vk.fn
99 #define VKSCR(fn) screen->vk.fn
154 * and all base type values are thus +1 to get the set id (using screen->desc_set_id[idx])
207 /* zink heaps are based off of vulkan memory types, but are not a 1-to-1 mapping to vulkan memory t…
428 /* ctx->dd; created at context creation */
452 } db; member
466 /* pg->dd; created at program creation */
501 /* this flips to split usable overflow from in-use overflow */
511 /* bs->dd; created on batch state creation */
[all …]
/external/mesa3d/src/broadcom/common/
Dv3d_debug.c57 /* `shaderdb` is *not* used by shader-db, but is here so that any other
58 * game/app can dump its stats in the shader-db format, allowing them
59 * to be compared using shader-db's report.py tool.
62 "Dump program compile information for shader-db analysis" },
67 "Print performance-related events during runtime" },
82 "Precompiles shader variant at shader state creation time (v3d only)" },
86 "Dump SPIR-V code (v3dv only)" },
88 "Force 32-bit precision on all TMU operations" },
90 * require full 32-bit precision, but can improve performance
94 "Force 16-bit precision on all TMU operations" },
[all …]
/external/mesa3d/.gitlab-ci/container/
Dbuild-shader-db.sh4 # .gitlab-ci/image-tags.yml tags:
7 set -ex
10 git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1
11 rm -rf shader-db/.git
12 cd shader-db
/external/mesa3d/docs/drivers/
Dvc4.rst7 option as of the 2016-02-09 Raspbian release using ``raspi-config``.
19 -------------
25 --------------
30 * 4-byte index buffers.
59 front/back mode don't match, we would need to run the vertex shader in
65 -------------
68 <https://gitlab.freedesktop.org/mesa/mesa/-/issues>`__ page.
80 useful. Install `vc4-gpu-tools
81 <https://github.com/anholt/vc4-gpu-tools/>`__ and use
82 ``vc4_dump_hang_state my-app.hang``. Sometimes the hang file will
[all …]
Dpanfrost.rst6 on Mali-G52 and Mali-G57 but **non-conformant** on other GPUs. The following
36 --------
38 Panfrost's OpenGL support is a Gallium driver. Since Mali GPUs are 3D-only and
47 Build like ``meson . build/ -Dvulkan-drivers=
48 -Dgallium-drivers=panfrost -Dllvm=disabled`` for a build directory
55 ----
62 --------------------------
67 every system-on-chip with a Mali GPU support all these formats. Many lower-end
70 system-on-chip, Panfrost includes a ``panfrost_texfeatures`` tool to query
73 To use this tool, include the option ``-Dtools=panfrost`` when configuring Mesa.
[all …]
/external/mesa3d/src/broadcom/drm-shim/
DREADME.md3 This implements the minimum of v3d in order to make shader-db work.
12 This implements the minimum of vc4 in order to make shader-db work.
/external/mesa3d/docs/
Denvvars.rst6 but they can sometimes be useful for debugging end-user issues.
9 ---------------------------
18 colon-separated list of paths to search for DRI drivers
42 -------------------------------
57 following comma-separated list of named flags, which adds extra
87 ``GL_EXT_foo -GL_EXT_bar`` will enable the ``GL_EXT_foo`` extension
95 or before year X will be reported. This is to work-around a bug in
96 some games where the extension string is copied into a fixed-size
98 buffer overrun can cause the game to crash. This is a work-around for
106 - The format should be ``MAJOR.MINOR[FC|COMPAT]``
[all …]
Dshading.rst10 ---------------------
12 The **MESA_GLSL** environment variable can be set to a comma-separated
13 list of keywords to control some aspects of the GLSL compiler and shader
16 - **dump** - print GLSL shader code, IR, and NIR to stdout at link time
17 - **source** - print GLSL shader code to stdout at link time
18 - **log** - log all GLSL shaders to files. The filenames will be
19 "shader_X.vert" or "shader_X.frag" where X the shader ID.
20 - **cache_info** - print debug information about shader cache
21 - **cache_fb** - force cached shaders to be ignored and do a full
23 - **uniform** - print message to stdout when glUniform is called
[all …]
/external/mesa3d/src/amd/common/
Dgfx10_format_table.py4 # SPDX-License-Identifier: MIT
23 # ----------------------------------------------------------------------------
24 # Hard-coded mappings
85 # ----------------------------------------------------------------------------
90 // DO NOT EDIT -- AUTOMATICALLY GENERATED
115 RE_plain_channel = re.compile(r'X?([0-9]+)')
129 # Keep the bit sizes in little-endian order
172 # Shader-based work-around for 32-bit non-pure-integer
184 # Shader-based work-around for 32-bit non-pure-integer
196 # Shader-based work-around for doubles
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_indirect_gen.c2 * SPDX-License-Identifier: MIT
44 #include "drm-uapi/i915_drm.h"
83 screen->brw->nir_options[MESA_SHADER_KERNEL]; in load_shader_lib()
85 screen->elk->nir_options[MESA_SHADER_KERNEL]; in load_shader_lib()
117 screen->vtbl.load_shader_lib = load_shader_lib; in genX()
118 screen->vtbl.call_generation_shader = iris_call_generation_shader; in genX()
122 * Stream out temporary/short-lived state.
125 * returned offset (which works because all state lives in 32-bit memory
136 u_upload_alloc(uploader, 0, size, alignment, &ref->offset, &ref->res, &p); in upload_state()
137 iris_use_pinned_bo(batch, iris_resource_bo(ref->res), false, IRIS_DOMAIN_NONE); in upload_state()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.c49 * The hardware cso for shader state
55 struct ir3_shader *shader; member
64 * The only case where util_debug_message() is used in the initial-variants
67 * compile the initial shader variant asynchronously.
72 return unlikely(ctx->debug.debug_message) || FD_DBG(SHADERDB) || in initial_variants_synchronous()
85 "%s shader: %u inst, %u nops, %u non-nops, %u mov, %u cov, " in dump_shader_info()
86 "%u dwords, %u last-baryf, %u last-helper, %u half, %u full, %u constlen, " in dump_shader_info()
90 ir3_shader_stage(v), v->info.instrs_count, v->info.nops_count, in dump_shader_info()
91 v->info.instrs_count - v->info.nops_count, v->info.mov_count, in dump_shader_info()
92 v->info.cov_count, v->info.sizedwords, v->info.last_baryf, in dump_shader_info()
[all …]
Dir3_cache.h37 * An in-memory cache for mapping shader state objects plus shader key to
38 * hw specific state object for the specified shader variant. This is to
39 * allow re-using things like the register setup for varying linkage, etc.
48 * not the compiled shader:
54 /* per-gen backend program state object should subclass this for it's
73 /* construct a shader cache. Free with ralloc_free() */
78 /* debug callback is used for shader-db logs in case the lookup triggers
79 * shader variant compilation.
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug_options.h4 OPT_BOOL(dump_shader_binary, false, "Dump shader binary as part of ddebug_dumps")
6 "Report shader disassembly as part of driver debug messages (for shader db)")
12 OPT_BOOL(vrs2x2, false, "Enable 2x2 coarse shading for non-GUI elements")
/external/crosvm/src/crosvm/sys/linux/
Dgpu.rs2 // Use of this source code is governed by a BSD-style license that can be
32 ) -> GpuCacheInfo<'a> { in get_gpu_cache_info()
39 warn!("shader caching dir {} does not exist", cache_dir); in get_gpu_cache_info()
40 // Deprecated in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 in get_gpu_cache_info()
45 warn!("shader caching not yet supported on ARM with sandbox enabled"); in get_gpu_cache_info()
46 // Deprecated in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 in get_gpu_cache_info()
53 // Deprecated in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 in get_gpu_cache_info()
71 // Deprecated in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 in get_gpu_cache_info()
93 ) -> DeviceResult { in create_gpu_device()
113 // - is_sandboxed implies that blob mapping will be done out-of-process by the crosvm in create_gpu_device()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
37 if (radeon_emitted(&ctx->b.dma.cs, 0)) in r600_need_cs_space()
38 ctx->b.dma.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in r600_need_cs_space()
40 if (!radeon_cs_memory_below_limit(ctx->b.screen, &ctx->b.gfx.cs, in r600_need_cs_space()
41 ctx->b.vram, ctx->b.gtt)) { in r600_need_cs_space()
42 ctx->b.gtt = 0; in r600_need_cs_space()
43 ctx->b.vram = 0; in r600_need_cs_space()
44 ctx->b.gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL); in r600_need_cs_space()
48 ctx->b.gtt = 0; in r600_need_cs_space()
49 ctx->b.vram = 0; in r600_need_cs_space()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.h37 #include "drm-uapi/vc4_drm.h"
118 /** A name for this program, so you can track it in shader-db output. */
120 /** How many variants of this program were compiled, for shader-db. */
127 * Array of the meanings of the VPM inputs this shader needs.
143 * VC4_DIRTY_* flags that, when set in vc4->dirty, mean that the
144 * uniforms have to be rewritten (and therefore the shader state
155 * failure. In this case, we have no shader to run and should not try
164 /* Byte offsets for the start of the vertex attributes 0-7, and the
196 /* Hash table key for vc4->jobs */
280 uint32_t clear_depth; /**< 24-bit unorm depth */
[all …]
/external/mesa3d/src/etnaviv/drm-shim/
DREADME.md3 This implements the minimum of etnaviv in order to make shader-db work.
13 - GC2000 (default)
14 - GC3000
15 - GC7000L
/external/mesa3d/src/freedreno/drm-shim/
DREADME.md3 This implements the minimum of msm in order to make shader-db work.
/external/mesa3d/src/compiler/glsl/glcpp/
Dpp.c35 parser->error = 1; in glcpp_error()
36 _mesa_string_buffer_printf(parser->info_log, in glcpp_error()
39 locp->source, in glcpp_error()
40 locp->first_line, in glcpp_error()
41 locp->first_column); in glcpp_error()
43 _mesa_string_buffer_vprintf(parser->info_log, fmt, ap); in glcpp_error()
45 _mesa_string_buffer_append_char(parser->info_log, '\n'); in glcpp_error()
53 _mesa_string_buffer_printf(parser->info_log, in glcpp_warning()
56 locp->source, in glcpp_warning()
57 locp->first_line, in glcpp_warning()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_simple_shader.c38 assert(state->cmd_buffer == NULL || in genX()
39 state->cmd_buffer->state.current_pipeline == _3D); in genX()
41 struct anv_batch *batch = state->batch; in genX()
42 struct anv_device *device = state->device; in genX()
44 brw_wm_prog_data_const(state->kernel->prog_data); in genX()
53 * Find more about how to set up a 3D pipeline with a fragment shader but in genX()
54 * without a vertex shader in blorp_emit_vertex_elements() in in genX()
110 genX(emit_l3_config)(batch, device, state->l3_config); in genX()
112 state->cmd_buffer->state.current_l3_config = state->l3_config; in genX()
115 genX(emit_urb_setup)(device, batch, state->l3_config, in genX()
[all …]
/external/mesa3d/src/util/
Dfossilize_db.c24 /* This is a basic c implementation of a fossilize db like format intended for
25 * use with the Mesa shader cache.
27 * The format is compatible enough to allow the fossilize db tools to be used
28 * to do things like merge db collections.
52 #include "mesa-sha1.h"
65 * makes collisions virtually impossible for our use case. However the foz db
76 shift--; in truncate_hash_to_64bits()
105 if (asprintf(filename, "%s/%s.foz", cache_path, name) == -1) in create_foz_db_filenames()
108 if (asprintf(idx_filename, "%s/%s_idx.foz", cache_path, name) == -1) { in create_foz_db_filenames()
152 if (offset + header->payload_size > len || in update_foz_index()
[all …]
/external/mesa3d/docs/relnotes/
D19.1.3.rst16 ----------------
20 845460b2225d15c15d4a9743dec798ff0b7396b533011d43e774e67f7825b7e0 mesa-19.1.3.tar.xz
23 ------------
28 ---------
30 - `Bug 109203 <https://bugs.freedesktop.org/show_bug.cgi?id=109203>`__
31 - [cfl dxvk] GPU Crash Launching Monopoly Plus (Iris Plus 655 / Wine
33 - `Bug 109524 <https://bugs.freedesktop.org/show_bug.cgi?id=109524>`__
34 - "Invalid glsl version in shading_language_version()" when trying to
36 - `Bug 110309 <https://bugs.freedesktop.org/show_bug.cgi?id=110309>`__
37 - [icl][bisected] regression on piglit arb_gpu_shader_int
[all …]

12345678