| /xsrc/external/mit/MesaLib.old/src/mesa/ |
| H A D | format_info.h | 45 .Swizzle = { 4, 4, 4, 5 }, 59 .Swizzle = { 3, 2, 1, 0 }, 73 .Swizzle = { 3, 2, 1, 5 }, 87 .Swizzle = { 0, 1, 2, 3 }, 101 .Swizzle = { 0, 1, 2, 5 }, 115 .Swizzle = { 2, 1, 0, 3 }, 129 .Swizzle = { 2, 1, 0, 5 }, 143 .Swizzle = { 1, 2, 3, 0 }, 157 .Swizzle = { 1, 2, 3, 5 }, 171 .Swizzle [all...] |
| /xsrc/external/mit/MesaLib/src/mesa/ |
| H A D | format_info.h | 45 .Swizzle = { 4, 4, 4, 5 }, 59 .Swizzle = { 3, 2, 1, 0 }, 73 .Swizzle = { 3, 2, 1, 5 }, 87 .Swizzle = { 0, 1, 2, 3 }, 101 .Swizzle = { 0, 1, 2, 5 }, 115 .Swizzle = { 2, 1, 0, 3 }, 129 .Swizzle = { 2, 1, 0, 5 }, 143 .Swizzle = { 1, 2, 3, 0 }, 157 .Swizzle = { 1, 2, 3, 5 }, 171 .Swizzle [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/ |
| H A D | prog_opt_constant_fold.c | 59 src.Swizzle = swiz; 74 src.Swizzle = swiz; 84 && (a->Swizzle == b->Swizzle) 97 data[0] = value[GET_SWZ(r->Swizzle, 0)].f; 98 data[1] = value[GET_SWZ(r->Swizzle, 1)].f; 99 data[2] = value[GET_SWZ(r->Swizzle, 2)].f; 100 data[3] = value[GET_SWZ(r->Swizzle, 3)].f; 153 inst->SrcReg[1].Swizzle = SWIZZLE_NOOP; 183 inst->SrcReg[1].Swizzle [all...] |
| H A D | programopt.c | 95 newInst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP; 98 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 166 newInst[0].SrcReg[0].Swizzle = SWIZZLE_XXXX; 169 newInst[0].SrcReg[1].Swizzle = SWIZZLE_NOOP; 178 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); 181 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 184 newInst[1].SrcReg[2].Swizzle = SWIZZLE_NOOP; 193 newInst[3].SrcReg[0].Swizzle = SWIZZLE_WWWW; 196 newInst[3].SrcReg[1].Swizzle = SWIZZLE_NOOP; 199 newInst[3].SrcReg[2].Swizzle [all...] |
| H A D | prog_instruction.c | 47 inst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP; 49 inst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 51 inst[i].SrcReg[2].Swizzle = SWIZZLE_NOOP; 228 GLuint swizzle = GET_SWZ(inst->SrcReg[i].Swizzle, chan);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| H A D | prog_opt_constant_fold.c | 59 src.Swizzle = swiz; 74 src.Swizzle = swiz; 84 && (a->Swizzle == b->Swizzle) 97 data[0] = value[GET_SWZ(r->Swizzle, 0)].f; 98 data[1] = value[GET_SWZ(r->Swizzle, 1)].f; 99 data[2] = value[GET_SWZ(r->Swizzle, 2)].f; 100 data[3] = value[GET_SWZ(r->Swizzle, 3)].f; 153 inst->SrcReg[1].Swizzle = SWIZZLE_NOOP; 183 inst->SrcReg[1].Swizzle [all...] |
| H A D | programopt.c | 95 newInst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP; 98 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 166 newInst[0].SrcReg[0].Swizzle = SWIZZLE_XXXX; 169 newInst[0].SrcReg[1].Swizzle = SWIZZLE_NOOP; 178 newInst[i].SrcReg[0].Swizzle = MAKE_SWIZZLE4(i,i,i,i); 181 newInst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 184 newInst[1].SrcReg[2].Swizzle = SWIZZLE_NOOP; 193 newInst[3].SrcReg[0].Swizzle = SWIZZLE_WWWW; 196 newInst[3].SrcReg[1].Swizzle = SWIZZLE_NOOP; 199 newInst[3].SrcReg[2].Swizzle [all...] |
| H A D | prog_instruction.c | 49 inst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP; 51 inst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP; 53 inst[i].SrcReg[2].Swizzle = SWIZZLE_NOOP; 230 GLuint swizzle = GET_SWZ(inst->SrcReg[i].Swizzle, chan);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_vertprog.c | 286 t_swizzle(GET_SWZ(src->Swizzle, 0)), 287 t_swizzle(GET_SWZ(src->Swizzle, 1)), 288 t_swizzle(GET_SWZ(src->Swizzle, 2)), 289 t_swizzle(GET_SWZ(src->Swizzle, 3)), 298 t_swizzle(GET_SWZ(src->Swizzle, 0)), 299 t_swizzle(GET_SWZ(src->Swizzle, 0)), 300 t_swizzle(GET_SWZ(src->Swizzle, 0)), 301 t_swizzle(GET_SWZ(src->Swizzle, 0)), 606 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) { 607 src[i].Swizzle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_vertprog.c | 286 t_swizzle(GET_SWZ(src->Swizzle, 0)), 287 t_swizzle(GET_SWZ(src->Swizzle, 1)), 288 t_swizzle(GET_SWZ(src->Swizzle, 2)), 289 t_swizzle(GET_SWZ(src->Swizzle, 3)), 298 t_swizzle(GET_SWZ(src->Swizzle, 0)), 299 t_swizzle(GET_SWZ(src->Swizzle, 0)), 300 t_swizzle(GET_SWZ(src->Swizzle, 0)), 301 t_swizzle(GET_SWZ(src->Swizzle, 0)), 606 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) { 607 src[i].Swizzle [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_dataflow_swizzles.c | 49 if (GET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan) != RC_SWIZZLE_UNUSED) 70 SET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan, RC_SWIZZLE_UNUSED); 72 phase_refmask |= 1 << GET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan); 87 inst->U.I.SrcReg[src].Swizzle = 0; 91 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, 115 unsigned swz = GET_SWZ(reg->Swizzle, chan); 125 new_swizzle = reg->Swizzle; 135 unsigned chan_swz = GET_SWZ(reg->Swizzle, chan); 156 /* Swizzle .W. is never legal. */ 327 swz3 = GET_SWZ(reg->Swizzle, [all...] |
| H A D | radeon_pair_translate.c | 46 inst->SrcReg[1].Swizzle = RC_SWIZZLE_1111; 67 inst->SrcReg[1].Swizzle = RC_SWIZZLE_1111; 69 inst->SrcReg[2].Swizzle = RC_SWIZZLE_0000; 74 inst->SrcReg[2].Swizzle = RC_SWIZZLE_0000; 137 unsigned int swz = GET_SWZ(src.Swizzle, j); 224 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); 242 pair->RGB.Arg[i].Swizzle = 243 rc_init_swizzle(inst->SrcReg[i].Swizzle, 3); 252 swz = rc_get_scalar_src_swz(inst->SrcReg[i].Swizzle); 254 swz = GET_SWZ(inst->SrcReg[i].Swizzle, [all...] |
| H A D | r300_fragprog_swizzle.c | 123 unsigned int swz = GET_SWZ(reg.Swizzle, j); 136 if (GET_SWZ(reg.Swizzle, j) != RC_SWIZZLE_UNUSED) 142 sd = lookup_native_swizzle(reg.Swizzle); 169 swz = GET_SWZ(src.Swizzle, comp);
|
| H A D | r500_fragprog.c | 99 if (GET_SWZ(inst_if->U.I.SrcReg[0].Swizzle, 0) == RC_SWIZZLE_X) { 115 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( 116 inst_mov->U.I.SrcReg[0].Swizzle, 120 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( 121 inst_mov->U.I.SrcReg[0].Swizzle, 175 inst_if->U.I.SrcReg[0].Swizzle = RC_MAKE_SWIZZLE( 197 if (opcode == RC_OPCODE_KIL && (reg.Swizzle != RC_SWIZZLE_XYZW || reg.Negate != RC_MASK_NONE)) 201 unsigned int swz = GET_SWZ(reg.Swizzle, i); 217 if (reg.Swizzle == RC_SWIZZLE_XYZW && !reg.Abs && !reg.Negate) 227 unsigned int swz = GET_SWZ(reg.Swizzle, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_dataflow_swizzles.c | 49 if (GET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan) != RC_SWIZZLE_UNUSED) 70 SET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan, RC_SWIZZLE_UNUSED); 72 phase_refmask |= 1 << GET_SWZ(mov->U.I.SrcReg[0].Swizzle, chan); 87 inst->U.I.SrcReg[src].Swizzle = 0; 91 SET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan, 115 unsigned swz = GET_SWZ(reg->Swizzle, chan); 125 new_swizzle = reg->Swizzle; 135 unsigned chan_swz = GET_SWZ(reg->Swizzle, chan); 156 /* Swizzle .W. is never legal. */ 327 swz3 = GET_SWZ(reg->Swizzle, [all...] |
| H A D | radeon_pair_translate.c | 48 inst->SrcReg[1].Swizzle = RC_SWIZZLE_1111; 69 inst->SrcReg[1].Swizzle = RC_SWIZZLE_1111; 71 inst->SrcReg[2].Swizzle = RC_SWIZZLE_0000; 76 inst->SrcReg[2].Swizzle = RC_SWIZZLE_0000; 139 unsigned int swz = GET_SWZ(src.Swizzle, j); 226 unsigned int swz = GET_SWZ(inst->SrcReg[i].Swizzle, j); 244 pair->RGB.Arg[i].Swizzle = 245 rc_init_swizzle(inst->SrcReg[i].Swizzle, 3); 254 swz = rc_get_scalar_src_swz(inst->SrcReg[i].Swizzle); 256 swz = GET_SWZ(inst->SrcReg[i].Swizzle, [all...] |
| H A D | r300_fragprog_swizzle.c | 123 unsigned int swz = GET_SWZ(reg.Swizzle, j); 136 if (GET_SWZ(reg.Swizzle, j) != RC_SWIZZLE_UNUSED) 142 sd = lookup_native_swizzle(reg.Swizzle); 169 swz = GET_SWZ(src.Swizzle, comp);
|
| H A D | r500_fragprog.c | 100 if (GET_SWZ(inst_if->U.I.SrcReg[0].Swizzle, 0) == RC_SWIZZLE_X) { 116 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( 117 inst_mov->U.I.SrcReg[0].Swizzle, 121 inst_mov->U.I.SrcReg[0].Swizzle = combine_swizzles4( 122 inst_mov->U.I.SrcReg[0].Swizzle, 176 inst_if->U.I.SrcReg[0].Swizzle = RC_MAKE_SWIZZLE( 198 if (opcode == RC_OPCODE_KIL && (reg.Swizzle != RC_SWIZZLE_XYZW || reg.Negate != RC_MASK_NONE)) 202 unsigned int swz = GET_SWZ(reg.Swizzle, i); 218 if (reg.Swizzle == RC_SWIZZLE_XYZW && !reg.Abs && !reg.Negate) 226 unsigned int swz = GET_SWZ(reg.Swizzle, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_parser.py | 109 class Swizzle: class in inherits: 112 A Swizzle is a mapping from one set of channels in one format to the 124 Sometimes a Swizzle is represented by a 4-character string. In this 146 """Creates a Swizzle object from a string or array.""" 148 swizzle = [Swizzle.__identity_str.index(c) for c in swizzle] 152 assert isinstance(s, int) and 0 <= s and s <= Swizzle.SWIZZLE_NONE 156 self.__list = swizzle + [Swizzle.SWIZZLE_NONE] * (4 - len(swizzle)) 160 """Returns an iterator that iterates over this Swizzle. 168 """Returns a string representation of this Swizzle.""" 169 return ''.join(Swizzle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | format_parser.py | 109 class Swizzle: class in inherits: 112 A Swizzle is a mapping from one set of channels in one format to the 124 Sometimes a Swizzle is represented by a 4-character string. In this 146 """Creates a Swizzle object from a string or array.""" 148 swizzle = [Swizzle.__identity_str.index(c) for c in swizzle] 152 assert isinstance(s, int) and 0 <= s and s <= Swizzle.SWIZZLE_NONE 156 self.__list = swizzle + [Swizzle.SWIZZLE_NONE] * (4 - len(swizzle)) 160 """Returns an iterator that iterates over this Swizzle. 168 """Returns a string representation of this Swizzle.""" 169 return ''.join(Swizzle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_shader_tcs.cpp | 100 const GPRVector::Swizzle& swizzle = (instr->src[0].ssa->num_components == 4) ? 101 GPRVector::Swizzle({0, 1, 2, 3}) : GPRVector::Swizzle({0, 1, 7, 7});
|
| H A D | sfn_emitinstruction.h | 65 GPRVector get_temp_vec4(const GPRVector::Swizzle& swizzle = {0,1,2,3}); 76 const GPRVector::Swizzle& swizzle, bool match = false);
|
| H A D | sfn_value_gpr.h | 77 using Swizzle = std::array<uint32_t,4>; typedef in class:r600::GPRVector 90 void swizzle(const Swizzle& swz); 189 inline GPRVector::Swizzle swizzle_from_comps(unsigned ncomp) 191 GPRVector::Swizzle swz = {0,1,2,3}; 197 inline GPRVector::Swizzle swizzle_from_mask(unsigned mask) 199 GPRVector::Swizzle swz;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | rc_test_helpers.c | 120 struct match_info Swizzle; member in struct:src_tokens 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] != '.') { 202 for (i = 0; i < 4 && str_index < tokens.Swizzle.Length; 204 if (tokens.Swizzle [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | rc_test_helpers.c | 120 struct match_info Swizzle; member in struct:src_tokens 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] != '.') { 202 for (i = 0; i < 4 && str_index < tokens.Swizzle.Length; 204 if (tokens.Swizzle [all...] |