/external/deqp/modules/gles3/functional/ |
es3fScissorTests.cpp | 60 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.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 } [all...] |
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...] |
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...] |
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...] |
es3fDefaultVertexAttributeTests.cpp | 54 "layout(location = 0) out mediump vec4 fragColor;\n" 55 "in mediump vec4 v_color;\n" 84 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 [all...] |
es3fFboTestCase.hpp | 59 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/ |
es2fScissorTests.cpp | 50 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.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 } [all...] |
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...] |
es2fRasterizationTests.cpp | 52 static const char* const s_shaderVertexTemplate = "attribute highp vec4 a_position;\n" 53 "attribute highp vec4 a_color;\n" 54 "varying highp vec4 v_color;\n" 62 static const char* const s_shaderFragmentTemplate = "varying mediump vec4 v_color;\n" 90 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)) [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...] |
tcuTexLookupVerifier.hpp | 47 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& result) [all...] |
tcuTexture.hpp | 185 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 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float (…) [all...] |
/external/deqp/framework/referencerenderer/ |
rrFragmentPacket.hpp | 54 tcu::Vec4 barycentric[3]; //!< Perspective-correct barycentric values.
|
rrRasterizer.hpp | 132 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_v1 [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...] |
es31fFboTestCase.hpp | 59 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/ |
glsRasterizationTestUtil.hpp | 60 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);
|
glsShaderPerformanceMeasurer.hpp | 48 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.
|
glsScissorTests.hpp | 51 using tcu::Vec4; 80 const Vec4& scissorArea, 81 const Vec4& renderArea, 88 const Vec4& scissorArea, 101 const Vec4& scissorArea);
|
glsLongStressTestUtil.cpp | 32 using tcu::Vec4; 63 params["FRAG_HEADER"] = isGLSL3 ? "#version 300 es\nlayout(location = 0) out mediump vec4 dEQP_FragColor;\n" : ""; 94 "${VTX_OUT} mediump vec4 v_color;\n" 98 " gl_Position = vec4(a_position, 1.0);\n" 104 "${FRAG_IN} mediump vec4 v_color;\n" 118 vtxDummyInputs += "${VTX_IN} mediump vec4 a_in" + toString(i) + ";\n"; 131 context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float)numDummyAttributes))); 147 " gl_Position = u_posTrans * vec4(a_position, 1.0);\n" 173 Vec4(0.0f), Vec4(1.0f))) [all...] |
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.hpp | 37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
|
teglGLES2RenderUtil.hpp | 37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
|
teglVGRenderUtil.hpp | 37 void clear (int x, int y, int width, int height, const tcu::Vec4& color);
|
/external/deqp/modules/gles2/scripts/ |
gen-swizzles.py | 17 # * legal to chain: vec4.rgba.xyzw.stpq 47 VECTOR_TYPES = [ "vec2", "vec3", "vec4", "ivec2", "ivec3", "ivec4", "bvec2", "bvec3", "bvec4" ] 57 "vec4": 4, 168 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(Fa (…) [all...] |
/external/deqp/modules/gles3/scripts/ |
gen-swizzles.py | 17 # * legal to chain: vec4.rgba.xyzw.stpq 47 VECTOR_TYPES = [ "vec2", "vec3", "vec4", "ivec2", "ivec3", "ivec4", "bvec2", "bvec3", "bvec4" ] 57 "vec4": 4, 172 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(Fa (…) [all...] |