Searched refs:xyzw (Results 1 - 25 of 31) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/targets/d3d10sw/tests/
H A Dtri_vs_4_0.h15 // POSITION 0 xyzw 0 NONE float xyzw
16 // COLOR 0 xyzw 1 NONE float xyzw
23 // SV_POSITION 0 xyzw 0 POS float xyzw
24 // COLOR 0 xyzw 1 NONE float xyzw
27 dcl_input v0.xyzw
28 dcl_input v1.xyzw
[all...]
H A Dtri_ps_4_0.h15 // SV_POSITION 0 xyzw 0 POS float
16 // COLOR 0 xyzw 1 NONE float xyzw
23 // SV_Target 0 xyzw 0 TARGET float xyzw
26 dcl_input_ps linear v1.xyzw
27 dcl_output o0.xyzw
28 mov o0.xyzw, v1.xyzw
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_fs_exec.c83 quadpos->xyzw[0].f[0] = x;
84 quadpos->xyzw[0].f[1] = x + 1;
85 quadpos->xyzw[0].f[2] = x;
86 quadpos->xyzw[0].f[3] = x + 1;
89 quadpos->xyzw[1].f[0] = y;
90 quadpos->xyzw[1].f[1] = y;
91 quadpos->xyzw[1].f[2] = y + 1;
92 quadpos->xyzw[1].f[3] = y + 1;
99 quadpos->xyzw[chan].f[0] = a0;
100 quadpos->xyzw[cha
[all...]
H A Dsp_compute.c59 machine->SystemValue[i].xyzw[0].i[j] = w;
60 machine->SystemValue[i].xyzw[1].i[j] = h;
61 machine->SystemValue[i].xyzw[2].i[j] = d;
68 machine->SystemValue[i].xyzw[0].i[j] = g_w;
69 machine->SystemValue[i].xyzw[1].i[j] = g_h;
70 machine->SystemValue[i].xyzw[2].i[j] = g_d;
77 machine->SystemValue[i].xyzw[0].i[j] = b_w;
78 machine->SystemValue[i].xyzw[1].i[j] = b_h;
79 machine->SystemValue[i].xyzw[2].i[j] = b_d;
94 machine->SystemValue[i].xyzw[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_fs_exec.c83 quadpos->xyzw[0].f[0] = x;
84 quadpos->xyzw[0].f[1] = x + 1;
85 quadpos->xyzw[0].f[2] = x;
86 quadpos->xyzw[0].f[3] = x + 1;
89 quadpos->xyzw[1].f[0] = y;
90 quadpos->xyzw[1].f[1] = y;
91 quadpos->xyzw[1].f[2] = y + 1;
92 quadpos->xyzw[1].f[3] = y + 1;
99 quadpos->xyzw[chan].f[0] = a0;
100 quadpos->xyzw[cha
[all...]
H A Dsp_compute.c59 machine->SystemValue[i].xyzw[0].i[j] = w;
60 machine->SystemValue[i].xyzw[1].i[j] = h;
61 machine->SystemValue[i].xyzw[2].i[j] = d;
68 machine->SystemValue[i].xyzw[0].i[j] = g_w;
69 machine->SystemValue[i].xyzw[1].i[j] = g_h;
70 machine->SystemValue[i].xyzw[2].i[j] = g_d;
77 machine->SystemValue[i].xyzw[0].i[j] = b_w;
78 machine->SystemValue[i].xyzw[1].i[j] = b_h;
79 machine->SystemValue[i].xyzw[2].i[j] = b_d;
94 machine->SystemValue[i].xyzw[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_vs_exec.c113 machine->SystemValue[i].xyzw[0].i[j] = shader->draw->instance_id;
137 machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? fetch_elts[i + j] : (i + j + basevertex);
142 machine->SystemValue[vid].xyzw[0].i[j] = basevertex;
147 machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? (fetch_elts[i + j] - basevertex) : (i + j);
157 machine->Inputs[slot].xyzw[0].f[j] = input[slot][0];
158 machine->Inputs[slot].xyzw[1].f[j] = input[slot][1];
159 machine->Inputs[slot].xyzw[2].f[j] = input[slot][2];
160 machine->Inputs[slot].xyzw[3].f[j] = input[slot][3];
177 output[slot][0] = CLAMP(machine->Outputs[slot].xyzw[0].f[j], 0.0f, 1.0f);
178 output[slot][1] = CLAMP(machine->Outputs[slot].xyzw[
[all...]
H A Ddraw_gs.c104 output[slot][0] = machine->Outputs[idx + slot].xyzw[0].f[0];
105 output[slot][1] = machine->Outputs[idx + slot].xyzw[1].f[0];
106 output[slot][2] = machine->Outputs[idx + slot].xyzw[2].f[0];
107 output[slot][3] = machine->Outputs[idx + slot].xyzw[3].f[0];
148 machine->Inputs[idx].xyzw[0].u[prim_idx] = shader->in_prim_idx;
149 machine->Inputs[idx].xyzw[1].u[prim_idx] = shader->in_prim_idx;
150 machine->Inputs[idx].xyzw[2].u[prim_idx] = shader->in_prim_idx;
151 machine->Inputs[idx].xyzw[3].u[prim_idx] = shader->in_prim_idx;
159 machine->Inputs[idx].xyzw[0].f[prim_idx] = 0;
160 machine->Inputs[idx].xyzw[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_vs_exec.c116 machine->SystemValue[i].xyzw[0].i[j] = shader->draw->instance_id;
140 machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? fetch_elts[i + j] : (i + j + basevertex);
145 machine->SystemValue[vid].xyzw[0].i[j] = basevertex;
150 machine->SystemValue[vid].xyzw[0].i[j] = fetch_elts ? (fetch_elts[i + j] - basevertex) : (i + j);
160 machine->Inputs[slot].xyzw[0].f[j] = input[slot][0];
161 machine->Inputs[slot].xyzw[1].f[j] = input[slot][1];
162 machine->Inputs[slot].xyzw[2].f[j] = input[slot][2];
163 machine->Inputs[slot].xyzw[3].f[j] = input[slot][3];
180 output[slot][0] = SATURATE(machine->Outputs[slot].xyzw[0].f[j]);
181 output[slot][1] = SATURATE(machine->Outputs[slot].xyzw[
[all...]
H A Ddraw_gs.c104 output[slot][0] = machine->Outputs[idx + slot].xyzw[0].f[0];
105 output[slot][1] = machine->Outputs[idx + slot].xyzw[1].f[0];
106 output[slot][2] = machine->Outputs[idx + slot].xyzw[2].f[0];
107 output[slot][3] = machine->Outputs[idx + slot].xyzw[3].f[0];
138 machine->SystemValue[primid_sv].xyzw[0].i[j] = shader->in_prim_idx;
154 machine->Inputs[idx].xyzw[0].u[prim_idx] = shader->in_prim_idx;
155 machine->Inputs[idx].xyzw[1].u[prim_idx] = shader->in_prim_idx;
156 machine->Inputs[idx].xyzw[2].u[prim_idx] = shader->in_prim_idx;
157 machine->Inputs[idx].xyzw[3].u[prim_idx] = shader->in_prim_idx;
165 machine->Inputs[idx].xyzw[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/svgadump/
H A Dsvga_shader.h67 float xyzw[4]; member in struct:sh_cdata
86 int xyzw[4]; member in struct:sh_idata
H A Dsvga_shader_dump.c268 _debug_printf( "%f, %f, %f, %f", cdata.xyzw[0], cdata.xyzw[1], cdata.xyzw[2], cdata.xyzw[3] );
273 _debug_printf( "%d, %d, %d, %d", idata.xyzw[0], idata.xyzw[1], idata.xyzw[2], idata.xyzw[3] );
476 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] );
479 _debug_printf( "%c", "xyzw"[srcre
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/svgadump/
H A Dsvga_shader.h67 float xyzw[4]; member in struct:sh_cdata
86 int xyzw[4]; member in struct:sh_idata
H A Dsvga_shader_dump.c268 _debug_printf( "%f, %f, %f, %f", cdata.xyzw[0], cdata.xyzw[1], cdata.xyzw[2], cdata.xyzw[3] );
273 _debug_printf( "%d, %d, %d, %d", idata.xyzw[0], idata.xyzw[1], idata.xyzw[2], idata.xyzw[3] );
476 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] );
479 _debug_printf( "%c", "xyzw"[srcre
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1025 tmp->xyzw[i].f[0],
1026 tmp->xyzw[i].f[1],
1027 tmp->xyzw[i].f[2],
1028 tmp->xyzw[i].f[3]);
1335 mach->Temps[TGSI_EXEC_TEMP_00000000_I].xyzw[TGSI_EXEC_TEMP_00000000_C].u[i] = 0x00000000;
1336 mach->Temps[TGSI_EXEC_TEMP_7FFFFFFF_I].xyzw[TGSI_EXEC_TEMP_7FFFFFFF_C].u[i] = 0x7FFFFFFF;
1337 mach->Temps[TGSI_EXEC_TEMP_80000000_I].xyzw[TGSI_EXEC_TEMP_80000000_C].u[i] = 0x80000000;
1338 mach->Temps[TGSI_EXEC_TEMP_FFFFFFFF_I].xyzw[TGSI_EXEC_TEMP_FFFFFFFF_C].u[i] = 0xFFFFFFFF; /* not used */
1339 mach->Temps[TGSI_EXEC_TEMP_ONE_I].xyzw[TGSI_EXEC_TEMP_ONE_C].f[i] = 1.0f;
1340 mach->Temps[TGSI_EXEC_TEMP_TWO_I].xyzw[TGSI_EXEC_TEMP_TWO_
[all...]
H A Dtgsi_exec.h86 union tgsi_exec_channel xyzw[TGSI_NUM_CHANNELS]; member in struct:tgsi_exec_vector
95 float a0[TGSI_NUM_CHANNELS]; /* in an xyzw layout */
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format_parse.py161 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,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1015 tmp->xyzw[i].f[0],
1016 tmp->xyzw[i].f[1],
1017 tmp->xyzw[i].f[2],
1018 tmp->xyzw[i].f[3]);
1460 chan->u[i] = mach->Inputs[pos].xyzw[swizzle].u[i];
1466 chan->u[i] = mach->SystemValue[index->i[i]].xyzw[swizzle].u[i];
1475 chan->u[i] = mach->Temps[index->i[i]].xyzw[swizzle].u[i];
1493 chan->u[i] = mach->Addrs[index->i[i]].xyzw[swizzle].u[i];
1503 chan->u[i] = mach->Outputs[index->i[i]].xyzw[swizzle].u[i];
1752 dst = &mach->Outputs[offset + index].xyzw[chan_inde
[all...]
H A Dtgsi_exec.h86 union tgsi_exec_channel xyzw[TGSI_NUM_CHANNELS]; member in struct:tgsi_exec_vector
95 float a0[TGSI_NUM_CHANNELS]; /* in an xyzw layout */
/xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/
H A DREADME.rst23 ``c1.xyzw`` with ``vec4(1.0, 2.0, 3.0, 4.0)``
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_array_merge.cpp153 static const char xyzw[] = "xyzw"; variable in typeref:typename:const char[]
274 std::cerr << ((swizzle_map[i] >= 0) ? xyzw[swizzle_map[i]] : '_');
396 os << (read_swizzle_map[i] >= 0 ? xyzw[read_swizzle_map[i]] : '_');
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi_array_merge.cpp153 static const char xyzw[] = "xyzw"; variable in typeref:typename:const char[]
274 std::cerr << ((swizzle_map[i] >= 0) ? xyzw[swizzle_map[i]] : '_');
396 os << (read_swizzle_map[i] >= 0 ? xyzw[read_swizzle_map[i]] : '_');
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_lexer.l48 if ("xyzw"[i] == src[1]) {
137 [h]?"r"[0-9]+"."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_REGISTER;
138 [h]?"c"[0-9]+"."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_CONSTANT;
141 "p0."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_P0;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram_lexer.l337 ".xyzw" {
378 "."[xyzw] {
385 "."[xyzw]{4} {
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram_lexer.l337 ".xyzw" {
378 "."[xyzw] {
385 "."[xyzw]{4} {

Completed in 26 milliseconds

12