Home
last modified time | relevance | path

Searched refs:remap (Results 1 – 25 of 230) sorted by relevance

12345678910

/third_party/glslang/StandAlone/
DCMakeLists.txt95 set(REMAPPER_SOURCES spirv-remap.cpp)
96 add_executable(spirv-remap ${REMAPPER_SOURCES})
97 set_property(TARGET spirv-remap PROPERTY FOLDER tools)
98 glslang_set_link_args(spirv-remap)
99 target_link_libraries(spirv-remap ${LIBRARIES})
122 install(TARGETS spirv-remap EXPORT glslang-targets)
128 if (NOT TARGET glslang::spirv-remap)
132 add_library(spirv-remap ALIAS glslang::spirv-remap)
/third_party/glslang/
DREADME-spirv-remap.txt4 spirv-remap 0.97
8 spirv-remap is a utility to improve compression of SPIR-V binary files via
25 spirv-remap is currently in an alpha state. Although there are no known
51 spirv-remap -v --map all --input *.spv --output /tmp/out_dir
55 spirv-remap-linux-64 -v --do-everything --input *.spv --output /tmp/out_dir
74 // remap an existing binary in memory
75 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
90 remap() accepts an std::vector of SPIR-V words, modifies them per the
95 The "opts" parameter to remap() accepts a bit mask of desired remapping
/third_party/ltp/testcases/kernel/mem/vma/
Dvma03.c73 void *map, *remap; in main() local
102 remap = mremap(map, pgsz, 2 * pgsz, 0); in main()
103 if (remap == MAP_FAILED) { in main()
111 munmap(remap, 2 * pgsz); in main()
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dmemory.txt407 dEQP-VK.memory.mapping.suballocation.full.33.remap
417 dEQP-VK.memory.mapping.suballocation.full.257.remap
427 dEQP-VK.memory.mapping.suballocation.full.4087.remap
437 dEQP-VK.memory.mapping.suballocation.full.8095.remap
447 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
457 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
467 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
477 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
487 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
497 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Dmemory.txt406 dEQP-VK.memory.mapping.suballocation.full.33.remap
416 dEQP-VK.memory.mapping.suballocation.full.257.remap
426 dEQP-VK.memory.mapping.suballocation.full.4087.remap
436 dEQP-VK.memory.mapping.suballocation.full.8095.remap
446 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
456 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
466 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
476 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
486 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
496 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Dmemory.txt407 dEQP-VK.memory.mapping.suballocation.full.33.remap
417 dEQP-VK.memory.mapping.suballocation.full.257.remap
427 dEQP-VK.memory.mapping.suballocation.full.4087.remap
437 dEQP-VK.memory.mapping.suballocation.full.8095.remap
447 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
457 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
467 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
477 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
487 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
497 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/android/cts/main/vk-master-2019-03-01/
Dmemory.txt143 dEQP-VK.memory.mapping.suballocation.full.33.remap
153 dEQP-VK.memory.mapping.suballocation.full.257.remap
163 dEQP-VK.memory.mapping.suballocation.full.4087.remap
173 dEQP-VK.memory.mapping.suballocation.full.8095.remap
183 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
193 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
203 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
213 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
223 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
233 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master/
Dmemory.txt407 dEQP-VK.memory.mapping.suballocation.full.33.remap
417 dEQP-VK.memory.mapping.suballocation.full.257.remap
427 dEQP-VK.memory.mapping.suballocation.full.4087.remap
437 dEQP-VK.memory.mapping.suballocation.full.8095.remap
447 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
457 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
467 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
477 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
487 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
497 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/android/cts/main/vk-master/
Dmemory.txt386 dEQP-VK.memory.mapping.suballocation.full.33.remap
396 dEQP-VK.memory.mapping.suballocation.full.257.remap
406 dEQP-VK.memory.mapping.suballocation.full.4087.remap
416 dEQP-VK.memory.mapping.suballocation.full.8095.remap
426 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
436 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
446 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
456 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
466 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
476 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/vk-gl-cts/external/vulkancts/mustpass/main/vk-default/
Dmemory.txt386 dEQP-VK.memory.mapping.suballocation.full.33.remap
396 dEQP-VK.memory.mapping.suballocation.full.257.remap
406 dEQP-VK.memory.mapping.suballocation.full.4087.remap
416 dEQP-VK.memory.mapping.suballocation.full.8095.remap
426 dEQP-VK.memory.mapping.suballocation.full.1048577.remap
436 dEQP-VK.memory.mapping.suballocation.sub.33.offset_0.size_31.remap
446 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_31.remap
456 dEQP-VK.memory.mapping.suballocation.sub.257.offset_0.size_255.remap
466 dEQP-VK.memory.mapping.suballocation.sub.257.offset_17.size_31.remap
476 dEQP-VK.memory.mapping.suballocation.sub.257.offset_129.size_31.remap
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c103 uint64_t remap = 0; in build_view_index() local
107 remap |= (uint64_t)bit << (i++ * 4); in build_view_index()
116 if (remap <= UINT32_MAX) { in build_view_index()
117 shifted = nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
120 nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index()
122 nir_ushr(b, nir_imm_int(b, remap >> 32), in build_view_index()
/third_party/skia/third_party/externals/spirv-cross/
Dmain.cpp961 … bool remap_generic(Compiler &compiler, const SmallVector<Resource> &resources, const Remap &remap) in remap_generic() argument
964 …find_if(begin(resources), end(resources), [&remap](const Resource &res) { return res.name == remap in remap_generic()
969 compiler.set_name(itr->id, remap.dst_name); in remap_generic()
970 compiler.set_subpass_input_remapped_components(itr->id, remap.components); in remap_generic()
1171 for (const VariableTypeRemap &remap : args.variable_type_remaps) in compile_iteration() local
1172 if (name == remap.variable_name) in compile_iteration()
1173 out = remap.new_variable_type; in compile_iteration()
1368 for (auto &remap : args.remaps) in compile_iteration() local
1370 if (remap_generic(*compiler, res.stage_inputs, remap)) in compile_iteration()
1372 if (remap_generic(*compiler, res.stage_outputs, remap)) in compile_iteration()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_branches.c282 struct remap_output_data remap; in fix_output_writes() local
285 remap.Output = inst->U.I.DstReg.Index; in fix_output_writes()
286 remap.Temporary = rc_find_free_temporary(s->C); in fix_output_writes()
291 rc_remap_registers(inst, &remap_output_function, &remap); in fix_output_writes()
297 inst_mov->U.I.DstReg.Index = remap.Output; in fix_output_writes()
300 inst_mov->U.I.SrcReg[0].Index = remap.Temporary; in fix_output_writes()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
Dindic.pl303 foreach my $remap (@REMAP) { $REMAP{$remap} = 0; }
519 foreach my $remap (sort keys %REMAP) {
520 print STDERR "REMAP ", $REMAP{$remap}, " x $remap\n";
/third_party/ffmpeg/libavcodec/
Dmsvideo1enc.c63 static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 }; variable
103 c->block2[remap[i + j*4]*3 + k] = (val >> (10-k*5)) & 0x1F; in encode_frame()
178 … int t = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3+k] - c->block[i*3+k + j*4*3]; in encode_frame()
222 flags |= (c->output2[remap[i + j*4]]^1) << (i + j*4); in encode_frame()
224 …prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)… in encode_frame()
Ddv.c78 static const uint8_t remap[][2] = { in dv_calc_mb_coordinates() local
129 x = remap[y][0] + ((x - 80) << (y > 59)); in dv_calc_mb_coordinates()
130 y = remap[y][1]; in dv_calc_mb_coordinates()
/third_party/alsa-lib/src/control/
Dcontrol_remap.c92 snd_ctl_remap_id_t *remap; member
179 rid = priv->remap; in remap_find_id_child()
184 rid = priv->remap; in remap_find_id_child()
197 rid = priv->remap; in remap_find_id_app()
202 rid = priv->remap; in remap_find_id_app()
304 free(priv->remap); in remap_free()
913 rid = realloc(priv->remap, (priv->remap_alloc + 16) * sizeof(*rid)); in add_to_remap()
918 priv->remap = rid; in add_to_remap()
920 rid = &priv->remap[priv->remap_items++]; in add_to_remap()
1150 int snd_ctl_remap_open(snd_ctl_t **handlep, const char *name, snd_config_t *remap, in snd_ctl_remap_open() argument
[all …]
/third_party/glslang/SPIRV/
DSPVRemapper.h87 void remap(std::vector<std::uint32_t>& /*spv*/, unsigned int /*opts = 0*/) in remap() function
121 void remap(std::vector<std::uint32_t>& spv, const std::vector<std::string>& whiteListStrings,
125 void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
145 void remap(std::uint32_t opts = DO_EVERYTHING);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DToposortStructs.cpp43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl()
226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure()
266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) in visitBinary()
287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
/third_party/mesa3d/src/mesa/program/
Dprogram.c425 unsigned *remap = malloc(num_state_params * sizeof(unsigned)); in _mesa_add_separate_state_parameters() local
431 remap[old_index] = in _mesa_add_separate_state_parameters()
454 inst->SrcReg[j].Index = remap[inst->SrcReg[j].Index]; in _mesa_add_separate_state_parameters()
457 free(remap); in _mesa_add_separate_state_parameters()
/third_party/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c399 struct varying_loc (*remap)[4], in remap_slots_and_components()
428 struct varying_loc *new_loc = &remap[location][var->data.location_frac]; in remap_slots_and_components()
765 assign_remap_locations(struct varying_loc (*remap)[4], in assign_remap_locations()
840 remap[location][info->var->data.location_frac].component = tmp_comp++; in assign_remap_locations()
841 remap[location][info->var->data.location_frac].location = in assign_remap_locations()
860 struct varying_loc remap[MAX_VARYINGS_INCL_PATCH][4] = {{{0}, {0}}}; in compact_components() local
893 assign_remap_locations(remap, assigned_comps, info, in compact_components()
897 assign_remap_locations(remap, assigned_comps, info, in compact_components()
911 assign_remap_locations(remap, assigned_comps, info, in compact_components()
922 remap_slots_and_components(consumer, nir_var_shader_in, remap, in compact_components()
[all …]
/third_party/glslang/Test/
Druntests11 REMAPEXE=${3:-../build/install/bin/spirv-remap}
241 $REMAPEXE --do-everything -i remap.invalid-spirv-1.spv -o $TARGETDIR > $TARGETDIR/remap.invalid-spi…
242 diff -b $BASEDIR/remap.invalid-spirv-1.out $TARGETDIR/remap.invalid-spirv-1.out || HASERROR=1
243 $REMAPEXE --do-everything -i remap.invalid-spirv-2.spv -o $TARGETDIR > $TARGETDIR/remap.invalid-spi…
244 diff -b $BASEDIR/remap.invalid-spirv-2.out $TARGETDIR/remap.invalid-spirv-2.out || HASERROR=1
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_packer.c.py250 for ((src_a, src_b), cond, remap) in st[1].get("swaps", []):
271 for v in remap:
272 maps = remap[v]
Dbi_ra.c712 bi_index *remap = calloc(ctx->ssa_alloc, sizeof(bi_index)); in bi_lower_vector() local
729 remap[I->dest[i].value] = src; in bi_lower_vector()
752 if (bi_is_ssa(I->src[s]) && !bi_is_null(remap[I->src[s].value])) in bi_lower_vector()
753 I->src[s] = bi_replace_index(I->src[s], remap[I->src[s].value]); in bi_lower_vector()
757 free(remap); in bi_lower_vector()
/third_party/glslang/Test/baseResults/
Dremap.literal64.everything.spv.out1 remap.literal64.everything.spv

12345678910