Searched refs:float4 (Results 1 - 25 of 38) sorted by relevance

12

/external/clang/test/PCH/Inputs/
H A Dchain-ext_vector2.h3 typedef __attribute__((ext_vector_type(4))) float float4; typedef
/external/clang/test/CodeGen/
H A Dbuiltinshufflevector2.c3 typedef float float4 __attribute__((ext_vector_type(4))); typedef
7 void clang_shufflevector_v_v( float4* A, float4 x, uint4 mask ) {
31 void clang_shufflevector_v_v_c( float4* A, float4 x, float4 y) {
38 void clang_shufflevector_v_v_undef( float4* A, float4 x, float4 y) {
H A D2010-02-18-Dbg-VectorType.c1 // RUN: %clang -emit-llvm -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4
2 typedef float float4 __attribute__((vector_size(16))); typedef
5 volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f };
H A Dext-vector-member-alignment.c3 typedef float float4 __attribute__((ext_vector_type(4))); typedef
6 float4 position;
10 float4 f(struct struct1* x) { return x->position; }
H A Dext-vector.c3 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
9 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 };
12 const float4 bar = (float4){ 1.0, 2.0, 3.0, __builtin_inff() };
16 float4 test1(float4 V) {
21 float4 vec4, vec4_2;
41 void test3(float4 *out) {
42 *out = ((float4) {1.
[all...]
/external/clang/test/CodeGenCXX/
H A D2007-05-03-VectorInit.cpp6 typedef v4sf float4; typedef
8 static float4 splat4(float a)
10 float4 tmp = {a,a,a,a};
14 float4 foo(float a)
/external/clang/test/PCH/
H A Dchain-ext_vector.c9 int test(float4 f4) {
H A Dext_vector.c8 int test(float4 f4) {
H A Dext_vector.h4 typedef __attribute__((ext_vector_type(4))) float float4; typedef
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.hlsl29 float4 position : POSITION;
30 float4 color : COLOR;
35 float4 position : SV_POSITION;
36 float4 color : COLOR;
47 float4 ps(VS2PS input) : SV_TARGET
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.hlsl29 float4 position : POSITION;
30 float4 color : COLOR;
35 float4 position : SV_POSITION;
36 float4 color : COLOR;
47 float4 ps(VS2PS input) : SV_TARGET
/external/clang/test/Sema/
H A Dvector-init.c3 //typedef __attribute__(( ext_vector_type(4) )) float float4;
4 typedef float float4 __attribute__((vector_size(16))); typedef
6 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 };
8 float4 foo2 = (float4){ 1.0, 2.0, 3.0, 4.0 , 5.0 }; // expected-warning{{excess elements in vector initializer}}
10 float4 array[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0};
11 int array_sizecheck[(sizeof(array) / sizeof(float4)) == 3 ? 1 : -1];
13 float4 array2[2] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0,
16 float4 array
[all...]
H A Dtypedef-retain.c3 typedef float float4 __attribute__((vector_size(16))); typedef
7 void test1(float4 a, int4 *result, int i) {
8 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
11 void test2(float4 a, int4p result, int i) {
12 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
H A Dext_vector_comparisons.c18 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
21 float4 vec, rv;
H A Dext_vector_casts.c6 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
11 float4 vec4, vec4_2;
19 vec4 = (float4)5.0f;
20 vec4 = (float4)5;
21 vec4 = (float4)vec4_3;
32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}}
38 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' and 'int')}}
40 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' and 'float4')}}
H A Dext_vector_components.c5 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
8 static float4 vec4_0 = (float4)0.5f;
13 float4 vec4, vec4_2, *vec4p;
35 vec4 = (float4){ 1,2,3,4 };
37 vec4.s06; // expected-error {{vector component access exceeds type 'float4'}}
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/
H A Dd3d10tri.hlsl29 float4 position : POSITION;
30 float4 color : COLOR;
35 float4 position : SV_POSITION;
36 float4 color : COLOR;
47 float4 ps(VS2PS input) : SV_TARGET
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/
H A Dd3d11tri.hlsl29 float4 position : POSITION;
30 float4 color : COLOR;
35 float4 position : SV_POSITION;
36 float4 color : COLOR;
47 float4 ps(VS2PS input) : SV_TARGET
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
H A Dd3d11tex.hlsl34 float4 position : POSITION;
40 float4 position : SV_POSITION;
42 float4 factors : FACTORS;
55 float4 ps(VS2PS input) : SV_TARGET
57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
59 float4 a = a0 * input.factors.z + a1 * input.factors.x;
61 float4 b0 = tex1.Sample(samp0, input.texcoord);
62 float4 b1 = tex1.Sample(samp1, input.texcoord);
63 float4
[all...]
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
H A Dd3d11tex.hlsl34 float4 position : POSITION;
40 float4 position : SV_POSITION;
42 float4 factors : FACTORS;
55 float4 ps(VS2PS input) : SV_TARGET
57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
59 float4 a = a0 * input.factors.z + a1 * input.factors.x;
61 float4 b0 = tex1.Sample(samp0, input.texcoord);
62 float4 b1 = tex1.Sample(samp1, input.texcoord);
63 float4
[all...]
/external/chromium_org/third_party/angle_dx11/src/compiler/
H A DInitialize.cpp22 TType *float4 = new TType(EbtFloat, EbpUndefined, EvqGlobal, 4); local
34 symbolTable.insertBuiltIn(float4, "radians", float4);
39 symbolTable.insertBuiltIn(float4, "degrees", float4);
44 symbolTable.insertBuiltIn(float4, "sin", float4);
49 symbolTable.insertBuiltIn(float4, "cos", float4);
54 symbolTable.insertBuiltIn(float4, "ta
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.hlsl31 float4 light;
32 float4 diffuse;
33 float4 specular;
39 float4 position : POSITION;
45 float4 position : SV_POSITION;
56 result.position = mul((float4x4)proj, float4(view, 1));
64 float4 ps(VS2PS input) : SV_TARGET
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.hlsl31 float4 light;
32 float4 diffuse;
33 float4 specular;
39 float4 position : POSITION;
45 float4 position : SV_POSITION;
56 result.position = mul((float4x4)proj, float4(view, 1));
64 float4 ps(VS2PS input) : SV_TARGET
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11blit.hlsl32 float4 position : POSITION;
38 float4 position : SV_POSITION;
50 float4 ps_blit(VS2PS input) : SV_TARGET
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11blit.hlsl32 float4 position : POSITION;
38 float4 position : SV_POSITION;
50 float4 ps_blit(VS2PS input) : SV_TARGET

Completed in 438 milliseconds

12