HomeSort by relevance Sort by last modified time
    Searched refs:Vec4 (Results 126 - 150 of 540) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/deqp/modules/gles3/functional/
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...]
es3fShaderMetamorphicTests.cpp 262 tcu::Vec4 m_RGBA;
264 SanityPixel (float xRelative, float yRelative, tcu::Vec4 RGBA);
267 SanityPixel::SanityPixel (float xRelative, float yRelative, tcu::Vec4 RGBA)
277 const tcu::Vec4 threshold = tcu::Vec4(0.01f, 0.01f, 0.01f, 0.01f);
284 tcu::Vec4 RGBA = img.getPixel(x, y, depth);
285 tcu::Vec4 diff = abs(RGBA - sanPix.m_RGBA);
298 sanityPixels.push_back(SanityPixel(0.5f, 0.5f, tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f)));
309 sanityPixels.push_back(SanityPixel(0.25f, 0.25f, tcu::Vec4(0.1f, 0.6f, 1.0f, 1.0f)));
310 sanityPixels.push_back(SanityPixel(0.25f, 0.75f, tcu::Vec4(1.0f, 0.5f, 0.1f, 1.0f)))
    [all...]
es3fTextureSpecificationTests.cpp 61 using tcu::Vec4;
672 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
673 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
731 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
732 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
772 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
773 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
812 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
813 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
870 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax)
    [all...]
  /external/deqp/modules/gles2/functional/
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...]
es2fVertexTextureTests.cpp 48 using tcu::Vec4;
193 Vec4 getQuadLDRU (int col, int row) const; //!< Vec4(leftX, downY, rightX, upY)
211 Vec4 PosTexCoordQuadGrid<TexType>::getQuadLDRU (int col, int row) const
216 return Vec4(m_positions[ndx00].x(),
334 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst)
341 const Vec4 color = quadColors[y*gridSize + x];
342 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1]
359 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); }
360 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { ret (…)
    [all...]
  /external/deqp/modules/gles2/performance/
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/external/vulkancts/modules/vulkan/pipeline/
vktPipelineInputAssemblyTests.cpp 237 "layout(location = 0) in vec4 position;\n"
238 "layout(location = 1) in vec4 color;\n"
239 "layout(location = 0) out highp vec4 vtxColor;\n"
252 "layout(location = 0) in highp vec4 vtxColor;\n"
253 "layout(location = 0) out highp vec4 fragColor;\n"
292 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f);
293 const tcu::Vec4 green (0.0f, 1.0f, 0.0f, 1.0f);
297 const Vertex4RGBA defaultVertex = { tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), green };
348 tcu::Vec4(originX + float(primitiveNdx / 2) * primitiveSizeX, originY + float(primitiveNdx % 2) * primitiveSizeY, 0.0f, 1.0f),
364 tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(vertexNdx % (…)
    [all...]
  /external/deqp/modules/glshared/
glsTextureBufferCase.cpp 169 tcu::Vec4 position;
173 packet->outputs[0] = tcu::Vec4(1.0f);
174 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
195 tcu::Vec4 position;
196 tcu::Vec4 texelValue;
200 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));
203 packet->position = tcu::Vec4(2.0f * (position.x() - 0.5f), 2.0f * (position.y() - 0.5f), 0.0f, 1.0f);
228 const tcu::Vec4 vtxColor0 = rr::readVarying<float>(packet, context, 0, 0);
229 const tcu::Vec4 vtxColor1 = rr::readVarying<float>(packet, context, 0, 1);
230 const tcu::Vec4 vtxColor2 = rr::readVarying<float>(packet, context, 0, 2)
    [all...]
glsScissorTests.cpp 68 using tcu::Vec4;
130 "${IN} highp vec4 a_position;\n"
137 "uniform highp vec4 u_color;\n"
157 params["OUT_DECL"] = "out mediump vec4 f_color;\n";
172 ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea);
181 const Vec4 m_scissorArea;
184 ScissorCase::ScissorCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char *name, const char* desc, const Vec4& scissorArea)
198 const tcu::Vec4 threshold = 0.02f * UVec4(1u << de::max(0, 8 - renderFormat.redBits),
292 const Vec4& scissorArea,
293 const Vec4& renderArea
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawInstancedTests.cpp 76 VertexPositionAndColor (tcu::Vec4 position_, tcu::Vec4 color_)
82 tcu::Vec4 position;
83 tcu::Vec4 color;
173 const tcu::Vec4 position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance);
174 const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance);
175 const tcu::Vec4 color2 = rr::readVertexAttribFloat(inputs[2], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance);
176 packets[packetNdx]->position = position + tcu::Vec4((float)(packets[packetNdx]->instanceNdx * 2.0 / m_numInstances), 0.0, 0.0, 0.0);
177 packets[packetNdx]->outputs[0] = color + tcu::Vec4((float)instanceNdx / (float)m_numInstances, 0.0, 0.0, 1.0) + color2;
205 const tcu::Vec4 color = rr::readVarying<float>(packet, context, 0, fragNdx)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemFillUpdateCopyBufferTests.cpp 310 { tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f) }
316 { tcu::Vec4(18.8f), tcu::Vec4(18.8f), tcu::Vec4(18.8f), tcu::Vec4(18.8f) }
322 { tcu::Vec4(669154.6f), tcu::Vec4(669154.6f), tcu::Vec4(669154.6f), tcu::Vec4(669154.6f)
    [all...]
  /external/deqp/framework/common/
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);
tcuRGBA.cpp 31 RGBA::RGBA (const Vec4& v)
40 Vec4 RGBA::toVec (void) const
42 return Vec4(float(getRed()) / 255.0f,
  /external/deqp/framework/opengl/
gluTextureTestUtil.hpp 101 tcu::Vec4 w; //!< w coordinates for quad vertices.
106 tcu::Vec4 colorScale; //!< Scale for texture color values.
107 tcu::Vec4 colorBias; //!< Bias for texture color values.
159 void fetchTexture (const tcu::SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias);
371 tcu::Vec4 colorThreshold; //!< Threshold for color value comparison.
381 LogGradientFmt (const tcu::Vec4* min_, const tcu::Vec4* max_) : valueMin(min_), valueMax(max_) {}
382 const tcu::Vec4* valueMin;
383 const tcu::Vec4* valueMax
    [all...]
  /external/deqp/framework/referencerenderer/
rrVertexAttrib.hpp 151 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0);
157 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0)
159 tcu::Vec4 v;
rrRasterizer.cpp 465 void TriangleRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2)
605 const tcu::Vec4 e01f = e01.asFloat();
606 const tcu::Vec4 e12f = e12.asFloat();
607 const tcu::Vec4 e20f = e20.asFloat();
612 const tcu::Vec4 edgeSum = e01f + e12f + e20f;
613 const tcu::Vec4 z0 = e12f / edgeSum;
614 const tcu::Vec4 z1 = e20f / edgeSum;
626 const tcu::Vec4 b0 = e12f * m_v0.w()
    [all...]
rrPrimitivePacket.cpp 38 void GeometryEmitter::EmitVertex (const tcu::Vec4& position, float pointSize, const GenericVec4* varyings, int primitiveID)
rrMultisamplePixelBufferAccess.hpp 96 tcu::Vec4 resolveMultisamplePixel (const MultisampleConstPixelBufferAccess& access, int x, int y);
98 void clear (const MultisamplePixelBufferAccess& access, const tcu::Vec4& color);
  /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
vktDynamicStateDSTests.cpp 212 (deUint32)sizeof(tcu::Vec4) * 2,
404 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec()));
405 m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec()));
406 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec()));
407 m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec()));
409 m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec()));
410 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec()));
411 m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec()));
412 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec()));
414 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()))
    [all...]
vktDynamicStateCBTests.cpp 55 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
56 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
57 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
58 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
124 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f));
135 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.33f, 1.0f, 0.66f, 1.0f), x, y);
  /external/deqp/modules/egl/
teglGLES2RenderUtil.cpp 35 void clear (const glw::Functions& gl, int x, int y, int width, int height, const tcu::Vec4& color)
  /external/deqp/external/vulkancts/framework/vulkan/
vkCmdUtil.hpp 68 const tcu::Vec4& clearColor,
84 const tcu::Vec4& clearColor,
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktTextureCompressedFormatTests.cpp 117 sampleParams.colorBias = tcu::Vec4(0.0f);
118 sampleParams.colorScale = tcu::Vec4(1.0f);
122 sampleParams.colorBias = tcu::Vec4(0.5f, 0.0f, 0.0f, 0.0f);
123 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f);
127 sampleParams.colorBias = tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f);
128 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f);
vktTextureFilteringExplicitLodTests.cpp 586 std::vector<Vec4> m_resultSamples;
587 std::vector<Vec4> m_resultCoords;
735 // Staging buffers; data will be copied into vectors of Vec4
754 m_resultSamples[ndx] = Vec4(resultSamplesTemp[4 * ndx + 0],
759 m_resultCoords [ndx] = Vec4(resultCoordsTemp [4 * ndx + 0],
1125 const Vec4 cBias = fmtInfo.valueMin;
1126 const Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin;
1130 const Vec4 gMin = Vec4(0.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias;
1131 const Vec4 gMax = Vec4(1.0f, 1.0f, 1.0f, 0.0f) * cScale + cBias
    [all...]

Completed in 357 milliseconds

1 2 3 4 56 7 8 91011>>