HomeSort by relevance Sort by last modified time
    Searched refs:swizzles (Results 1 - 25 of 40) sorted by null

1 2

  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_swizzle.h 83 * @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]);
lp_bld_swizzle.c 320 * 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[3] == PIPE_SWIZZLE_W)
    [all...]
lp_bld_sample.h 417 unsigned char swizzles[4]; local
419 swizzles[0] = bld->static_texture_state->swizzle_r;
420 swizzles[1] = bld->static_texture_state->swizzle_g;
421 swizzles[2] = bld->static_texture_state->swizzle_b;
422 swizzles[3] = bld->static_texture_state->swizzle_a;
424 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
lp_bld_tgsi_aos.c 63 * Wrapper around lp_build_swizzle_aos which translates swizzles to another
74 unsigned char swizzles[4]; local
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_w]
    [all...]
lp_bld_format_aos.c 70 unsigned char swizzles[4]; local
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
391 swizzles[i] = lp_build_const_int32(gallivm, j);
393 swizzles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
398 LLVMConstVector(swizzles, 4), "");
lp_bld_tgsi.h 240 const unsigned char swizzles[4],
536 * - swizzles[0] = red index
537 * - swizzles[1] = green index
538 * - swizzles[2] = blue index
539 * - swizzles[3] = alpha index
541 unsigned char swizzles[4]; member in struct:lp_build_tgsi_aos_context
lp_bld_tgsi_soa.c 1748 unsigned char swizzles[4]; local
2525 unsigned char swizzles[4]; local
2656 unsigned char swizzles[4]; local
    [all...]
  /external/mesa3d/src/amd/vulkan/
vk_format_table.py 99 def do_channel_array(channels, swizzles):
113 def do_swizzle_array(channels, swizzles):
116 swizzle = swizzles[i]
vk_format_parse.py 275 def _parse_channels(fields, layout, colorspace, swizzles):
280 swizzle = swizzles[i]
285 swizzle = swizzles[i]
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_sbe.h 79 const struct ilo_state_sbe_swizzle_info *swizzles; member in struct:ilo_state_sbe_info
ilo_state_sbe.c 155 &info->swizzles[i];
281 const struct ilo_state_sbe_swizzle_info *swizzle = &info->swizzles[i];
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_wm_surface_state.c 301 int swizzles[SWIZZLE_NIL + 1] = { local
327 swizzles[0] = SWIZZLE_ZERO;
328 swizzles[1] = SWIZZLE_ZERO;
329 swizzles[2] = SWIZZLE_ZERO;
330 swizzles[3] = SWIZZLE_X;
333 swizzles[0] = SWIZZLE_X;
334 swizzles[1] = SWIZZLE_X;
335 swizzles[2] = SWIZZLE_X;
336 swizzles[3] = SWIZZLE_ONE;
339 swizzles[0] = SWIZZLE_X
    [all...]
brw_wm.c 245 old_key->swizzles[i], key->swizzles[i]);
307 key->swizzles[s] = SWIZZLE_NOOP;
325 key->swizzles[s] = brw_get_texture_swizzle(ctx, t);
353 brw->is_haswell ? t->_Swizzle : key->swizzles[s];
357 key->swizzles[i] &= ~(0x7 << (3 * i));
358 key->swizzles[i] |= SWIZZLE_ONE << (3 * i);
brw_nir.c 683 if (key_tex->swizzles[s] == SWIZZLE_NOOP)
688 tex_options.swizzles[s][c] = GET_SWZ(key_tex->swizzles[s], c);
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_pack.py 43 def inv_swizzles(swizzles):
48 swizzle = swizzles[i]
68 def generate_bitfields(channels, swizzles):
87 def generate_full_fields(channels, swizzles):
446 def unpack_from_bitmask(channels, swizzles):
487 swizzle = swizzles[i]
509 def unpack_from_union(channels, swizzles):
514 swizzle = swizzles[i]
551 def pack_into_bitmask(channels, swizzles):
552 inv_swizzle = inv_swizzles(swizzles)
    [all...]
u_format_table.py 97 def do_channel_array(channels, swizzles):
111 def do_swizzle_array(channels, swizzles):
114 swizzle = swizzles[i]
u_format_parse.py 267 def _parse_channels(fields, layout, colorspace, swizzles):
272 swizzle = swizzles[i]
277 swizzle = swizzles[i]
  /external/mesa3d/src/gallium/drivers/ilo/shader/
ilo_shader_vs.c 575 int swizzles[4], i; local
607 swizzles[0] = vcc->variant->sampler_view_swizzles[sampler_index].r;
608 swizzles[1] = vcc->variant->sampler_view_swizzles[sampler_index].g;
609 swizzles[2] = vcc->variant->sampler_view_swizzles[sampler_index].b;
610 swizzles[3] = vcc->variant->sampler_view_swizzles[sampler_index].a;
613 swizzles[0] = PIPE_SWIZZLE_X;
614 swizzles[1] = PIPE_SWIZZLE_Y;
615 swizzles[2] = PIPE_SWIZZLE_Z;
616 swizzles[3] = PIPE_SWIZZLE_W;
623 switch (swizzles[i])
    [all...]
ilo_shader_fs.c 1104 int swizzles[4], i; local
    [all...]
  /external/deqp/modules/gles2/performance/
es2pTextureCases.cpp 163 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), local
165 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)];
  /external/deqp/modules/gles3/performance/
es3pTextureCases.cpp 189 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), local
191 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)];
  /external/mesa3d/src/compiler/nir/
nir_lower_vec_to_movs.c 174 /* Stash off all of the ALU instruction's swizzles. */
175 uint8_t swizzles[4][4]; local
178 swizzles[j][i] = src_alu->src[j].swizzle[i];
199 src_alu->src[j].swizzle[i] = swizzles[j][vec->src[i].swizzle[0]];
  /external/deqp/modules/gles3/functional/
es3fTextureSwizzleTests.cpp 269 } swizzles[] = local
301 // All swizzles applied to each channel.
306 for (int swzNdx = 0; swzNdx < DE_LENGTH_OF_ARRAY(swizzles); swzNdx++)
308 if (swizzles[swzNdx].swizzle == defaultSwizzles[chanNdx])
311 string name = string(channels[chanNdx].name) + "_" + swizzles[swzNdx].name;
312 deUint32 swz = swizzles[swzNdx].swizzle;
322 // Swizzles for all formats.
es3fFramebufferBlitTests.cpp     [all...]
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_shader.c 1115 struct ilo_state_sbe_swizzle_info swizzles[ILO_STATE_SBE_MAX_SWIZZLE_COUNT]; local
    [all...]

Completed in 325 milliseconds

1 2