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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
r300_fragprog_swizzle.h 35 unsigned int r300FPTranslateRGBSwizzle(unsigned int src, unsigned int swizzle);
36 unsigned int r300FPTranslateAlphaSwizzle(unsigned int src, unsigned int swizzle);
37 int r300_swizzle_is_native_basic(unsigned int swizzle);
radeon_compiler_util.h 28 unsigned swizzle_mask(unsigned swizzle, unsigned mask);
43 unsigned int swizzle,
46 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
58 unsigned int rc_source_type_swz(unsigned int swizzle);
97 unsigned int swizzle,
101 unsigned int rc_get_scalar_src_swz(unsigned int swizzle);
r300_fragprog_swizzle.c 44 unsigned int hash; /**< swizzle value this matches */
45 unsigned int base; /**< base value for hw swizzle */
67 * Find a native RGB swizzle that matches the given swizzle.
70 static const struct swizzle_data* lookup_native_swizzle(unsigned int swizzle)
77 unsigned int swz = GET_SWZ(swizzle, comp);
91 * Determines if the given swizzle is valid for r300/r400. In most situations
95 int r300_swizzle_is_native_basic(unsigned int swizzle)
97 if(lookup_native_swizzle(swizzle))
104 * Check whether the given instruction supports the swizzle and negat
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
r300_fragprog_swizzle.h 35 unsigned int r300FPTranslateRGBSwizzle(unsigned int src, unsigned int swizzle);
36 unsigned int r300FPTranslateAlphaSwizzle(unsigned int src, unsigned int swizzle);
37 int r300_swizzle_is_native_basic(unsigned int swizzle);
radeon_compiler_util.h 28 unsigned swizzle_mask(unsigned swizzle, unsigned mask);
43 unsigned int swizzle,
46 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
58 unsigned int rc_source_type_swz(unsigned int swizzle);
97 unsigned int swizzle,
101 unsigned int rc_get_scalar_src_swz(unsigned int swizzle);
r300_fragprog_swizzle.c 44 unsigned int hash; /**< swizzle value this matches */
45 unsigned int base; /**< base value for hw swizzle */
67 * Find a native RGB swizzle that matches the given swizzle.
70 static const struct swizzle_data* lookup_native_swizzle(unsigned int swizzle)
77 unsigned int swz = GET_SWZ(swizzle, comp);
91 * Determines if the given swizzle is valid for r300/r400. In most situations
95 int r300_swizzle_is_native_basic(unsigned int swizzle)
97 if(lookup_native_swizzle(swizzle))
104 * Check whether the given instruction supports the swizzle and negat
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrTextureAccess.cpp 30 const char* swizzle,
32 this->reset(texture, swizzle, params);
36 const char* swizzle,
39 this->reset(texture, swizzle, filterMode, tileXAndY);
43 const char* swizzle,
46 GrAssert(strlen(swizzle) >= 1 && strlen(swizzle) <= 4);
50 this->setSwizzle(swizzle);
54 const char* swizzle,
58 GrAssert(strlen(swizzle) >= 1 && strlen(swizzle) <= 4)
    [all...]
  /external/skia/src/gpu/
GrTextureAccess.cpp 30 const char* swizzle,
32 this->reset(texture, swizzle, params);
36 const char* swizzle,
39 this->reset(texture, swizzle, filterMode, tileXAndY);
43 const char* swizzle,
46 GrAssert(strlen(swizzle) >= 1 && strlen(swizzle) <= 4);
50 this->setSwizzle(swizzle);
54 const char* swizzle,
58 GrAssert(strlen(swizzle) >= 1 && strlen(swizzle) <= 4)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glsl/
ir_builder.cpp 67 swizzle(operand a, int swizzle, int components) function in namespace:ir_builder
72 GET_SWZ(swizzle, 0),
73 GET_SWZ(swizzle, 1),
74 GET_SWZ(swizzle, 2),
75 GET_SWZ(swizzle, 3),
97 return swizzle(a, SWIZZLE_XXXX, 4);
103 return swizzle(a, SWIZZLE_YYYY, 4);
109 return swizzle(a, SWIZZLE_ZZZZ, 4);
115 return swizzle(a, SWIZZLE_WWWW, 4)
    [all...]
opt_copy_propagation_elements.cpp 57 acp_entry(ir_variable *lhs, ir_variable *rhs, int write_mask, int swizzle[4])
62 memcpy(this->swizzle, swizzle, sizeof(this->swizzle));
70 memcpy(this->swizzle, a->swizzle, sizeof(this->swizzle));
76 int swizzle[4]; member in class:__anon14991::acp_entry
192 * visiting the swizzle itself.
216 ir_swizzle *swizzle = (*ir)->as_swizzle()
434 int swizzle[4]; local
    [all...]
  /external/mesa3d/src/glsl/
ir_builder.cpp 67 swizzle(operand a, int swizzle, int components) function in namespace:ir_builder
72 GET_SWZ(swizzle, 0),
73 GET_SWZ(swizzle, 1),
74 GET_SWZ(swizzle, 2),
75 GET_SWZ(swizzle, 3),
97 return swizzle(a, SWIZZLE_XXXX, 4);
103 return swizzle(a, SWIZZLE_YYYY, 4);
109 return swizzle(a, SWIZZLE_ZZZZ, 4);
115 return swizzle(a, SWIZZLE_WWWW, 4)
    [all...]
opt_copy_propagation_elements.cpp 57 acp_entry(ir_variable *lhs, ir_variable *rhs, int write_mask, int swizzle[4])
62 memcpy(this->swizzle, swizzle, sizeof(this->swizzle));
70 memcpy(this->swizzle, a->swizzle, sizeof(this->swizzle));
76 int swizzle[4]; member in class:__anon25333::acp_entry
192 * visiting the swizzle itself.
216 ir_swizzle *swizzle = (*ir)->as_swizzle()
434 int swizzle[4]; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
tex-swizzle.c 118 init_tex(const unsigned swizzle[4])
140 sv_template.swizzle_r = swizzle[0];
141 sv_template.swizzle_g = swizzle[1];
142 sv_template.swizzle_b = swizzle[2];
143 sv_template.swizzle_a = swizzle[3];
160 init(const unsigned swizzle[4])
169 init_tex(swizzle);
202 uint swizzle[4]; local
205 swizzle[0] = PIPE_SWIZZLE_RED;
206 swizzle[1] = PIPE_SWIZZLE_GREEN
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
tex-swizzle.c 118 init_tex(const unsigned swizzle[4])
140 sv_template.swizzle_r = swizzle[0];
141 sv_template.swizzle_g = swizzle[1];
142 sv_template.swizzle_b = swizzle[2];
143 sv_template.swizzle_a = swizzle[3];
160 init(const unsigned swizzle[4])
169 init_tex(swizzle);
202 uint swizzle[4]; local
205 swizzle[0] = PIPE_SWIZZLE_RED;
206 swizzle[1] = PIPE_SWIZZLE_GREEN
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_tgsi_to_rc.h 36 unsigned swizzle; member in struct:swizzled_imms
  /external/mesa3d/src/gallium/drivers/r300/
r300_tgsi_to_rc.h 36 unsigned swizzle; member in struct:swizzled_imms
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
i915_fragprog.c 108 src = swizzle(src, X, Y, Z, ONE);
112 src = swizzle(src, W, ZERO, ZERO, ONE);
187 src = swizzle(src,
188 GET_SWZ(source->Swizzle, 0),
189 GET_SWZ(source->Swizzle, 1),
190 GET_SWZ(source->Swizzle, 2), GET_SWZ(source->Swizzle, 3));
337 const unsigned field = GET_SWZ(inst->SrcReg[a].Swizzle, c);
391 swizzle(tmp, ONE, ZERO, ONE, ONE), 0, 0);
444 swizzle(consts1, Z, ZERO, ZERO, ZERO), /* 1/(2pi) *
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i915_fragprog.c 108 src = swizzle(src, X, Y, Z, ONE);
112 src = swizzle(src, W, ZERO, ZERO, ONE);
187 src = swizzle(src,
188 GET_SWZ(source->Swizzle, 0),
189 GET_SWZ(source->Swizzle, 1),
190 GET_SWZ(source->Swizzle, 2), GET_SWZ(source->Swizzle, 3));
337 const unsigned field = GET_SWZ(inst->SrcReg[a].Swizzle, c);
391 swizzle(tmp, ONE, ZERO, ONE, ONE), 0, 0);
444 swizzle(consts1, Z, ZERO, ZERO, ZERO), /* 1/(2pi) *
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_atom_texture.c 53 * Combine depth texture mode with "swizzle" so that depth mode swizzling
54 * takes place before texture swizzling, and return the resulting swizzle.
55 * If the format is not a depth format, return "swizzle" unchanged.
58 * \param swizzle Texture swizzle, a bitmask computed using MAKE_SWIZZLE4.
62 apply_depthmode(enum pipe_format format, GLuint swizzle, GLenum depthmode)
70 desc->swizzle[0] == UTIL_FORMAT_SWIZZLE_NONE) {
72 return swizzle;
76 swiz[i] = GET_SWZ(swizzle, i);
118 * Return TRUE if the swizzling described by "swizzle" an
148 GLuint swizzle = apply_depthmode(stObj->pt->format, local
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_texture.c 53 * Combine depth texture mode with "swizzle" so that depth mode swizzling
54 * takes place before texture swizzling, and return the resulting swizzle.
55 * If the format is not a depth format, return "swizzle" unchanged.
58 * \param swizzle Texture swizzle, a bitmask computed using MAKE_SWIZZLE4.
62 apply_depthmode(enum pipe_format format, GLuint swizzle, GLenum depthmode)
70 desc->swizzle[0] == UTIL_FORMAT_SWIZZLE_NONE) {
72 return swizzle;
76 swiz[i] = GET_SWZ(swizzle, i);
118 * Return TRUE if the swizzling described by "swizzle" an
148 GLuint swizzle = apply_depthmode(stObj->pt->format, local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
lp_bld_const.c 365 const unsigned char *swizzle)
377 if(swizzle == NULL)
378 swizzle = default_swizzle;
380 elems[swizzle[0]] = lp_build_const_elem(gallivm, type, r);
381 elems[swizzle[1]] = lp_build_const_elem(gallivm, type, g);
382 elems[swizzle[2]] = lp_build_const_elem(gallivm, type, b);
383 elems[swizzle[3]] = lp_build_const_elem(gallivm, type, a);
425 const unsigned char *swizzle)
428 ((mask & (1 << swizzle[0])) >> swizzle[0]
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_util.h 57 unsigned swizzle,
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_const.c 365 const unsigned char *swizzle)
377 if(swizzle == NULL)
378 swizzle = default_swizzle;
380 elems[swizzle[0]] = lp_build_const_elem(gallivm, type, r);
381 elems[swizzle[1]] = lp_build_const_elem(gallivm, type, g);
382 elems[swizzle[2]] = lp_build_const_elem(gallivm, type, b);
383 elems[swizzle[3]] = lp_build_const_elem(gallivm, type, a);
425 const unsigned char *swizzle)
428 ((mask & (1 << swizzle[0])) >> swizzle[0]
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_util.h 57 unsigned swizzle,
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
translate_sse.c 453 unsigned swizzle[4] = {UTIL_FORMAT_SWIZZLE_NONE, UTIL_FORMAT_SWIZZLE_NONE, UTIL_FORMAT_SWIZZLE_NONE, UTIL_FORMAT_SWIZZLE_NONE}; local
480 if(output_desc->swizzle[i] < 4)
481 swizzle[output_desc->swizzle[i]] = input_desc->swizzle[i];
494 if(swizzle[i] == UTIL_FORMAT_SWIZZLE_0 && i >= input_desc->nr_channels)
495 swizzle[i] = i;
500 if(swizzle[i] < 4)
501 needed_chans = MAX2(needed_chans, swizzle[i] + 1);
502 if(swizzle[i] < UTIL_FORMAT_SWIZZLE_0 && swizzle[i] != i
    [all...]

Completed in 594 milliseconds

1 2 3 4 5 6 7 8 91011>>