HomeSort by relevance Sort by last modified time
    Searched refs:Vec4 (Results 51 - 75 of 251) sorted by null

1 23 4 5 6 7 8 91011

  /external/deqp/modules/gles3/functional/
es3fTextureSizeTests.cpp 105 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f));
222 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
224 { tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative x
225 { tcu::Vec4( 0.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive x
226 { tcu::Vec4(-1.0f, 0.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative y
227 { tcu::Vec4(-1.0f, -1.0f, 0.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive
    [all...]
es3fPolygonOffsetTests.cpp 60 "in highp vec4 a_position;\n"
61 "in highp vec4 a_color;\n"
62 "out highp vec4 v_color;\n"
69 "in highp vec4 v_color;\n"
70 "layout(location = 0) out mediump vec4 fragColor;"
76 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
77 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
78 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)
    [all...]
es3fMultisampleTests.cpp 53 using tcu::Vec4;
166 errorImg.setPixel(Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y);
211 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
212 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& color) const;
213 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
214 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const
    [all...]
es3fShaderInvarianceTests.cpp 51 static tcu::Vec4 genRandomVector (de::Random& rnd)
53 tcu::Vec4 retVal;
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2);
214 const tcu::Vec4 vertex1 = genRandomVector(rnd);
215 const tcu::Vec4 vertex2 = genRandomVector(rnd);
216 const tcu::Vec4 vertex3 = vertex2 + genRandomVector(rnd) * 0.01f; // generate narrow triangles
234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[0], GL_STATIC_DRAW);
278 const tcu::Vec4 red = tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f);
279 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fPolygonOffsetTests.cpp 59 const char* s_shaderSourceVertex = "attribute highp vec4 a_position;\n"
60 "attribute highp vec4 a_color;\n"
61 "varying mediump vec4 v_color;\n"
67 const char* s_shaderSourceFragment = "varying mediump vec4 v_color;\n"
73 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
74 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
75 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)
    [all...]
es2fMultisampleTests.cpp 52 using tcu::Vec4;
164 errorImg.setPixel(Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y);
187 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
188 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& color) const;
189 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
190 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const
    [all...]
es2fShaderInvarianceTests.cpp 51 static tcu::Vec4 genRandomVector (de::Random& rnd)
53 tcu::Vec4 retVal;
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2);
214 const tcu::Vec4 vertex1 = genRandomVector(rnd);
215 const tcu::Vec4 vertex2 = genRandomVector(rnd);
216 const tcu::Vec4 vertex3 = vertex2 + genRandomVector(rnd) * 0.01f; // generate narrow triangles
234 gl.bufferData(GL_ARRAY_BUFFER, (int)(triangles.size() * sizeof(tcu::Vec4)), &triangles[0], GL_STATIC_DRAW);
278 const tcu::Vec4 red = tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f);
279 const tcu::Vec4 green = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)
    [all...]
  /external/deqp/modules/gles2/performance/
es2pShaderControlStatementTests.cpp 43 using tcu::Vec4;
194 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
195 vtx << "attribute mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch.
196 vtx << "attribute mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch.
207 vtx << "varying mediump vec4 v_color;\n";
208 frag << "varying mediump vec4 v_color;\n";
212 vtx << "varying mediump vec4 v_value0;\n";
213 vtx << "varying mediump vec4 v_value1;\n";
214 frag << "varying mediump vec4 v_value0;\n";
215 frag << "varying mediump vec4 v_value1;\n"
    [all...]
es2pBlendTests.cpp 40 using tcu::Vec4;
89 "attribute highp vec4 a_position;\n"
90 "attribute mediump vec4 a_color;\n"
91 "varying mediump vec4 v_color;\n"
98 "varying mediump vec4 v_color;\n"
104 m_attributes.push_back(AttribSpec("a_color", Vec4(0.0f, 0.5f, 0.5f, 1.0f),
105 Vec4(0.5f, 1.0f, 0.0f, 0.5f),
106 Vec4(0.5f, 0.0f, 1.0f, 0.5f),
107 Vec4(1.0f, 0.5f, 0.5f, 0.0f)));
es2pTextureCases.cpp 47 using tcu::Vec4;
117 m_attributes.push_back(AttribSpec("a_coords", Vec4(p00.x(), p00.y(), 0.0f, 0.0f),
118 Vec4(p10.x(), p10.y(), 0.0f, 0.0f),
119 Vec4(p01.x(), p01.y(), 0.0f, 0.0f),
120 Vec4(p11.x(), p11.y(), 0.0f, 0.0f)));
134 "attribute highp vec4 a_position;\n"
153 fragSrc << "\t" << (texNdx == 0 ? "lowp vec4 r = " : "r += ") << "texture2D(u_sampler" << texNdx << ", v_coords);\n";
176 Vec4(0.0f, 0.0f, 0.0f, 0.0f).swizzle(sw[0], sw[1], sw[2], sw[3]),
177 Vec4(1.0f, 1.0f, 1.0f, 1.0f).swizzle(sw[0], sw[1], sw[2], sw[3]));
  /external/deqp/modules/gles3/performance/
es3pShaderControlStatementTests.cpp 43 using tcu::Vec4;
195 vtx << "in highp vec4 a_position;\n"; // Position attribute.
196 vtx << "in mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch.
197 vtx << "in mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch.
200 frag << "layout(location = 0) out mediump vec4 o_color;\n";
211 vtx << "out mediump vec4 v_color;\n";
212 frag << "in mediump vec4 v_color;\n";
216 vtx << "out mediump vec4 v_value0;\n";
217 vtx << "out mediump vec4 v_value1;\n";
218 frag << "in mediump vec4 v_value0;\n"
    [all...]
  /external/deqp/framework/randomshaders/
rsgSamplers.hpp 49 inline tcu::Vec4 sample (float s, float t, float lod) const
74 inline tcu::Vec4 sample (float s, float t, float r, float lod) const
  /external/deqp/framework/referencerenderer/
rrMultisamplePixelBufferAccess.hpp 93 tcu::Vec4 resolveMultisamplePixel (const MultisampleConstPixelBufferAccess& access, int x, int y);
95 void clear (const MultisamplePixelBufferAccess& access, const tcu::Vec4& color);
rrVertexAttrib.cpp 72 inline void readUnormOrder (tcu::Vec4& dst, const int size, const void* ptr)
86 inline void readSnormClamp (tcu::Vec4& dst, const int size, const void* ptr)
101 inline void readSnormScale (tcu::Vec4& dst, const int size, const void* ptr)
115 inline void readHalf (tcu::Vec4& dst, const int size, const void* ptr)
126 inline void readFixed (tcu::Vec4& dst, const int size, const void* ptr)
137 inline void readDouble (tcu::Vec4& dst, const int size, const void* ptr)
179 inline void readUnorm2101010RevOrder (tcu::Vec4& dst, const int size, const void* ptr)
194 inline void readSnorm2101010RevClampOrder (tcu::Vec4& dst, const int size, const void* ptr)
210 inline void readSnorm2101010RevScaleOrder (tcu::Vec4& dst, const int size, const void* ptr)
234 inline void readUnorm (tcu::Vec4& dst, const int size, const void* ptr
    [all...]
rrFragmentOperations.cpp 30 using tcu::Vec4;
55 static inline Vec4 unpremultiply (const Vec4& v)
58 return Vec4(v.x()/v.w(), v.y()/v.w(), v.z()/v.w(), v.w());
62 return Vec4(0.0f, 0.0f, 0.0f, 0.0f);
66 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const Vec4& v, const WindowRectangle& r) { tcu::clear(tcu::getSubregion(dst, 0, r.left, r.bottom, dst.getWidth(), r.width, r.height), v); }
304 void FragmentProcessor::executeBlendFactorComputeRGB (const Vec4& blendColor, const BlendState& blendRGBState)
311 const Vec4& src = m_sampleRegister[regSampleNdx].clampedBlendSrcColor; \
312 const Vec4& src1 = m_sampleRegister[regSampleNdx].clampedBlendSrc1Color; \
313 const Vec4& dst = m_sampleRegister[regSampleNdx].clampedBlendDstColor;
    [all...]
  /external/deqp/modules/egl/
teglGLES1RenderUtil.cpp 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color)
63 void clear (int x, int y, int width, int height, const tcu::Vec4& color)
teglVGRenderUtil.cpp 41 void clear (int x, int y, int width, int height, const tcu::Vec4& color)
61 void clear (int x, int y, int width, int height, const tcu::Vec4& color)
  /external/deqp/modules/gles31/functional/
es31fFboTestUtil.cpp 50 using tcu::Vec4;
69 static tcu::Vector<T, 4> castVectorSaturate (const tcu::Vec4& in)
90 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n";
91 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n";
95 src << "uniform " << precision << " vec4 u_outScale0;\n"
96 << "uniform " << precision << " vec4 u_outBias0;\n";
101 << " " << precision << " vec4 out0 = vec4(0.0);\n";
105 src << "\tout0 += vec4("
127 "in highp vec4 a_position;\n
    [all...]
es31fGeometryShaderTests.cpp 71 "in highp vec4 a_position;\n"
72 "in highp vec4 a_color;\n"
73 "out highp vec4 v_geom_FragColor;\n"
81 "layout(location = 0) out mediump vec4 fragColor;\n"
82 "in mediump vec4 v_frag_FragColor;\n"
87 static const char* const s_expandShaderSourceGeometryBody = "in highp vec4 v_geom_FragColor[];\n"
88 "out highp vec4 v_frag_FragColor;\n"
92 " const highp vec4 offset0 = vec4(-0.07, -0.01, 0.0, 0.0);\n"
93 " const highp vec4 offset1 = vec4( 0.03, -0.03, 0.0, 0.0);\n
    [all...]
es31fTextureSpecificationTests.cpp 61 using tcu::Vec4;
340 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
341 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
380 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
381 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
442 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin;
443 Vec4 cBias = m_texFormatInfo.valueMin;
444 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias;
445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias
    [all...]
  /external/deqp/modules/glshared/
glsShaderRenderCase.hpp 154 tcu::Vec4 coords;
155 tcu::Vec4 unitCoords;
156 tcu::Vec4 constCoords;
158 tcu::Vec4 in[MAX_USER_ATTRIBS];
162 tcu::Vec4 color;
167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
219 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
249 tcu::Vec4 m_clearColor;
glsTextureTestUtil.hpp 121 tcu::Vec4 w; //!< w coordinates for quad vertices.
126 tcu::Vec4 colorScale; //!< Scale for texture color values.
127 tcu::Vec4 colorBias; //!< Bias for texture color values.
243 inline tcu::RGBA toRGBA (const tcu::Vec4& v)
251 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask)
259 inline tcu::Vec4 toVec4 (const tcu::RGBA& c)
261 return tcu::Vec4(c.getRed() / 255.0f,
299 void setPixel (const tcu::Vec4& color, int x, int y) const;
310 inline void SurfaceAccess::setPixel (const tcu::Vec4& color, int x, int y) const
357 void clear (const SurfaceAccess& dst, const tcu::Vec4& color)
    [all...]
glsTextureBufferCase.cpp 175 tcu::Vec4 position;
179 packet->outputs[0] = tcu::Vec4(1.0f);
180 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
201 tcu::Vec4 position;
202 tcu::Vec4 texelValue;
206 texelValue = tcu::Vec4(m_texture.getPixel(de::clamp<int>((deRoundFloatToInt32(position.x() * 4) + 4) * (deRoundFloatToInt32(position.y() * 4) + 4), 0, m_texture.getWidth()-1), 0));
209 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
234 const tcu::Vec4 vtxColor0 = rr::readVarying<float>(packet, context, 0, 0);
235 const tcu::Vec4 vtxColor1 = rr::readVarying<float>(packet, context, 0, 1);
236 const tcu::Vec4 vtxColor2 = rr::readVarying<float>(packet, context, 0, 2)
    [all...]
  /external/deqp/framework/common/
tcuTexLookupVerifier.cpp 70 const Vec4 p = access.getPixel(i, j, k);
77 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result)
79 const Vec4 diff = abs(ref - result);
95 Vec4 p00; //!< (0, 0)
96 Vec4 p01; //!< (1, 0)
97 Vec4 p10; //!< (0, 1)
98 Vec4 p11; //!< (1, 1)
111 Vec4 p0; //!< 0
112 Vec4 p1; //!<
    [all...]
tcuImageCompare.hpp 53 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode);
54 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode logMode);

Completed in 1252 milliseconds

1 23 4 5 6 7 8 91011