/external/deqp/modules/gles3/functional/ |
es3fShaderTextureFunctionTests.cpp | 104 tcu::Vec4 minCoord; 105 tcu::Vec4 maxCoord; 140 const tcu::Vec4& minCoord_, 141 const tcu::Vec4& maxCoord_, 219 tcu::Vec4 scale; 220 tcu::Vec4 bias; 235 using tcu::Vec4; 342 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); } 343 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); } 344 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c. (…) [all...] |
es3fShaderReturnTests.cpp | 90 "in mediump vec4 v_color;\n" 91 "layout(location = 0) out mediump vec4 o_color;\n\n" 102 "in highp vec4 a_position;\n" 103 "in highp vec4 a_coords;\n" 104 "out mediump vec4 v_coords;\n\n" 131 "in ${COORDPREC} vec4 ${COORDS};\n" 133 "${COORDPREC} vec4 getColor (void)\n" 136 " return vec4(${COORDS}.xyz, 1.0);\n" 137 " return vec4(${COORDS}.wzy, 1.0);\n" 152 params["EXTRADECL"] = isVertex ? "in highp vec4 a_position;\nout mediump vec4 v_color;\n" : "layout(location = 0) out mediump vec4 o_color;\n" [all...] |
es3fClippingTests.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); 65 "in highp vec4 a_position;\n" 66 "in highp vec4 a_color;\n" 68 "out highp vec4 varFragColor;\n" 76 "layout(location = 0) out mediump vec4 fragColor; [all...] |
/external/deqp/data/gles2/shaders/ |
linkage.test | 38 gl_FragColor = vec4(1.0); 58 gl_FragColor = vec4(1.0); 81 gl_FragColor = vec4(var); 83 gl_FragColor = vec4(1.0); 105 gl_FragColor = vec4(1.0); 128 gl_FragColor = vec4(1.0); 153 gl_FragColor = vec4(var); 155 gl_FragColor = vec4(1.0); 245 desc "varying of type vec4" 248 input vec4 in0 = [ vec4(-1.25, 1.25, -9.5, -12.2) | vec4(-25.65, -7.25, 14.21, -77.7) | vec4(0.0, 1.0, -1.0, (…) [all...] |
invalid_texture_functions.test | 12 vec4 r = texture2D(s, vec2(1.0), 1.0); 19 gl_FragColor = vec4(1.0); 34 vec4 r = textureCube(s, vec3(1.0), 1.0); 41 gl_FragColor = vec4(1.0);
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
distance.ir | 26 (declare (in) vec4 p0) 27 (declare (in) vec4 p1)) 28 ((declare () vec4 p) 29 (assign (xyzw) (var_ref p) (expression vec4 - (var_ref p0) (var_ref p1)))
|
noise4.ir | 2 (signature vec4 3 (parameters (declare (in) vec4 p)) 9 (declare () vec4 _r) 11 (declare () vec4 _p) 12 (assign (xyzw) (var_ref _p) (expression vec4 + (var_ref p) (constant vec4 (1559.0 113.0 1861.0 797.0))) ) 15 (assign (x) (var_ref _y) (expression float noise(expression vec4 + (var_ref p) (constant vec4 (601.0 313.0 29.0 277.0))))) 17 (assign (x) (var_ref _w) (expression float noise(expression vec4 + (var_ref _p) (constant vec4 (601.0 313.0 29.0 277.0)))) [all...] |
dot.ir | 22 (declare (in) vec4 arg0) 23 (declare (in) vec4 arg1))
|
outerProduct.ir | 22 (declare (in) vec4 u) 25 (assign (xyzw) (array_ref (var_ref m) (constant int (0))) (expression vec4 * (var_ref u) (swiz x (var_ref v)))) 26 (assign (xyzw) (array_ref (var_ref m) (constant int (1))) (expression vec4 * (var_ref u) (swiz y (var_ref v)))) 52 (declare (in) vec4 u) 55 (assign (xyzw) (array_ref (var_ref m) (constant int (0))) (expression vec4 * (var_ref u) (swiz x (var_ref v)))) 56 (assign (xyzw) (array_ref (var_ref m) (constant int (1))) (expression vec4 * (var_ref u) (swiz y (var_ref v)))) 57 (assign (xyzw) (array_ref (var_ref m) (constant int (2))) (expression vec4 * (var_ref u) (swiz z (var_ref v)))) 63 (declare (in) vec4 v)) 74 (declare (in) vec4 v)) 84 (declare (in) vec4 u [all...] |
/external/mesa3d/src/glsl/builtins/ir/ |
distance.ir | 26 (declare (in) vec4 p0) 27 (declare (in) vec4 p1)) 28 ((declare () vec4 p) 29 (assign (xyzw) (var_ref p) (expression vec4 - (var_ref p0) (var_ref p1)))
|
noise4.ir | 2 (signature vec4 3 (parameters (declare (in) vec4 p)) 9 (declare () vec4 _r) 11 (declare () vec4 _p) 12 (assign (xyzw) (var_ref _p) (expression vec4 + (var_ref p) (constant vec4 (1559.0 113.0 1861.0 797.0))) ) 15 (assign (x) (var_ref _y) (expression float noise(expression vec4 + (var_ref p) (constant vec4 (601.0 313.0 29.0 277.0))))) 17 (assign (x) (var_ref _w) (expression float noise(expression vec4 + (var_ref _p) (constant vec4 (601.0 313.0 29.0 277.0)))) [all...] |
dot.ir | 22 (declare (in) vec4 arg0) 23 (declare (in) vec4 arg1))
|
outerProduct.ir | 22 (declare (in) vec4 u) 25 (assign (xyzw) (array_ref (var_ref m) (constant int (0))) (expression vec4 * (var_ref u) (swiz x (var_ref v)))) 26 (assign (xyzw) (array_ref (var_ref m) (constant int (1))) (expression vec4 * (var_ref u) (swiz y (var_ref v)))) 52 (declare (in) vec4 u) 55 (assign (xyzw) (array_ref (var_ref m) (constant int (0))) (expression vec4 * (var_ref u) (swiz x (var_ref v)))) 56 (assign (xyzw) (array_ref (var_ref m) (constant int (1))) (expression vec4 * (var_ref u) (swiz y (var_ref v)))) 57 (assign (xyzw) (array_ref (var_ref m) (constant int (2))) (expression vec4 * (var_ref u) (swiz z (var_ref v)))) 63 (declare (in) vec4 v)) 74 (declare (in) vec4 v)) 84 (declare (in) vec4 u [all...] |
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/ |
vignette_fs.glsl | 6 lowp vec4 color = texture2D(UNI_Tex0, varTex0); 12 color = vec4(mix(color.rgb, vec3(0.0), gradient), 1.0); 24 lowp vec4 crt = vec4(r[channel], g[channel], b[channel], 1.0);
|
/frameworks/base/core/res/res/raw/ |
color_fade_frag.frag | 14 vec4 p = rgb.g < rgb.b ? vec4(rgb.bg, -1.0, 2.0 / 3.0) : vec4(rgb.gb, 0.0, -1.0 / 3.0); 15 vec4 q = rgb.r < p.x ? vec4(p.xyw, rgb.r) : vec4(rgb.r, p.yzx); 38 vec4 color = texture2D(texUnit, UV); 41 gl_FragColor = vec4(rgb, 1.0);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
shader2v.glsl | 12 vec4 objPos = ATTRIB_position; 13 vec4 worldPos = UNI_model * objPos;
|
/development/ndk/platforms/android-18/samples/MoreTeapots/assets/Shaders/ |
VS_ShaderPlainES3.vsh | 21 uniform lowp vec4 vMaterialSpecular; 23 out lowp vec4 colorDiffuse; 30 highp vec4 p = vec4(myVertex,1); 38 colorDiffuse = dot( worldNormal, normalize(-vLight0+ecPosition) ) * vec4(vMaterialDiffuse[gl_InstanceID%ARB%], 1.f) + vec4( vMaterialAmbient, 1 );
|
/external/deqp/data/gles3/shaders/ |
negative.test | 16 ${POSITION_FRAG_COLOR} = vec4(0.0); 32 ${POSITION_FRAG_COLOR} = vec4(b); 47 ${POSITION_FRAG_COLOR} = vec4(0.0); 63 ${POSITION_FRAG_COLOR} = vec4(0.0); 79 ${POSITION_FRAG_COLOR} = vec4(0.0); 95 ${POSITION_FRAG_COLOR} = vec4(0.0);
|
qualification_order.test | 15 in highp vec4 dEQP_Position; 34 layout(location = 0) out mediump vec4 dEQP_FragColor; 45 dEQP_FragColor = vec4(result, result, result, 1.0); 56 in highp vec4 dEQP_Position; 75 layout(location = 0) out mediump vec4 dEQP_FragColor; 86 dEQP_FragColor = vec4(result, result, result, 1.0); 97 in highp vec4 dEQP_Position; 116 layout(location = 0) out mediump vec4 dEQP_FragColor; 127 dEQP_FragColor = vec4(result, result, result, 1.0); 138 in highp vec4 dEQP_Position [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.hpp | 43 Vec4 sRGBToLinear (const Vec4& cs); 44 Vec4 linearToSRGB (const Vec4& cl); 67 Vec4 valueMin; 68 Vec4 valueMax; 69 Vec4 lookupScale; 70 Vec4 lookupBias; 72 TextureFormatInfo (const Vec4& valueMin_, const Vec4& valueMax_, const Vec4& lookupScale_, const Vec4& lookupBias_ [all...] |
/external/chromium_org/third_party/angle/tests/compiler_tests/ |
ExpressionLimit_test.cpp | 54 *ss << "+ vec4(" << ii << ")"; 62 uniform vec4 u_color; 80 uniform vec4 u_color; 85 vec4 someFunction() { 102 uniform vec4 u_color; 103 vec4 function0() { 110 *ss << "vec4 function" << (ii + 1) << "() {\n" 136 << " gl_FragColor = vec4(0,0,0,0);\n" 304 uniform vec4 u_color; 305 vec4 someFunc() [all...] |
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
builtin_function.cpp | 99 " (signature vec4\n" 101 " (declare (in) vec4 arg0))\n" 102 " ((return (expression vec4 abs (var_ref arg0)))))\n" 149 " (signature vec4\n" 151 " (declare (in) vec4 x))\n" 152 " ((declare () vec4 s)\n" 154 " (return (expression vec4 - (constant float (1.5707964)) (var_ref s)))))\n" 175 " (signature vec4\n" 177 " (declare (in) vec4 x))\n" 178 " ((return (expression vec4 log (expression vec4 + (var_ref x) (expression vec4 sqrt (expression vec4 - (expression vec4 * (va (…) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderReturnTests.cpp | 100 "varying mediump vec4 v_color;\n\n" 110 "attribute highp vec4 a_position;\n" 111 "attribute highp vec4 a_coords;\n" 112 "varying mediump vec4 v_coords;\n\n" 157 "${COORDSTORAGE} ${COORDPREC} vec4 ${COORDS};\n" 159 "${COORDPREC} vec4 getColor (void)\n" 162 " return vec4(${COORDS}.xyz, 1.0);\n" 163 " return vec4(${COORDS}.wzy, 1.0);\n" 179 params["EXTRADECL"] = isVertex ? "attribute highp vec4 a_position;\nvarying mediump vec4 v_color;\n" : "" [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_opcodes.h | 40 /** vec4 instruction: dst.c = abs(src0.c); */ 43 /** vec4 instruction: dst.c = src0.c + src1.c; */ 50 /** vec4 instruction: dst.c = ceil(src0.c) */ 53 /** vec4 instruction: dst.c = clamp(src0.c, src1.c, src2.c) */ 56 /** vec4 instruction: dst.c = src0.c < 0.0 ? src1.c : src2.c */ 59 /** vec4 instruction: dst.c = src2.c > 0.5 ? src0.c : src1.c */ 65 /** special instruction: take vec4 partial derivative in X direction 69 /** special instruction: take vec4 partial derivative in Y direction 94 /** vec4 instruction: dst.c = floor(src0.c) */ 97 /** vec4 instruction: dst.c = src0.c - floor(src0.c) * [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_opcodes.h | 40 /** vec4 instruction: dst.c = abs(src0.c); */ 43 /** vec4 instruction: dst.c = src0.c + src1.c; */ 50 /** vec4 instruction: dst.c = ceil(src0.c) */ 53 /** vec4 instruction: dst.c = clamp(src0.c, src1.c, src2.c) */ 56 /** vec4 instruction: dst.c = src0.c < 0.0 ? src1.c : src2.c */ 59 /** vec4 instruction: dst.c = src2.c > 0.5 ? src0.c : src1.c */ 65 /** special instruction: take vec4 partial derivative in X direction 69 /** special instruction: take vec4 partial derivative in Y direction 94 /** vec4 instruction: dst.c = floor(src0.c) */ 97 /** vec4 instruction: dst.c = src0.c - floor(src0.c) * [all...] |