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

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
AMDGPUAsmUtils.h 29 namespace Swizzle { // Symbolic names for the swizzle(...) syntax.
33 } // namespace Swizzle
AMDGPUAsmUtils.cpp 77 namespace Swizzle {
79 // This must be in sync with llvm::AMDGPU::Swizzle::Id enum members, see SIDefines.h.
88 } // namespace Swizzle
  /external/skqp/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 float3with two components will result in a float2 It is possible to swizzle
90 ABORT("cannot swizzle %s\n", value.description().c_str());
94 * Represents a vector swizzle operation such as 'float2(1, 2, 3).zyx'.
96 struct Swizzle : public Expression {
97 Swizzle(const Context& context, std::unique_ptr<Expression> base, std::vector<int> components)
131 return std::unique_ptr<Expression>(new Swizzle(fType, fBase->clone(), fComponents));
148 Swizzle(const Type& type, std::unique_ptr<Expression> base, std::vector<int> components)
  /external/skia/src/sksl/ir/
SkSLSwizzle.h 19 // represents a swizzle component of constant 0, as in x.rgb0
22 // represents a swizzle component of constant 1, as in x.rgb1
26 * Given a type and a swizzle component count, returns the type that will result from swizzling. For
28 * swizzle with more components than the source vector, as in 'float2(1).xxxx'.
96 ABORT("cannot swizzle %s\n", value.description().c_str());
100 * Represents a vector swizzle operation such as 'float2(1, 2, 3).zyx'.
102 struct Swizzle : public Expression {
103 Swizzle(const Context& context, std::unique_ptr<Expression> base, std::vector<int> components)
137 return std::unique_ptr<Expression>(new Swizzle(fType, fBase->clone(), fComponents));
154 Swizzle(const Type& type, std::unique_ptr<Expression> base, std::vector<int> components
    [all...]
  /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 103 class Swizzle:
104 """Describes a swizzle operation.
106 A Swizzle is a mapping from one set of channels in one format to the
118 Sometimes a Swizzle is represented by a 4-character string. In this
139 def __init__(self, swizzle):
140 """Creates a Swizzle object from a string or array."""
141 if isinstance(swizzle, str):
142 swizzle = [Swizzle.__identity_str.index(c) for c in swizzle]
    [all...]
formats.c 76 uint8_t Swizzle[4];
231 uint8_t swizzle[4]; local
234 _mesa_array_format_get_swizzle(format, swizzle);
248 if (swizzle[0] == 0 &&
249 swizzle[1] == 0 &&
250 swizzle[2] == 0 &&
251 swizzle[3] == 1)
253 if (swizzle[0] == 1 &&
254 swizzle[1] == 1 &&
255 swizzle[2] == 1 &
382 uint8_t swizzle[4]; local
    [all...]
mtypes.h 1033 GLenum Swizzle[4]; /**< GL_EXT_texture_swizzle */
1034 GLuint _Swizzle; /**< same as Swizzle, but SWIZZLE_* format */
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
R600OptimizeVectorRegisters.cpp 12 /// common data and/or have enough undef subreg using swizzle abilities.
218 unsigned Swizzle = (*It).second;
219 unsigned Chan = getReassignedChan(RemapChan, Swizzle);
240 LLVM_DEBUG(dbgs() << " Updating Swizzle:\n");
278 unsigned Swizzle = MI.getOperand(i + Offset).getImm() + 1;
280 if (RemapChan[j].first == Swizzle) {
R600InstrInfo.cpp 376 Swizzle(std::vector<std::pair<int, unsigned>> Src,
423 llvm_unreachable("Wrong Swizzle for Trans Slot");
429 /// Swz swizzle sequence.
439 Swizzle(IGSrcs[i], Swz[i]);
476 /// Given a swizzle sequence SwzCandidate and an index Idx, returns the next
477 /// (in lexicographic term) swizzle sequence assuming that all swizzles after
497 /// Enumerate all possible Swizzle sequence to find one that can meet all
    [all...]
SIDefines.h 315 namespace Swizzle { // Encoding of swizzle macro used in ds_swizzle_b32.
327 // swizzle mode encodings
353 } // namespace Swizzle
  /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/deqp/external/openglcts/modules/gles31/
es31cTextureGatherTests.cpp     [all...]
  /external/mesa3d/src/mesa/program/
prog_instruction.h 45 * Swizzle indexes.
194 GLuint Swizzle:12;
  /external/deqp/external/openglcts/modules/gl/
gl4cTextureGatherTests.cpp     [all...]
  /external/swiftshader/src/Reactor/
LLVMReactor.cpp 1450 llvm::Constant *swizzle[maxSize]; local
1486 int swizzle[4] = local
1506 int swizzle[4] = local
3246 Value *swizzle = Swizzle(RValue<Short4>(insert), 0x00).value; local
5292 int swizzle[16] = {0, 16, 1, 17, 2, 18, 3, 19, 4, 20, 5, 21, 6, 22, 7, 23}; local
5314 int swizzle[16] = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7}; local
5343 int swizzle[8] = {0, 0, 1, 1, 2, 2, 3, 3}; local
5359 int swizzle[8] = {0, 8, 1, 9, 2, 10, 3, 11}; local
5438 int swizzle[4] = {0, 0, 0, 0}; local
6506 int swizzle[4] = {0, 0, 0, 0}; local
    [all...]
  /external/mesa3d/src/gallium/include/pipe/
p_shader_tokens.h 749 * File, Index and Swizzle are handled the same as in tgsi_src_register.
760 unsigned Swizzle : 2; /* TGSI_SWIZZLE_ */
  /external/virglrenderer/src/gallium/include/pipe/
p_shader_tokens.h 708 * File, Index and Swizzle are handled the same as in tgsi_src_register.
719 unsigned Swizzle : 2; /* TGSI_SWIZZLE_ */

Completed in 899 milliseconds