/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]];
|
nir.h | 2457 uint8_t swizzles[32][4]; member in struct:nir_lower_tex_options [all...] |
/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
|
/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/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.
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
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_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.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/gallium/drivers/ilo/ |
ilo_shader.c | 1115 struct ilo_state_sbe_swizzle_info swizzles[ILO_STATE_SBE_MAX_SWIZZLE_COUNT]; local [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
ilo_shader_fs.c | 1104 int swizzles[4], i; local [all...] |
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...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_setup.c | 138 const unsigned char swizzles[4] = { PIPE_SWIZZLE_X, PIPE_SWIZZLE_0, local 152 a0 = lp_build_swizzle_aos(&args->bld, face_val, swizzles); [all...] |
lp_state_fs.c | 752 unsigned char swizzles[16]; local 757 swizzles[i] = i % dst_channels + (i / dst_channels) * 4; 759 swizzles[i] = LP_BLD_SWIZZLE_DONTCARE; 763 dst[i] = lp_build_swizzle_aos_n(gallivm, dst[i], swizzles, type.length, type.length); [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_shader_tgsi_setup.c | 371 LLVMValueRef swizzles[4]; local 375 swizzles[0] = LLVMConstInt(i32t, swizzle_x, 0); 376 swizzles[1] = LLVMConstInt(i32t, swizzle_y, 0); 377 swizzles[2] = LLVMConstInt(i32t, swizzle_z, 0); 378 swizzles[3] = LLVMConstInt(i32t, swizzle_w, 0); 383 LLVMConstVector(swizzles, 4), ""); [all...] |
/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_compiler.h | 136 * EXT_texture_swizzle and DEPTH_TEXTURE_MODE swizzles. 138 uint16_t swizzles[MAX_SAMPLERS]; member in struct:brw_sampler_prog_key_data 314 * swizzles can be specified and will be applied one after the other. The 320 * Use \c 0xff if any of the swizzles is not required. 741 * swizzles that should be used when streaming out data through that
|
/external/mesa3d/src/mesa/program/ |
ir_to_mesa.cpp | 95 GLuint swizzle; /**< SWIZZLE_XYZWONEZERO swizzles from Mesa. */ 1788 int swizzles[4]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_exec.c | 2622 unsigned char swizzles[4]; local 2686 unsigned char swizzles[4]; local 2815 unsigned char swizzles[4]; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_glsl_to_tgsi.cpp | 169 uint16_t swizzle; /**< SWIZZLE_XYZWONEZERO swizzles from Mesa. */ 325 * swizzles where each double is a single component, i.e. for 64-bit types 776 /* copy out the writemask, index and swizzles for all src/dsts. */ 2974 int swizzles[4]; local [all...] |