/external/deqp/modules/gles2/functional/ |
es2fClippingTests.cpp | 54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f); 55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f); 56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f); 64 const char* shaderSourceVertex = "attribute highp vec4 a_position;\n" 65 "attribute highp vec4 a_color;\n" 67 "varying mediump vec4 varFragColor;\n" 74 const char* shaderSourceFragment = "varying mediump vec4 varFragColor;\n [all...] |
es2fShaderTextureFunctionTests.cpp | 79 tcu::Vec4 minCoord; 80 tcu::Vec4 maxCoord; 100 const tcu::Vec4& minCoord_, 101 const tcu::Vec4& maxCoord_, 164 tcu::Vec4 scale; 165 tcu::Vec4 bias; 179 using tcu::Vec4; 192 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 193 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 235 void setupUniforms (int programID, const tcu::Vec4& constCoords) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 62 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 74 tcu::Vec4 scale; 75 tcu::Vec4 bias [all...] |
/external/chromium_org/cc/output/ |
shader.cc | 176 attribute vec4 a_position; 214 attribute vec4 a_position; 249 attribute vec4 a_position; 285 attribute vec4 a_position; 289 uniform TexCoordPrecision vec4 texTransform[8]; 296 TexCoordPrecision vec4 texTrans = texTransform[quad_index]; 305 attribute vec4 a_position; 343 attribute TexCoordPrecision vec4 a_position; 351 gl_Position = matrix * vec4(pos, a_position.z, a_position.w); 357 attribute TexCoordPrecision vec4 a_position [all...] |
/external/deqp/data/gles2/shaders/ |
swizzles.test | 115 output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; 136 output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.03225806451 (…) [all...] |
functions.test | 87 input vec4 in0 = [ vec4(0.0, 1.0, -2.0, 0.5) | vec4(2.0, 2.5, 4.0, -7.0) ]; 95 float func (vec4 a) 1394 vec4 func (vec4 a) { return a.wwww; } 1398 out0 = func(func(func(func(vec4(in0)).xyz).xy).x); 1470 vec4 func (vec4 a) { return a.wwww; } 1486 out0 = float(func(func(ivec4(func(func(func(vec4(0.5)).xyz).xy).xxxx)).xy).x) [all...] |
/external/deqp/data/gles3/shaders/ |
swizzles.test | 126 output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; 149 output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.03225806451 (…) [all...] |
declarations.test | 11 gl_Position = vec4(1.0); 19 ${FRAG_COLOR} = vec4(1.0); 33 gl_Position = vec4(1.0); 42 ${FRAG_COLOR} = vec4(1.0); 56 gl_Position = vec4(1.0); 65 ${FRAG_COLOR} = vec4(1.0); 78 gl_Position = vec4(1.0); 87 ${FRAG_COLOR} = vec4(1.0); 101 gl_Position = vec4(1.0); 109 ${FRAG_COLOR} = vec4(1.0) [all...] |
/packages/wallpapers/MagicSmoke/res/raw/ |
pf4tex.glslf | 9 lowp vec4 tex = texture2D(UNI_Tex0, varTex0); 10 lowp vec4 col = mix(UNI_clearColor, tex.rgba, tex.a);
|
pf5tex.glslf | 10 lowp vec4 tex = texture2D(UNI_Tex0, varTex0); 11 lowp vec4 col = mix(UNI_clearColor, tex.rgba, tex.a);
|
/external/deqp/modules/gles3/functional/ |
es3fFboTestUtil.hpp | 61 void setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color); 76 void setGradient (sglr::Context& context, deUint32 program, const tcu::Vec4& gradientMin, const tcu::Vec4& gradientMax); 88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 93 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
atan.ir | 47 (signature vec4 49 (declare (in) vec4 y_over_x)) 50 ((declare () vec4 s) 52 ((expression vec4 * 54 (expression vec4 rsq 55 (expression vec4 + 56 (expression vec4 * 118 (signature vec4 120 (declare (in) vec4 y) 121 (declare (in) vec4 x) [all...] |
floatBitsToInt.ir | 19 (declare (in) vec4 arg))
|
floatBitsToUint.ir | 19 (declare (in) vec4 arg))
|
isnan.ir | 16 (declare (in) vec4 x))
|
noise1.ir | 16 (declare (in) vec4 x))
|
/external/mesa3d/src/glsl/builtins/ir/ |
atan.ir | 47 (signature vec4 49 (declare (in) vec4 y_over_x)) 50 ((declare () vec4 s) 52 ((expression vec4 * 54 (expression vec4 rsq 55 (expression vec4 + 56 (expression vec4 * 118 (signature vec4 120 (declare (in) vec4 y) 121 (declare (in) vec4 x) [all...] |
floatBitsToInt.ir | 19 (declare (in) vec4 arg))
|
floatBitsToUint.ir | 19 (declare (in) vec4 arg))
|
isnan.ir | 16 (declare (in) vec4 x))
|
noise1.ir | 16 (declare (in) vec4 x))
|
/frameworks/native/libs/ui/tests/ |
vec_test.cpp | 24 #include <ui/vec4.h> 33 vec4 v4; 36 EXPECT_EQ(sizeof(vec4), sizeof(float)*4); 43 vec4 v0; 49 vec4 v1(1); 55 vec4 v2(1,2,3,4); 61 vec4 v3(v2); 67 vec4 v4(v3.xyz, 42); 73 vec4 v5(vec3(v2.xy, 42), 24); 87 vec4 v0(1,2,3,4) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderOptimizationTests.cpp | 43 using tcu::Vec4; 134 "in " + vtxPrec + " vec4 a_position;\n" 135 "in " + vtxPrec + " vec4 a_value;\n" 136 "out " + fragPrec + " vec4 v_value;\n" 141 " " + vtxPrec + " vec4 value = a_value;\n" 147 "layout (location = 0) out " + fragPrec + " vec4 o_color;\n" 148 "in " + fragPrec + " vec4 v_value;\n" 152 " " + fragPrec + " vec4 value = v_value;\n" 157 Vec4(1.0f, 0.0f, 0.0f, 0.0f), 158 Vec4(0.0f, 1.0f, 0.0f, 0.0f) [all...] |
/cts/tests/tests/opengl/libopengltest/ |
shader.h | 21 "attribute vec4 gtf_Vertex;\n" 31 "vec4 pos = gtf_ModelViewMatrix * gtf_Vertex;\n" 39 "varying vec4 varyColor; \n" 49 " gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); \n"
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
vec4-spec.js | 23 describe("vec4", function() { 29 beforeEach(function() { result = vec4.create(); }); 34 beforeEach(function() { result = vec4.clone(vecA); }); 39 beforeEach(function() { result = vec4.fromValues(1, 2, 3, 4); }); 44 beforeEach(function() { result = vec4.copy(out, vecA); }); 50 beforeEach(function() { result = vec4.set(out, 1, 2, 3, 4); }); 57 beforeEach(function() { result = vec4.add(out, vecA, vecB); }); 66 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); }); 74 beforeEach(function() { result = vec4.add(vecB, vecA, vecB); }); 83 it("should have an alias called 'sub'", function() { expect(vec4.sub).toEqual(vec4.subtract); }) [all...] |