Home
last modified time | relevance | path

Searched refs:SWIZZLE_X (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c324 case SWIZZLE_X: in swizzle_swizzle()
338 swz[i] = SWIZZLE_X; in swizzle_swizzle()
372 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in compute_texture_format_swizzle()
374 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
376 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_ZERO, in compute_texture_format_swizzle()
382 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
384 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_W); in compute_texture_format_swizzle()
393 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
395 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X); in compute_texture_format_swizzle()
416 SWIZZLE_ZERO, SWIZZLE_X); in compute_texture_format_swizzle()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprog_instruction.h49 #define SWIZZLE_X 0 macro
65 #define SWIZZLE_XYZW MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W)
66 #define SWIZZLE_XXXX MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_X)
Dprogram_lexer.l111 return SWIZZLE_X; in swiz_from_char()
447 yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X,
448 SWIZZLE_X, SWIZZLE_X);
Dprogram_parse.y694 $$.swz = SWIZZLE_X;
711 $$.swz = SWIZZLE_X;
/third_party/mesa3d/src/intel/compiler/
Dtest_vec4_copy_propagation.cpp146 SWIZZLE_X)))); in TEST_F()
152 SWIZZLE_X))); in TEST_F()
160 SWIZZLE_X, in TEST_F()
170 v->emit(v->MOV(b, swizzle(src_reg(a), BRW_SWIZZLE4(SWIZZLE_X, in TEST_F()
172 SWIZZLE_X, in TEST_F()
Dbrw_vec4_nir.cpp2226 lod.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in nir_emit_texture()
2227 lod2.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in nir_emit_texture()
/third_party/mesa3d/src/util/format/
Du_format_parse.py36 SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W, SWIZZLE_0, SWIZZLE_1, SWIZZLE_NONE, = range(7) variable
161 xyzw = [SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W]
162 chan_map = {SWIZZLE_X: xyzw[chans - 1] if chans >= 1 else SWIZZLE_X,
163 SWIZZLE_Y: xyzw[chans - 2] if chans >= 2 else SWIZZLE_X,
164 SWIZZLE_Z: xyzw[chans - 3] if chans >= 3 else SWIZZLE_X,
165 SWIZZLE_W: xyzw[chans - 4] if chans >= 4 else SWIZZLE_X,
343 'x': SWIZZLE_X,
Du_format_table.py70 SWIZZLE_X: "PIPE_SWIZZLE_X",
/third_party/mesa3d/src/mesa/main/
Dformat_parser.py137 SWIZZLE_X = 0 variable in Swizzle
180 assert idx >= Swizzle.SWIZZLE_X and idx <= Swizzle.SWIZZLE_NONE
Dformats.h140 SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W) ( \ argument
146 (((SWIZZLE_X) << 8 ) & MESA_ARRAY_FORMAT_SWIZZLE_X_MASK) | \
Dffvertex_prog.c342 #define X SWIZZLE_X
Dtexparam.c181 return SWIZZLE_X; in comp_to_swizzle()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h879 …wizzle *const r00C0 = swizzle(r00BF, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X), 2); in umod64()
1117 …wizzle *const r00F7 = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X), 2); in imod64()
1127 …wizzle *const r00FB = swizzle(r00F4, MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_W, SWIZZLE_X, SWIZZLE_X), 2); in imod64()
Dbuiltin_variables.cpp100 MAKE_SWIZZLE4(SWIZZLE_X,
256 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
258 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
260 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_Z) },
Dbuiltin_functions.cpp6478 int yzx = MAKE_SWIZZLE4(SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_X, 0); in _cross()
6479 int zxy = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_X, SWIZZLE_Y, 0); in _cross()