Home
last modified time | relevance | path

Searched refs:Vec4 (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fScissorTests.cpp50 using tcu::Vec4; in init()
60 const tcu::Vec4 scissor; in init()
61 const tcu::Vec4 render; in init()
66 …", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init()
67 … "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f… in init()
68 …ntained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init()
69 …osing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f… in init()
70 …tial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
71 …i", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
72 …tial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
[all …]
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);
363 std::string genClippingPointInfoString(const tcu::Vec4& p) in genClippingPointInfoString()
377 std::string genColorString(const tcu::Vec4& p) in genColorString()
379 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f); in genColorString()
380 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString()
381 const tcu::Vec4 yellow (1.0f, 1.0f, 0.0f, 1.0f); in genColorString()
382 const tcu::Vec4 blue (0.0f, 0.0f, 1.0f, 1.0f); in genColorString()
483 …ext, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* poi…
[all …]
Des2fRasterizationTests.cpp95 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
96 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec…
185 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives()
188 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
193 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives()
228 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria…
254 std::vector<tcu::Vec4> drawBuffer; in iterate()
304 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce…
340 std::vector<tcu::Vec4> drawBuffer; in iterate()
413 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fScissorTests.cpp60 using tcu::Vec4; in init()
70 const tcu::Vec4 scissor; in init()
71 const tcu::Vec4 render; in init()
76 …s", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init()
77 … "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f… in init()
78 …ntained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init()
79 …osing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f… in init()
80 …tial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
81 …i", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
82 …tial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init()
[all …]
Des3fShaderTextureFunctionTests.cpp107 tcu::Vec4 minCoord;
108 tcu::Vec4 maxCoord;
143 const tcu::Vec4& minCoord_, in TextureLookupSpec()
144 const tcu::Vec4& maxCoord_, in TextureLookupSpec()
222 tcu::Vec4 scale;
223 tcu::Vec4 bias;
238 using tcu::Vec4;
279 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.… in texture2D()
280 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { … in textureCube()
281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) … in texture2DArray()
[all …]
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);
366 std::string genClippingPointInfoString(const tcu::Vec4& p) in genClippingPointInfoString()
380 std::string genColorString(const tcu::Vec4& p) in genColorString()
382 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f); in genColorString()
383 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString()
384 const tcu::Vec4 yellow (1.0f, 1.0f, 0.0f, 1.0f); in genColorString()
385 const tcu::Vec4 blue (0.0f, 0.0f, 1.0f, 1.0f); in genColorString()
486 …ext, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* poi…
[all …]
Des3fFboTestUtil.hpp61 void setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color);
76 …nt (sglr::Context& context, deUint32 program, const tcu::Vec4& gradientMin, const tcu::Vec4& gra…
88 …es, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBia…
92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias);
93 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias);
104 tcu::Vec4 scale;
105 tcu::Vec4 bias;
109 tcu::Vec4 m_outScale;
110 tcu::Vec4 m_outBias;
122 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias);
[all …]
Des3fRasterizationTests.cpp123 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
124 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec…
351 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives()
354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
359 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives()
431 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria…
457 std::vector<tcu::Vec4> drawBuffer; in iterate()
510 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce…
578 std::vector<tcu::Vec4> drawBuffer; in iterate()
657 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe…
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp47 using tcu::Vec4;
116 tcu::Vec4 minCoord;
117 tcu::Vec4 maxCoord;
158 const tcu::Vec4& minCoord_, in TextureLookupSpec()
159 const tcu::Vec4& maxCoord_, in TextureLookupSpec()
245 tcu::Vec4 scale;
246 tcu::Vec4 bias;
411 inline Vec4 texture2D (const ShaderEvalContext& c, float s, float t, float lod) { return c.te… in texture2D()
412 inline Vec4 textureCube (const ShaderEvalContext& c, float s, float t, float r, float lod) { re… in textureCube()
413 inline Vec4 texture2DArray (const ShaderEvalContext& c, float s, float t, float r, float lod) { … in texture2DArray()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemAttachmentLoadTests.cpp216 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
237 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests()
238 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentLoadTests()
239 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createAttachmentLoadTests()
240 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createAttachmentLoadTests()
245 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests()
246 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentLoadTests()
247 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createAttachmentLoadTests()
248 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createAttachmentLoadTests()
253 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests()
[all …]
DvktProtectedMemClearColorImageTests.cpp238 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
255 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests()
256 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests()
257 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createClearColorImageTests()
258 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createClearColorImageTests()
263 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests()
264 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests()
265 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createClearColorImageTests()
266 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createClearColorImageTests()
271 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests()
[all …]
DvktProtectedMemAttachmentClearTests.cpp184 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate()
274 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
293 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentClearTests()
294 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentClearTests()
295 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createAttachmentClearTests()
296 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createAttachmentClearTests()
301 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentClearTests()
302 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentClearTests()
303 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createAttachmentClearTests()
304 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createAttachmentClearTests()
[all …]
DvktProtectedMemCopyImageTests.cpp343 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
360 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests()
361 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyImageTests()
362 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createCopyImageTests()
363 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createCopyImageTests()
368 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests()
369 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyImageTests()
370 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createCopyImageTests()
371 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createCopyImageTests()
376 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests()
[all …]
DvktProtectedMemBlitImageTests.cpp345 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
362 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests()
363 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createBlitImageTests()
364 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createBlitImageTests()
365 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createBlitImageTests()
370 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests()
371 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createBlitImageTests()
372 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createBlitImageTests()
373 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createBlitImageTests()
378 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests()
[all …]
DvktProtectedMemCopyBufferToImageTests.cpp325 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests()
326 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests()
327 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), in createCopyBufferToImageTests()
328 tcu::Vec4(0.0f), tcu::Vec4(0.0f), } in createCopyBufferToImageTests()
333 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests()
334 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests()
335 { tcu::Vec4(1.0f), tcu::Vec4(1.0f), in createCopyBufferToImageTests()
336 tcu::Vec4(1.0f), tcu::Vec4(1.0f), } in createCopyBufferToImageTests()
341 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests()
342 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationProvokingVertexTests.cpp73 return vertexCount * sizeof(tcu::Vec4); in getXfbBufferSize()
75 return (vertexCount - 1) * 2 * sizeof(tcu::Vec4); in getXfbBufferSize()
78 return (vertexCount - 2) * 3 * sizeof(tcu::Vec4); in getXfbBufferSize()
81 return vertexCount / 2 * sizeof(tcu::Vec4); in getXfbBufferSize()
83 return (vertexCount - 3) * 2 * sizeof(tcu::Vec4); in getXfbBufferSize()
85 return (vertexCount / 2 - 2) * 3 * sizeof(tcu::Vec4); in getXfbBufferSize()
92 static bool verifyXfbBuffer (const tcu::Vec4* const xfbResults, in verifyXfbBuffer()
105 const tcu::Vec4 expected (1.0f, 0.0f, 0.0f, 1.0f); in verifyXfbBuffer()
338 sizeof(tcu::Vec4) * 2, // strideInBytes in iterate()
356 sizeof(tcu::Vec4) // offsetInBytes in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp48 using tcu::Vec4;
117 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices()
124 std::vector<Vec4> vertices; in genVertices()
131 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w)); in genVertices()
132 vertices.push_back(offset + Vec4( -hp, -hp, z, w)); in genVertices()
133 vertices.push_back(offset + Vec4( hp, -hp, slope + z, w)); in genVertices()
134 vertices.push_back(offset + Vec4( -hp, hp, z, w)); in genVertices()
135 vertices.push_back(offset + Vec4( hp, hp, slope + z, w)); in genVertices()
139 vertices.push_back(offset + Vec4(-p, -p, z, w)); in genVertices()
140 vertices.push_back(offset + Vec4( p, p, slope + z, w)); // line 0 in genVertices()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuTextureUtil.hpp49 Vec4 sRGBToLinear (const Vec4& cs);
50 Vec4 sRGB8ToLinear (const UVec4& cs);
51 Vec4 sRGBA8ToLinear (const UVec4& cs);
52 Vec4 linearToSRGB (const Vec4& cl);
90 Vec4 valueMin;
91 Vec4 valueMax;
92 Vec4 lookupScale;
93 Vec4 lookupBias;
95 …TextureFormatInfo (const Vec4& valueMin_, const Vec4& valueMax_, const Vec4& lookupScale_, const V… in TextureFormatInfo()
115 void clear (const PixelBufferAccess& access, const Vec4& color);
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp46 tcu::Vec4 coord;
47 tcu::Vec4 dPdx;
48 tcu::Vec4 dPdy;
136 const tcu::Vec4& result) const;
139 const tcu::Vec4& result,
144 bool verifySampleFiltered (const tcu::Vec4& result,
157 const tcu::Vec4& result,
166 const tcu::Vec4& result,
167 const tcu::Vec4& coord,
173 const tcu::Vec4& result,
[all …]
DvktSampleVerifier.cpp96 Vec4& resultMin, in fetchTexelWrapped()
97 Vec4& resultMax) const in fetchTexelWrapped()
119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped()
132 Vec4& resultMin, in fetchTexel()
133 Vec4& resultMax) const in fetchTexel()
190 Vec4 cornerTexels[3]; in fetchTexel()
257 resultMin = Vec4(0.0f, 0.0f, 0.0f, 0.0f); in fetchTexel()
258 resultMax = Vec4(0.0f, 0.0f, 0.0f, 0.0f); in fetchTexel()
263 resultMin = Vec4(0.0f, 0.0f, 0.0f, 1.0f); in fetchTexel()
264 resultMax = Vec4(0.0f, 0.0f, 0.0f, 1.0f); in fetchTexel()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureGatherTests.cpp44 using tcu::Vec4;
62 …g_color_eps = Vec4(1.f / (float)(1 << deMin32(8, pixelFormat.redBits)), 1.f / (float)(1 << deMin32… in TGBase()
68 Vec4 g_color_eps;
266 inline bool ColorEqual(const Vec4& c0, const Vec4& c1, const Vec4& epsilon) in ColorEqual()
616 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTextureCubeArray()
627Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTextureCubeArray()
628 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTextureCubeArray()
630 Vec4 depthData(data[0][0], data[1][0], data[2][0], data[3][0]); in CreateTextureCubeArray()
631 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCubeArray()
706 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTexture2DArray()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboTestUtil.hpp58 …es, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBia…
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;
79 tcu::Vec4 m_outScale;
80 tcu::Vec4 m_outBias;
93 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias);
101 tcu::Vec4 m_texScale;
102 tcu::Vec4 m_texBias;
[all …]
Des31fShaderFramebufferFetchTests.cpp145 tcu::Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureF… in getFixedPointFormatThreshold()
159 …return tcu::Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint… in getFixedPointFormatThreshold()
250 tcu::Vec4 scaleColorValue (tcu::TextureFormat format, const tcu::Vec4& color) in scaleColorValue()
253 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in scaleColorValue()
254 const tcu::Vec4 cBias = fmtInfo.valueMin; in scaleColorValue()
274 void genFramebufferWithTexture (const tcu::Vec4& color);
275 void genAttachementTexture (const tcu::Vec4& color);
276 void genUniformColor (const tcu::Vec4& color);
384 tcu::Vec4 maxValue = getTextureFormatInfo(m_texFmt).valueMax; in genShaderSources()
385 tcu::Vec4 minValue = getTextureFormatInfo(m_texFmt).valueMin; in genShaderSources()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcBlendEquationAdvancedTests.cpp153 static float GetP0(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP0()
157 static float GetP1(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP1()
161 static float GetP2(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP2()
166 static tcu::Vec4 Blend(const tcu::Vec4& rgb, const tcu::Vec4& src, const tcu::Vec4& dst) in Blend()
170 tcu::Vec4 rgbOut = (p[0] * rgb) + (p[1] * src) + (p[2] * dst); in Blend()
171 return tcu::Vec4(rgbOut[0], rgbOut[1], rgbOut[2], alpha); in Blend()
174 static tcu::Vec4 BlendMultiply(const tcu::Vec4& src, const tcu::Vec4& dst) in BlendMultiply()
176 tcu::Vec4 rgb = src * dst; in BlendMultiply()
181 static tcu::Vec4 BlendScreen(const tcu::Vec4& src, const tcu::Vec4& dst) in BlendScreen()
183 tcu::Vec4 rgb = src + dst - src * dst; in BlendScreen()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexUtil.cpp895 using tcu::Vec4; in createOverlappingQuads()
907 const Vec4 quadColors[4] = in createOverlappingQuads()
909 Vec4(1.0f, 0.0f, 0.0f, 1.0), in createOverlappingQuads()
910 Vec4(0.0f, 1.0f, 0.0f, 1.0), in createOverlappingQuads()
911 Vec4(0.0f, 0.0f, 1.0f, 1.0), in createOverlappingQuads()
912 Vec4(1.0f, 0.0f, 1.0f, 1.0) in createOverlappingQuads()
920 const Vec4& color = quadColors[quadNdx]; in createOverlappingQuads()
924 Vec4(translation.x(), translation.y(), 0.0f, 1.0f), in createOverlappingQuads()
929 Vec4(translation.x(), translation.y() + quadSize, 0.0f, 1.0f), in createOverlappingQuads()
934 Vec4(translation.x() + quadSize, translation.y(), 0.0f, 1.0f), in createOverlappingQuads()
[all …]

12345678910>>...25