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

1 2 3 4 56 7 8 910

  /external/deqp/modules/gles31/functional/
es31fPrimitiveBoundingBoxTests.cpp 552 tcu::Vec2 patternPos; //!< in NDC
553 tcu::Vec2 patternSize; //!< in NDC
573 tcu::IVec4 getViewportPatternArea (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirection roundDir) const;
808 tcu::IVec4 BBoxRenderCase::getViewportPatternArea (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirection roundDir) const
    [all...]
es31fTextureMultisampleTests.cpp 151 void convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const;
170 std::vector<tcu::Vec2> m_samplePositions;
260 const tcu::Vec2 p = tcu::Vec2(deFloatCos(((float)i)/20.0f*DE_PI*2) * 0.5f + 0.5f, deFloatSin(((float)i)/20.0f*DE_PI*2) * 0.5f + 0.5f);
261 const tcu::Vec2 d = tcu::Vec2(0.1f, 0.02f);
394 m_samplePositions.push_back(tcu::Vec2(position[0], position[1]));
522 void SamplePosRasterizationTest::convertToSceneSpec (TriangleSceneSpec& scene, const tcu::Vec2& samplePos) const
    [all...]
es31fTessellationTests.cpp 69 using tcu::Vec2;
    [all...]
es31fFboColorbufferTests.cpp 52 using tcu::Vec2;
  /external/deqp/framework/opengl/simplereference/
sglrReferenceContext.cpp 45 using tcu::Vec2;
    [all...]
  /external/deqp/framework/referencerenderer/
rrRasterizer.cpp 121 static tcu::Vector<deInt64,2> toSubpixelVector (const tcu::Vec2& v)
    [all...]
rrRenderer.cpp 474 tcu::Vec2 to2DCartesian (const tcu::Vec4& p)
476 return tcu::Vec2(p.x(), p.y()) / p.w();
479 float cross2D (const tcu::Vec2& a, const tcu::Vec2& b)
954 const tcu::Vec2 dxDir = tcu::Vec2( b.y(), -a.y()) / det;
955 const tcu::Vec2 dyDir = tcu::Vec2(-b.x(), a.x()) / det;
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderViewportLayerArrayTests.cpp 60 "in highp vec2 inPosition;\n"
389 std::vector<std::pair<tcu::Vec2, tcu::Vec4> > expectedPixels;
398 tcu::Vec2 center(viewportData.x() + viewportData.z() * 0.5f, viewportData.y() + viewportData.w() * 0.5f);
gl4cTextureGatherTests.cpp 46 using tcu::Vec2;
368 return " textureGather(tex_2d,vec2(1)); \n"
371 " textureGather(itex_2dr,vec2(1)); \n"
373 " textureGather(tex_2drs,vec2(1), 0.5); \n"
374 " textureGather(tex_2ds,vec2(1), 0.5); \n"
378 " textureGatherOffset(tex_2d,vec2(1), ivec2(0)); \n"
380 " textureGatherOffset(itex_2dr,vec2(1), ivec2(0)); \n"
382 " textureGatherOffset(tex_2drs,vec2(1), 0.5, ivec2(0)); \n"
383 " textureGatherOffset(tex_2ds,vec2(1), 0.5, ivec2(0)); \n"
387 " textureGatherOffsets(tex_2d,vec2(1), offsets); \n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderMatrixTests.cpp 60 using tcu::Vec2;
76 static const Vec2 s_constInVec2[2] = { Vec2(1.2f, 0.5f), Vec2(0.5f, 1.0f) };
260 DECLARE_TYPE_TRAIT(TYPE_FLOAT_VEC2, tcu::Vec2);
492 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[inputNdx]; }
507 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.swizzle(0, 1); }
603 inline tcu::Vec3 reduceToVec3 (const tcu::Vec2& value) { return value.swizzle(0,1,0); }
    [all...]
vktShaderRender.cpp 435 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords)
896 // Vec2
897 UNIFORM_CASE(UV2_MINUS_ONE, tcu::Vec2(-1.0f));
898 UNIFORM_CASE(UV2_ZERO, tcu::Vec2(0.0f));
899 UNIFORM_CASE(UV2_ONE, tcu::Vec2(1.0f));
900 UNIFORM_CASE(UV2_TWO, tcu::Vec2(2.0f));
901 UNIFORM_CASE(UV2_THREE, tcu::Vec2(3.0f));
903 UNIFORM_CASE(UV2_HALF, tcu::Vec2(1.0f / 2.0f));
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/
vktShaderLibrary.cpp 78 using tcu::Vec2;
    [all...]
  /external/deqp/framework/common/
tcuTextureUtil.cpp 349 static Vec2 getFloatChannelValueRange (TextureFormat::ChannelType channelType)
401 return Vec2(cMin, cMax);
446 const Vec2 cRange = getFloatChannelValueRange(format.type);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fTextureSizeTests.cpp 137 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
  /external/deqp/modules/gles3/functional/
es3fShaderMatrixTests.cpp 64 using tcu::Vec2;
81 static const Vec2 s_constInVec2[2] = { Vec2(1.2f, 0.5f), Vec2(0.5f, 1.0f) };
265 DECLARE_TYPE_TRAIT(TYPE_FLOAT_VEC2, tcu::Vec2);
497 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[inputNdx]; }
512 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.swizzle(0, 1); }
608 inline tcu::Vec3 reduceToVec3 (const tcu::Vec2& value) { return value.swizzle(0,1,0); }
    [all...]
es3fTextureFormatTests.cpp 197 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
554 computeQuadTexCoord2DArray(texCoord, layerNdx, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
858 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
    [all...]
es3fTextureSizeTests.cpp 138 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
es3fFboStencilbufferTests.cpp 40 using tcu::Vec2;
es3fFboTestUtil.cpp 48 using tcu::Vec2;
242 src << "in highp vec2 v_coord;\n";
285 "in highp vec2 a_coord;\n"
286 "out highp vec2 v_coord;\n"
376 tcu::Vec2 texCoords[4];
385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y());
435 "in mediump vec2 a_coord;\n"
517 tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy();
573 "in highp vec2 a_coord;\n"
574 "out highp vec2 v_coord;\n
    [all...]
es3fFboInvalidateTests.cpp 45 using tcu::Vec2;
708 Vec2 quadNDCLeftBottomXY (-1.0f, -1.0f);
709 Vec2 quadNDCSize (2.0f*(float)quadSizePixels.x()/(float)getWidth(), 2.0f*(float)quadSizePixels.y()/(float)getHeight());
710 Vec2 quadNDCRightTopXY = quadNDCLeftBottomXY + quadNDCSize;
    [all...]
  /external/deqp/modules/egl/
teglNativeCoordMappingTests.cpp 92 "attribute highp vec2 a_pos;\n"
221 tcu::Vec2 toGLCoord (int width, int height, int x, int y)
226 return tcu::Vec2(xf, yf);
231 const tcu::Vec2 positions[] =
  /external/deqp/modules/glshared/
glsFragOpInteractionCase.cpp 60 using tcu::Vec2;
293 const Vec2 pA (flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f);
294 const Vec2 pB (flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f);
glsVertexArrayTests.cpp 107 "vec2", // OUTPUTTYPE_VEC2,
688 "vec2", // OUTPUTTYPE_VEC2,
779 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents)
784 case 1: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.x()); break;
785 case 2: coord = tcu::Vec2((float)attribValue.x(), (float)attribValue.y()); break;
786 case 3: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y()); break;
787 case 4: coord = tcu::Vec2((float)attribValue.x() + (float)attribValue.z(), (float)attribValue.y() + (float)attribValue.w()); break;
835 tcu::Vec2 coord = tcu::Vec2(1.0, 1.0);
926 "\thighp vec2 coord = vec2(1.0, 1.0);\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/renderpass/
vktRenderPassTests.cpp 78 using tcu::Vec2;
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrConversionTests.cpp 60 using tcu::Vec2;
101 void genTexCoords (std::vector<Vec2>& coords,
117 coords.push_back(Vec2(s, t));
121 void genOneToOneTexCoords (std::vector<Vec2>& coords,
130 coords.push_back(Vec2(s, t));
455 const vector<Vec2>& sts,
639 vector<Vec2> sts;
    [all...]

Completed in 1225 milliseconds

1 2 3 4 56 7 8 910