Searched refs:swizzles (Results 1 - 25 of 102) sorted by relevance

12345

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.h83 * @param swizzles is the in [0,4[ range.
88 const unsigned char swizzles[4]);
94 const unsigned char* swizzles,
108 const unsigned char swizzles[4],
115 const unsigned char swizzles[4]);
H A Dlp_bld_swizzle.c320 * e.g. with swizzles = { 2, 1, 0 } and swizzle_count = 6 results in
323 * @param swizzles the swizzle array
324 * @param num_swizzles the number of elements in swizzles
330 const unsigned char* swizzles,
341 int swizzle = swizzles[i % num_swizzles];
357 const unsigned char swizzles[4])
364 if (swizzles[0] == PIPE_SWIZZLE_X &&
365 swizzles[1] == PIPE_SWIZZLE_Y &&
366 swizzles[2] == PIPE_SWIZZLE_Z &&
367 swizzles[
328 lp_build_swizzle_aos_n(struct gallivm_state * gallivm,LLVMValueRef src,const unsigned char * swizzles,unsigned num_swizzles,unsigned dst_len) argument
355 lp_build_swizzle_aos(struct lp_build_context * bld,LLVMValueRef a,const unsigned char swizzles[4]) argument
602 lp_build_swizzle_soa(struct lp_build_context * bld,const LLVMValueRef * unswizzled,const unsigned char swizzles[4],LLVMValueRef * swizzled) argument
624 lp_build_swizzle_soa_inplace(struct lp_build_context * bld,LLVMValueRef * values,const unsigned char swizzles[4]) argument
[all...]
H A Dlp_bld_sample.h423 unsigned char swizzles[4]; local in function:apply_sampler_swizzle
425 swizzles[0] = bld->static_texture_state->swizzle_r;
426 swizzles[1] = bld->static_texture_state->swizzle_g;
427 swizzles[2] = bld->static_texture_state->swizzle_b;
428 swizzles[3] = bld->static_texture_state->swizzle_a;
430 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
H A Dlp_bld_tgsi_aos.c63 * Wrapper around lp_build_swizzle_aos which translates swizzles to another
74 unsigned char swizzles[4]; local in function:swizzle_aos
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x];
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y];
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z];
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_
858 lp_build_tgsi_aos(struct gallivm_state * gallivm,const struct tgsi_token * tokens,struct lp_type type,const unsigned char swizzles[4],LLVMValueRef consts_ptr,const LLVMValueRef * inputs,LLVMValueRef * outputs,const struct lp_build_sampler_aos * sampler,const struct tgsi_shader_info * info) argument
[all...]
H A Dlp_bld_format_aos.c70 unsigned char swizzles[4]; local in function:lp_build_format_swizzle_aos
92 swizzles[chan] = swizzle;
95 return lp_build_swizzle_aos(bld, unswizzled, swizzles);
100 * Whether the format matches the vector type, apart of swizzles.
371 LLVMValueRef swizzles[4]; local in function:lp_build_pack_rgba_aos
391 swizzles[i] = lp_build_const_int32(gallivm, j);
393 swizzles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
398 LLVMConstVector(swizzles, 4), "");
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.h83 * @param swizzles is the in [0,4[ range.
88 const unsigned char swizzles[4]);
94 const unsigned char* swizzles,
108 const unsigned char swizzles[4],
115 const unsigned char swizzles[4]);
H A Dlp_bld_swizzle.c321 * e.g. with swizzles = { 2, 1, 0 } and swizzle_count = 6 results in
324 * @param swizzles the swizzle array
325 * @param num_swizzles the number of elements in swizzles
331 const unsigned char* swizzles,
342 int swizzle = swizzles[i % num_swizzles];
358 const unsigned char swizzles[4])
365 if (swizzles[0] == PIPE_SWIZZLE_X &&
366 swizzles[1] == PIPE_SWIZZLE_Y &&
367 swizzles[2] == PIPE_SWIZZLE_Z &&
368 swizzles[
329 lp_build_swizzle_aos_n(struct gallivm_state * gallivm,LLVMValueRef src,const unsigned char * swizzles,unsigned num_swizzles,unsigned dst_len) argument
356 lp_build_swizzle_aos(struct lp_build_context * bld,LLVMValueRef a,const unsigned char swizzles[4]) argument
605 lp_build_swizzle_soa(struct lp_build_context * bld,const LLVMValueRef * unswizzled,const unsigned char swizzles[4],LLVMValueRef * swizzled) argument
627 lp_build_swizzle_soa_inplace(struct lp_build_context * bld,LLVMValueRef * values,const unsigned char swizzles[4]) argument
[all...]
H A Dlp_bld_tgsi_aos.c63 * Wrapper around lp_build_swizzle_aos which translates swizzles to another
74 unsigned char swizzles[4]; local in function:swizzle_aos
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x];
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y];
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z];
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_
858 lp_build_tgsi_aos(struct gallivm_state * gallivm,const struct tgsi_token * tokens,struct lp_type type,const unsigned char swizzles[4],LLVMValueRef consts_ptr,const LLVMValueRef * inputs,LLVMValueRef * outputs,const struct lp_build_sampler_aos * sampler,const struct tgsi_shader_info * info) argument
[all...]
H A Dlp_bld_sample.h501 unsigned char swizzles[4]; local in function:apply_sampler_swizzle
503 swizzles[0] = bld->static_texture_state->swizzle_r;
504 swizzles[1] = bld->static_texture_state->swizzle_g;
505 swizzles[2] = bld->static_texture_state->swizzle_b;
506 swizzles[3] = bld->static_texture_state->swizzle_a;
508 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_formats.c363 info.swizzles[0] = PIPE_SWIZZLE_X;
364 info.swizzles[1] = PIPE_SWIZZLE_X;
365 info.swizzles[2] = PIPE_SWIZZLE_X;
366 info.swizzles[3] = PIPE_SWIZZLE_X;
368 info.swizzles[0] = PIPE_SWIZZLE_X;
369 info.swizzles[1] = PIPE_SWIZZLE_X;
370 info.swizzles[2] = PIPE_SWIZZLE_X;
371 info.swizzles[3] = PIPE_SWIZZLE_1;
373 info.swizzles[0] = PIPE_SWIZZLE_X;
374 info.swizzles[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dvk_format_table.py99 def do_channel_array(channels, swizzles):
113 def do_swizzle_array(channels, swizzles):
116 swizzle = swizzles[i]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dvk_format_table.py99 def do_channel_array(channels, swizzles):
113 def do_swizzle_array(channels, swizzles):
116 swizzle = swizzles[i]
H A Dradv_nir_lower_ycbcr_textures.c314 enum vk_swizzle swizzles[4]; local in function:build_swizzled_components
317 vk_format_compose_swizzles(&mapping, (const unsigned char[4]){0,1,2,3}, swizzles);
323 switch(swizzles[i]) {
328 unsigned channel = swizzles[i] - VK_SWIZZLE_X;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_wm_surface_state.c332 int swizzles[SWIZZLE_NIL + 1] = { local in function:brw_get_texture_swizzle
358 swizzles[0] = SWIZZLE_ZERO;
359 swizzles[1] = SWIZZLE_ZERO;
360 swizzles[2] = SWIZZLE_ZERO;
361 swizzles[3] = SWIZZLE_X;
364 swizzles[0] = SWIZZLE_X;
365 swizzles[1] = SWIZZLE_X;
366 swizzles[2] = SWIZZLE_X;
367 swizzles[3] = SWIZZLE_ONE;
370 swizzles[
[all...]
H A Dbrw_wm.c201 key->swizzles[s] = SWIZZLE_NOOP;
220 key->swizzles[s] = brw_get_texture_swizzle(ctx, t);
248 devinfo->is_haswell ? t->_Swizzle : key->swizzles[s];
252 key->swizzles[i] &= ~(0x7 << (3 * i));
253 key->swizzles[i] |= SWIZZLE_ONE << (3 * i);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_wm_surface_state.c329 int swizzles[SWIZZLE_NIL + 1] = { local in function:brw_get_texture_swizzle
355 swizzles[0] = SWIZZLE_ZERO;
356 swizzles[1] = SWIZZLE_ZERO;
357 swizzles[2] = SWIZZLE_ZERO;
358 swizzles[3] = SWIZZLE_X;
361 swizzles[0] = SWIZZLE_X;
362 swizzles[1] = SWIZZLE_X;
363 swizzles[2] = SWIZZLE_X;
364 swizzles[3] = SWIZZLE_ONE;
367 swizzles[
[all...]
H A Dbrw_wm.c212 key->swizzles[s] = SWIZZLE_NOOP;
231 key->swizzles[s] = brw_get_texture_swizzle(ctx, t);
259 devinfo->is_haswell ? t->Attrib._Swizzle : key->swizzles[s];
263 key->swizzles[i] &= ~(0x7 << (3 * i));
264 key->swizzles[i] |= SWIZZLE_ONE << (3 * i);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format_pack.py53 def inv_swizzles(swizzles):
58 swizzle = swizzles[i]
78 def generate_bitfields(channels, swizzles):
97 def generate_full_fields(channels, swizzles):
456 def unpack_from_bitmask(channels, swizzles):
497 swizzle = swizzles[i]
519 def unpack_from_union(channels, swizzles):
524 swizzle = swizzles[i]
561 def pack_into_bitmask(channels, swizzles):
562 inv_swizzle = inv_swizzles(swizzles)
[all...]
H A Du_format_table.py98 def do_channel_array(channels, swizzles):
112 def do_swizzle_array(channels, swizzles):
115 swizzle = swizzles[i]
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format_pack.py43 def inv_swizzles(swizzles):
48 swizzle = swizzles[i]
74 def generate_bitfields(channels, swizzles):
93 def generate_full_fields(channels, swizzles):
442 def unpack_from_bitmask(channels, swizzles):
474 swizzle = swizzles[i]
496 def unpack_from_struct(channels, swizzles):
501 swizzle = swizzles[i]
538 def pack_into_bitmask(channels, swizzles):
539 inv_swizzle = inv_swizzles(swizzles)
[all...]
H A Du_format_table.py144 def do_channel_array(channels, swizzles):
158 def do_swizzle_array(channels, swizzles):
161 swizzle = swizzles[i]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c188 enum pipe_swizzle swizzles[4]; local in function:build_swizzled_components
191 vk_format_compose_swizzles(&mapping, (const unsigned char[4]){0, 1, 2, 3}, swizzles);
197 switch (swizzles[i]) {
202 unsigned channel = swizzles[i] - PIPE_SWIZZLE_X;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_vec_to_movs.c174 /* Stash off all of the ALU instruction's swizzles. */
175 uint8_t swizzles[4][4]; local in function:try_coalesce
178 swizzles[j][i] = src_alu->src[j].swizzle[i];
199 src_alu->src[j].swizzle[i] = swizzles[j][vec->src[i].swizzle[0]];
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_vec_to_movs.c186 /* Stash off all of the ALU instruction's swizzles. */
187 uint8_t swizzles[4][4]; local in function:try_coalesce
190 swizzles[j][i] = src_alu->src[j].swizzle[i];
223 src_alu->src[j].swizzle[i] = swizzles[j][vec->src[i].swizzle[0]];
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D10.6.4.rst94 - glsl: Fix a bug where LHS swizzles of swizzles were too small.

Completed in 20 milliseconds

12345