Searched refs:Vec4 (Results 1 - 25 of 241) sorted by relevance

12345678910

/external/deqp/modules/gles3/functional/
H A Des3fScissorTests.cpp60 using tcu::Vec4;
70 const tcu::Vec4 scissor;
71 const tcu::Vec4 render;
76 { "contained_quads", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
77 { "partial_quads", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
78 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
79 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.
[all...]
H A Des3fFboTestUtil.hpp61 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
[all...]
H A Des3fClippingTests.cpp54 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);
367 std::string genClippingPointInfoString(const tcu::Vec4& p)
381 std::string genColorString(const tcu::Vec4& p)
383 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f);
384 const tcu::Vec4 re
[all...]
H A Des3fShaderTextureFunctionTests.cpp104 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 texture2DArra
[all...]
H A Des3fDefaultVertexAttributeTests.cpp84 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0;
101 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \
135 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \
169 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \
203 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4
[all...]
H A Des3fFboTestCase.hpp59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias);
63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
/external/deqp/modules/gles2/functional/
H A Des2fScissorTests.cpp50 using tcu::Vec4;
60 const tcu::Vec4 scissor;
61 const tcu::Vec4 render;
66 { "contained_tris", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
67 { "partial_tris", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 },
68 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 },
69 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.
[all...]
H A Des2fClippingTests.cpp54 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);
364 std::string genClippingPointInfoString(const tcu::Vec4& p)
378 std::string genColorString(const tcu::Vec4& p)
380 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f);
381 const tcu::Vec4 re
[all...]
H A Des2fRasterizationTests.cpp90 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType);
91 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, glw::GLenum primitiveType);
181 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType)
184 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f));
189 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& colorData, glw::GLenum primitiveType)
224 virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<TriangleSceneSpec::SceneTriangle>& outTriangles) = DE_NULL;
250 std::vector<tcu::Vec4> drawBuffe
[all...]
/external/deqp/framework/common/
H A DtcuTextureUtil.hpp43 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
[all...]
H A DtcuTexLookupVerifier.hpp47 Vec4 colorThreshold; //!< Threshold for match.
98 Vec4 computeFixedPointThreshold (const IVec4& bits);
99 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value);
108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result);
112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result);
113 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4
[all...]
H A DtcuTexture.hpp185 Vec4 borderColor;
199 const Vec4& borderColor_ = Vec4(0.0f, 0.0f, 0.0f, 0.0f),
261 Vec4 getPixel (int x, int y, int z = 0) const;
271 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const;
272 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const;
273 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const;
275 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
276 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
277 Vec4 sample3DOffse
190 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) argument
[all...]
/external/deqp/framework/referencerenderer/
H A DrrFragmentPacket.hpp54 tcu::Vec4 barycentric[3]; //!< Perspective-correct barycentric values.
H A DrrRasterizer.hpp132 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2);
152 tcu::Vec4 m_v0;
153 tcu::Vec4 m_v1;
154 tcu::Vec4 m_v2;
182 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
195 tcu::Vec4 m_v0;
196 tcu::Vec4 m_v
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.hpp58 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 bia
[all...]
H A Des31fFboTestCase.hpp59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias);
63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
/external/deqp/modules/glshared/
H A DglsRasterizationTestUtil.hpp60 tcu::Vec4 positions[3];
61 tcu::Vec4 colors[3];
72 tcu::Vec4 positions[2];
73 tcu::Vec4 colors[2];
84 tcu::Vec4 position;
85 tcu::Vec4 color;
108 CoverageType calculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBits, bool multisample);
H A DglsShaderPerformanceMeasurer.hpp48 AttribSpec (const char* name_, const tcu::Vec4& p00_, const tcu::Vec4& p01_, const tcu::Vec4& p10_, const tcu::Vec4& p11_)
60 tcu::Vec4 p00; //!< Bottom left.
61 tcu::Vec4 p01; //!< Bottom right.
62 tcu::Vec4 p10; //!< Top left.
63 tcu::Vec4 p11; //!< Top right.
H A DglsScissorTests.hpp51 using tcu::Vec4;
80 const Vec4& scissorArea,
81 const Vec4& renderArea,
88 const Vec4& scissorArea,
101 const Vec4& scissorArea);
H A DglsLongStressTestUtil.cpp32 using tcu::Vec4;
131 context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float)numDummyAttributes)));
173 Vec4(0.0f), Vec4(1.0f)));
241 Vec4(0.0f), Vec4(1.0f / (float)numTextures)));
384 context.attributes.push_back(gls::VarSpec("a_position${NS}", Vec4(-1.0f), Vec4(1.0f)));
386 context.attributes.push_back(gls::VarSpec("a_texCoord0${NS}", Vec4(
[all...]
/external/deqp/modules/egl/
H A DteglGLES1RenderUtil.hpp37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
H A DteglGLES2RenderUtil.hpp37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
H A DteglVGRenderUtil.hpp37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
/external/deqp/modules/gles2/scripts/
H A Dgen-swizzles.py168 inVec4 = [Vec4(0.0, 0.5, 0.75, 0.825), Vec4(1.0, 1.25, 1.125, 1.75),
169 Vec4(-0.5, -2.25, -4.875, 9.0), Vec4(-32.0, 64.0, -51.0, 24.0),
170 Vec4(-0.75, -1.0/31.0, 1.0/19.0, 1.0/4.0)]
176 inBVec4 = [Vec4(True, False, False, True), Vec4(False, False, False, True), Vec4(False, True, False, False), Vec4(True, True, True, True), Vec4(Fals
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgen-swizzles.py172 inVec4 = [Vec4(0.0, 0.5, 0.75, 0.825), Vec4(1.0, 1.25, 1.125, 1.75),
173 Vec4(-0.5, -2.25, -4.875, 9.0), Vec4(-32.0, 64.0, -51.0, 24.0),
174 Vec4(-0.75, -1.0/31.0, 1.0/19.0, 1.0/4.0)]
180 inBVec4 = [Vec4(True, False, False, True), Vec4(False, False, False, True), Vec4(False, True, False, False), Vec4(True, True, True, True), Vec4(Fals
[all...]

Completed in 247 milliseconds

12345678910