Searched refs:coords (Results 101 - 125 of 232) sorted by path

12345678910

/external/deqp/framework/common/
H A DtcuTexCompareVerifier.cpp857 const CubeFaceFloatCoords& coords,
863 const int size0 = texture.getLevelFace(baseLevelNdx, coords.face).getWidth();
864 const int size1 = texture.getLevelFace(baseLevelNdx+1, coords.face).getWidth();
866 const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords.s, prec.coordBits.x(), prec.uvwBits.x());
867 const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords.s, prec.coordBits.x(), prec.uvwBits.x());
868 const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords.t, prec.coordBits.y(), prec.uvwBits.y());
869 const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords.t, prec.coordBits.y(), prec.uvwBits.y());
901 const CubeFaceIntCoords c00 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+0, j0+0)), size0);
902 const CubeFaceIntCoords c10 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i0+1, j0+0)), size0);
903 const CubeFaceIntCoords c01 = remapCubeEdgeCoords(CubeFaceIntCoords(coords
[all...]
H A DtcuTexLookupVerifier.cpp1392 const CubeFaceFloatCoords& coords, member in namespace:tcu
1395 const int size = faces[coords.face].getWidth();
1397 const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, prec.coordBits.x(), prec.uvwBits.x());
1398 const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, prec.coordBits.y(), prec.uvwBits.y());
1406 const TextureChannelClass texClass = getTextureChannelClass(faces[coords.face].getFormat().type);
1415 const CubeFaceIntCoords c00 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+0, j+0)), size);
1416 const CubeFaceIntCoords c10 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+1, j+0)), size);
1417 const CubeFaceIntCoords c01 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+0, j+1)), size);
1418 const CubeFaceIntCoords c11 = remapCubeEdgeCoords(CubeFaceIntCoords(coords.face, IVec2(i+1, j+1)), size);
1452 const CubeFaceFloatCoords& coords, member in namespace:tcu
1563 const CubeFaceFloatCoords& coords, member in namespace:tcu
1582 const CubeFaceFloatCoords& coords, member in namespace:tcu
2390 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument
[all...]
H A DtcuTexture.cpp2235 CubeFace selectCubeFace (const Vec3& coords) argument
2237 const float x = coords.x();
2238 const float y = coords.y();
2239 const float z = coords.z();
2309 CubeFaceFloatCoords getCubeFaceCoords (const Vec3& coords) argument
2311 const CubeFace face = selectCubeFace(coords);
2312 return CubeFaceFloatCoords(face, projectToFace(face, coords));
2315 // Checks if origCoords.coords is in bounds defined by size; if not, return a CubeFaceIntCoords with face set to the appropriate neighboring face and coords transformed accordingly.
2316 // \note If both x and y in origCoords.coords ar
2391 CubeFaceIntCoords coords = remapCubeEdgeCoords(CubeFaceIntCoords(baseFace, baseSampleCoords[i]), size); variable
[all...]
H A DtcuTexture.hpp403 CubeFace selectCubeFace (const Vec3& coords);
404 Vec2 projectToFace (CubeFace face, const Vec3& coords);
405 CubeFaceFloatCoords getCubeFaceCoords (const Vec3& coords);
406 CubeFaceIntCoords remapCubeEdgeCoords (const CubeFaceIntCoords& coords, int size);
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp3158 sFilter, sFilter, 0.0f /* lod threshold */, false /* non-normalized coords */);
4737 true, // normalized coords
5046 const tcu::Vec2 coords[4] =
5054 const tcu::Vec2 dFdx0 = coords[1] - coords[0];
5055 const tcu::Vec2 dFdx1 = coords[3] - coords[2];
5056 const tcu::Vec2 dFdy0 = coords[2] - coords[0];
5057 const tcu::Vec2 dFdy1 = coords[
[all...]
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp1628 ExecConstValueAccess coords = m_coordExpr->getValue(); local
1638 float s = coords.component(0).asFloat(i);
1639 float t = coords.component(1).asFloat(i);
1654 float s = coords.component(0).asFloat(i);
1655 float t = coords.component(1).asFloat(i);
1670 float s = coords.component(0).asFloat(i);
1671 float t = coords.component(1).asFloat(i);
1672 float w = coords.component(2).asFloat(i);
1687 float s = coords.component(0).asFloat(i);
1688 float t = coords
[all...]
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp402 std::vector<float> coords; local
415 coords.push_back(0.125f * (i % 16) - 1.0f);
416 coords.push_back(0.125f * ((int)(i / 16.0f)) - 1.0f);
418 coords.push_back(0.125f * (i % 16) - 1.0f);
419 coords.push_back(0.125f * ((int)(i / 16.0f) + 1) - 1.0f);
421 coords.push_back(0.125f * ((i % 16) + 1) - 1.0f);
422 coords.push_back(0.125f * ((int)(i / 16.0f) + 1) - 1.0f);
424 coords.push_back(0.125f * ((i % 16) + 1) - 1.0f);
425 coords.push_back(0.125f * ((int)(i / 16.0f)) - 1.0f);
459 GLU_CHECK_CALL(glVertexAttribPointer(gridLocation, 2, GL_FLOAT, GL_FALSE, 0, &(coords[
587 static const GLfloat coords[] = { local
732 static const GLfloat coords[] = { local
1021 static const GLfloat coords[] = { local
[all...]
H A DteglGLES2SharingThreadedTests.cpp1788 float coords[] = { local
1799 GLU_CHECK_CALL(glVertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
H A DteglImageFormatTests.cpp768 float coords[] = local
782 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
891 float coords[] = local
932 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
1174 float coords[] = local
1223 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
1224 GLU_CHECK_CALL(glVertexAttribPointer(texCoordLoc, 3, GL_FLOAT, GL_FALSE, 0, coords));
H A DteglPreservingSwapTests.cpp208 const glw::GLfloat coords[] = local
237 m_gl.vertexAttribPointer(m_coordLoc, 4, GL_FLOAT, GL_FALSE, 0, coords);
/external/deqp/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp63 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) argument
68 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) };
69 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[
213 float coords[] = local
264 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp100 const float coords[] = local
117 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
H A Des2fShaderBuiltinVarTests.cpp56 bool isOk = 0 == (int)(deFloatFloor(c.coords.x() * builtinConstScale) + 0.05f);
461 vector<tcu::Vec3> coords (numPoints);
477 for (vector<tcu::Vec3>::iterator coord = coords.begin(); coord != coords.end(); ++coord)
505 glu::VertexArrayBinding posBinding = glu::va::Float("a_positionSize", 3, (int)coords.size(), 0, (const float*)&coords[0]);
516 glu::pr::Points((int)coords.size()));
524 for (vector<tcu::Vec3>::const_iterator pointIter = coords.begin(); pointIter != coords.end(); ++pointIter)
H A Des2fShaderDiscardTests.cpp170 inline void evalDiscardNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
171 inline void evalDiscardDynamic (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); if (c.coords.x()+c.coords.y() > 0.0f) c.discard(); }
175 c.color.xyz() = c.coords.swizzle(0,1,2);
176 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
H A Des2fShaderIndexingTests.cpp108 void evalArrayCoordsFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.coords.x(); }
109 void evalArrayCoordsVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.coords.swizzle(0,1); }
110 void evalArrayCoordsVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.coords.swizzle(0,1,2); }
111 void evalArrayCoordsVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.coords; }
281 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n";
284 vtx << " var[i] = ${VAR_TYPE}(coords);\n";
285 vtx << " coords = coords * 0.5;\n";
291 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n";
294 vtx << " var[i] = ${VAR_TYPE}(coords);\
[all...]
H A Des2fShaderLoopTests.cpp187 static void evalLoop0Iters (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
188 static void evalLoop1Iters (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(1,2,3); }
189 static void evalLoop2Iters (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(2,3,0); }
190 static void evalLoop3Iters (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,0,1); }
332 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
334 frag << " ${PRECISION} vec4 coords = v_coords;\n";
355 op << " ${PRECISION} vec4 res = coords;\n";
525 op << "\n${PRECISION} vec4 func (in ${PRECISION} vec4 coords) { return coords.yzwx; }\n";
527 op << "\nvoid func (inout ${PRECISION} vec4 coords) { coord
[all...]
H A Des2fShaderMatrixTests.cpp346 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.x(); }
347 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.swizzle(0, 1); }
348 template <> inline tcu::Vec3 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.swizzle(0, 1, 2); }
349 template <> inline tcu::Vec4 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return evalCtx.coords.swizzle(0, 1, 2, 3); }
851 vtx << "coords;\n";
856 passVars.push_back("coords");
H A Des2fShaderReturnTests.cpp63 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
64 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); }
65 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); }
171 const char* coords = isVertex ? "a_coords" : "v_coords"; local
178 params["COORDS"] = coords;
186 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = string(coords) + ".x+" + coords
226 const char* coords = isVertex ? "a_coords" : "v_coords"; local
271 const char* coords = isVertex ? "a_coords" : "v_coords"; local
[all...]
H A Des2fShaderStructTests.cpp238 c.color.xyz() = c.coords.swizzle(0,1,2);
265 c.color.xyz() = c.coords.swizzle(0,1,2);
291 c.color.xyz() = c.coords.swizzle(3,2,1);
319 c.color.xyz() = c.coords.swizzle(1,2,0);
345 c.color.xyz() = c.coords.swizzle(2,1,0);
371 c.color.xyz() = c.coords.swizzle(2,1,0);
435 c.color.xyz() = c.coords.swizzle(2,0,3);
499 c.color.xyz() = c.coords.swizzle(2,0,3);
526 c.color.xyz() = c.coords.swizzle(0,1,2);
558 c.color.xyz() = c.coords
[all...]
/external/deqp/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp66 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) argument
71 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) };
72 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[
220 float coords[] = local
271 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp144 const float coords[] = local
161 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
H A Des3fShaderBuiltinVarTests.cpp490 vector<tcu::Vec3> coords (numPoints);
506 for (vector<tcu::Vec3>::iterator coord = coords.begin(); coord != coords.end(); ++coord)
537 glu::VertexArrayBinding posBinding = glu::va::Float("a_positionSize", 3, (int)coords.size(), 0, (const float*)&coords[0]);
548 glu::pr::Points((int)coords.size()));
556 for (vector<tcu::Vec3>::const_iterator pointIter = coords.begin(); pointIter != coords.end(); ++pointIter)
H A Des3fShaderDerivateTests.cpp710 const float coords[] = local
720 glu::va::Float("a_coord", 4, 4, 0, &coords[0])
H A Des3fShaderDiscardTests.cpp150 inline void evalDiscardNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); }
151 inline void evalDiscardDynamic (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); if (c.coords.x()+c.coords.y() > 0.0f) c.discard(); }
155 c.color.xyz() = c.coords.swizzle(0,1,2);
156 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
H A Des3fShaderIndexingTests.cpp101 void evalArrayCoordsFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.coords.x(); }
102 void evalArrayCoordsVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.coords.swizzle(0,1); }
103 void evalArrayCoordsVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.coords.swizzle(0,1,2); }
104 void evalArrayCoordsVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.coords; }
252 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n";
255 vtx << " var[i] = ${VAR_TYPE}(coords);\n";
256 vtx << " coords = coords * 0.5;\n";
262 vtx << " ${PRECISION} ${VAR_TYPE} coords = ${VAR_TYPE}(a_coords);\n";
265 vtx << " var[i] = ${VAR_TYPE}(coords);\
[all...]

Completed in 1148 milliseconds

12345678910