HomeSort by relevance Sort by last modified time
    Searched defs:Swizzle (Results 1 - 11 of 11) sorted by null

  /external/skia/src/sksl/ir/
SkSLSwizzle.h 20 * Given a type and a swizzle component count, returns the type that will result from swizzling. For
21 * instance, swizzling a vec3 with two components will result in a vec2. It is possible to swizzle
60 ABORT("cannot swizzle %s\n", value.description().c_str());
64 * Represents a vector swizzle operation such as 'vec2(1, 2, 3).zyx'.
66 struct Swizzle : public Expression {
67 Swizzle(const Context& context, std::unique_ptr<Expression> base, std::vector<int> components)
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_program_pair.h 66 unsigned int Swizzle:12;
radeon_program.h 48 unsigned int Swizzle:12;
117 /**R500 Only. How to swizzle the result of a TEX lookup*/
  /external/llvm/lib/Target/AMDGPU/
R600OptimizeVectorRegisters.cpp 12 /// common data and/or have enough undef subreg using swizzle abilities.
194 unsigned Swizzle = (*It).second;
195 unsigned Chan = getReassignedChan(RemapChan, Swizzle);
218 DEBUG(dbgs() << " Updating Swizzle:\n");
256 unsigned Swizzle = MI.getOperand(i + Offset).getImm() + 1;
258 if (RemapChan[j].first == Swizzle) {
  /external/mesa3d/src/mesa/main/
format_parser.py 104 class Swizzle:
105 """Describes a swizzle operation.
107 A Swizzle is a mapping from one set of channels in one format to the
119 Sometimes a Swizzle is represented by a 4-character string. In this
140 def __init__(self, swizzle):
141 """Creates a Swizzle object from a string or array."""
142 if isinstance(swizzle, str):
143 swizzle = [Swizzle.__identity_str.index(c) for c in swizzle]
    [all...]
formats.c 76 uint8_t Swizzle[4];
226 uint8_t swizzle[4]; local
229 _mesa_array_format_get_swizzle(format, swizzle);
243 if (swizzle[0] == 0 &&
244 swizzle[1] == 0 &&
245 swizzle[2] == 0 &&
246 swizzle[3] == 1)
248 if (swizzle[0] == 1 &&
249 swizzle[1] == 1 &&
250 swizzle[2] == 1 &
377 uint8_t swizzle[4]; local
    [all...]
mtypes.h 1005 GLenum Swizzle[4]; /**< GL_EXT_texture_swizzle */
1006 GLuint _Swizzle; /**< same as Swizzle, but SWIZZLE_* format */
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/tests/
rc_test_helpers.c 120 struct match_info Swizzle;
160 tokens.Swizzle.String = src_str + matches[5].rm_so;
161 tokens.Swizzle.Length = match_length(matches, 5);
192 /* Swizzle */
193 if (tokens.Swizzle.Length == 0) {
194 src_reg->Swizzle = RC_SWIZZLE_XYZW;
197 src_reg->Swizzle = RC_MAKE_SWIZZLE_SMEAR(RC_SWIZZLE_UNUSED);
198 if (tokens.Swizzle.String[0] != '.') {
199 fprintf(stderr, "First char of swizzle is not valid.\n");
202 for (i = 0; i < 4 && str_index < tokens.Swizzle.Length
    [all...]
  /external/mesa3d/src/mesa/program/
prog_instruction.h 45 * Swizzle indexes.
194 GLuint Swizzle:12;
  /external/swiftshader/src/Reactor/
LLVMReactor.cpp 799 llvm::Constant *swizzle[maxSize]; local
804 swizzle[i] = llvm::ConstantInt::get(llvm::Type::getInt32Ty(*::context), select[i]);
807 llvm::Value *shuffle = llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>(swizzle, size));
834 int swizzle[4] = local
842 return Nucleus::createShuffleVector(val, val, swizzle);
854 int swizzle[4] = local
862 return Nucleus::createShuffleVector(lhs, rhs, swizzle);
2554 Value *swizzle = Swizzle(RValue<Short4>(insert), 0x00).value; local
4475 int swizzle[16] = {0, 16, 1, 17, 2, 18, 3, 19, 4, 20, 5, 21, 6, 22, 7, 23}; local
4495 int swizzle[16] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7}; local
4522 int swizzle[8] = {0, 0, 1, 1, 2, 2, 3, 3}; local
4536 int swizzle[8] = {0, 8, 1, 9, 2, 10, 3, 11}; local
4615 int swizzle[4] = {0, 0, 0, 0}; local
5542 int swizzle[4] = {0, 0, 0, 0}; local
    [all...]
  /external/mesa3d/src/gallium/include/pipe/
p_shader_tokens.h 713 * - Swizzle is either set to identity or replicate.
759 * File, Index and Swizzle are handled the same as in tgsi_src_register.
770 unsigned Swizzle : 2; /* TGSI_SWIZZLE_ */

Completed in 228 milliseconds