/external/deqp/framework/common/ |
H A D | tcuVectorType.hpp | 41 typedef Vector<float, 4> Vec4; typedef in namespace:tcu
|
H A D | tcuTexture.hpp | 270 const Vec4& borderColor_ = Vec4(0.0f, 0.0f, 0.0f, 0.0f), 298 , borderColor (Vec4(0.0f, 0.0f, 0.0f, 0.0f)) 343 Vec4 getPixel (int x, int y, int z = 0) const; 353 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const; 354 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const; 355 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const; 357 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const; 358 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const; 359 Vec4 sample3DOffse 261 Sampler(WrapMode wrapS_, WrapMode wrapT_, WrapMode wrapR_, FilterMode minFilter_, FilterMode magFilter_, float lodThreshold_ = 0.0f, bool normalizedCoords_ = true, CompareMode compare_ = COMPAREMODE_NONE, int compareChannel_ = 0, const Vec4& borderColor_ = Vec4(0.0f, 0.0f, 0.0f, 0.0f), bool seamlessCubeMap_ = false, DepthStencilMode depthStencilMode_ = MODE_DEPTH) argument [all...] |
/external/deqp/modules/gles31/scripts/ |
H A D | gen-implicit-conversions.py | 29 from genutil import Scalar, Vec2, Vec3, Vec4, Uint, UVec2, UVec3, UVec4, CaseGroup namespace 239 "ivec4": [Vec4(x[0], x[1], x[2], x[3]) for x in IN_IVECTOR], 240 "uvec4": [Vec4(x[0], x[1], x[2], x[3]) for x in IN_UVECTOR], 244 "vec4": [Vec4(x[0], x[1], x[2], x[3]).toFloat() for x in IN_IVECTOR], 306 elif isinstance(a, Scalar) and isinstance(b, Vec4): 383 "vec4": Vec4(1.0, 2.0, 3.0, 4.0), 618 return Vec4(out[0], out[1], out[2], out[3]).toFloat() 620 return Vec4(out[0], out[1], out[2], out[3]).toUint()
|
H A D | genutil.py | 148 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)] 155 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)] 241 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x) 321 elif isinstance(val, Vec4): 322 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w) 333 elif isinstance(val, Vec4): 334 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w) 371 else: return Vec4(lst[0], lst[1], lst[2], lst[3]) 410 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0) 521 def toVec4(self): return Vec4(sel 625 class Vec4(Vec): class in inherits:Vec [all...] |
/external/deqp/modules/gles2/scripts/ |
H A D | genutil.py | 138 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)] 145 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)] 228 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x) 287 elif isinstance(val, Vec4): 288 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w) 299 elif isinstance(val, Vec4): 300 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w) 311 else: return Vec4(lst[0], lst[1], lst[2], lst[3]) 344 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0) 430 def toVec4(self): return Vec4(sel 507 class Vec4(Vec): class in inherits:Vec [all...] |
/external/deqp/modules/gles3/scripts/ |
H A D | genutil.py | 148 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)] 155 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)] 241 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x) 319 elif isinstance(val, Vec4): 320 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w) 331 elif isinstance(val, Vec4): 332 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w) 369 else: return Vec4(lst[0], lst[1], lst[2], lst[3]) 408 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0) 519 def toVec4(self): return Vec4(sel 623 class Vec4(Vec): class in inherits:Vec [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cShaderBitfieldOperationTests.cpp | 111 struct Vec4 : public Data struct in namespace:glcts 113 Vec4(GLfloat x = 0.0f, GLfloat y = 0.0f, GLfloat z = 0.0f, GLfloat w = 0.0f) function in struct:glcts::Vec4 1308 frexpGroup->addChild(new ShaderBitfieldOperationCaseFrexpFloat(m_context, "float_zero", m_glslVersion, Vec4(0.0))); 1314 Vec4(rnd.getFloat()))); 1317 new ShaderBitfieldOperationCaseFrexpVec2(m_context, "vec2_zero", m_glslVersion, Vec4(0.0, 0.0))); 1323 Vec4(rnd.getFloat(), -rnd.getFloat()))); 1326 new ShaderBitfieldOperationCaseFrexpVec3(m_context, "vec3_zero", m_glslVersion, Vec4(0.0, 0.0, 0.0))); 1332 m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()))); 1335 new ShaderBitfieldOperationCaseFrexpVec4(m_context, "vec4_zero", m_glslVersion, Vec4(0.0, 0.0, 0.0, 0.0))); 1342 Vec4(rn [all...] |