Home
last modified time | relevance | path

Searched refs:DE_PI (Results 1 – 24 of 24) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgBuiltinFunctions.hpp235 inMin = (outMin >= -1.0f) ? deFloatAsin(outMin) : -0.5f*DE_PI; in transformValueRange()
236 inMax = (outMax <= +1.0f) ? deFloatAsin(outMax) : +0.5f*DE_PI; in transformValueRange()
260 inMax = (outMin >= -1.0f) ? deFloatAcos(outMin) : +DE_PI; in transformValueRange()
261 inMin = (outMax <= +1.0f) ? deFloatAcos(outMax) : -DE_PI; in transformValueRange()
311 const float rangeMin = -DE_PI/2.0f; in transformValueRange()
312 const float rangeMax = +DE_PI/2.0f; in transformValueRange()
340 const float rangeMax = DE_PI; in transformValueRange()
/external/deqp/modules/gles2/functional/
Des2fMultisampleTests.cpp514 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
515 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
551 float angle = 2.0f*DE_PI * (float)i / (float)numLines + 0.001f*(float)m_currentIteration; in renderPattern()
673 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); in iterate()
747 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); in iterate()
928 float angle = 2.0f * DE_PI * (float)i / (float)numPolygons + 0.001f*(float)m_currentIteration; in renderPattern()
929 …Vec3 pt0 (3.0f*deFloatCos(angle + 2.0f*DE_PI*0.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*0.0f/… in renderPattern()
930 …Vec3 pt1 (3.0f*deFloatCos(angle + 2.0f*DE_PI*1.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*1.0f/… in renderPattern()
931 …Vec3 pt2 (3.0f*deFloatCos(angle + 2.0f*DE_PI*2.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*2.0f/… in renderPattern()
993 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
[all …]
Des2fTextureUnitTests.cpp307 float rotAngle = rnd.getFloat(0.0f, 2.0f*DE_PI); in MultiTexShader()
Des2fRasterizationTests.cpp1273 …* numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f; in generateTriangles()
1328 const float rotation = (float)(iteration) / (float)(m_iterationCount - 1) * DE_PI / 2.0f; in generateTriangles()
Des2fTextureMipmapTests.cpp230 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
/external/deqp/modules/gles3/functional/
Des3fMultisampleTests.cpp682 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
683 …float angle1 = 2.0f*DE_PI * ((float)i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
719 float angle = 2.0f*DE_PI * (float)i / (float)numLines + 0.001f*(float)m_currentIteration; in renderPattern()
835 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); in iterate()
909 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); in iterate()
1090 float angle = 2.0f * DE_PI * (float)i / (float)numPolygons + 0.001f*(float)m_currentIteration; in renderPattern()
1091 …Vec3 pt0 (3.0f*deFloatCos(angle + 2.0f*DE_PI*0.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*0.0f/… in renderPattern()
1092 …Vec3 pt1 (3.0f*deFloatCos(angle + 2.0f*DE_PI*1.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*1.0f/… in renderPattern()
1093 …Vec3 pt2 (3.0f*deFloatCos(angle + 2.0f*DE_PI*2.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*2.0f/… in renderPattern()
1152 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
[all …]
Des3fPrimitiveRestartTests.cpp313 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init()
314 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init()
385 …float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numCo… in init()
386 …float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRo… in init()
Des3fTextureMipmapTests.cpp274 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
1227 float angleX = 0.0f + 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord3D()
1228 float angleY = 1.0f + 2.0f*DE_PI * ((float)cellNdx / 32.0f); in getAffineTexCoord3D()
Des3fRasterizationTests.cpp1422 …* numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f; in generateTriangles()
1477 const float rotation = (float)(iteration) / (float)(m_iterationCount - 1) * DE_PI / 2.0f; in generateTriangles()
Des3fTextureUnitTests.cpp415 float rotAngle = rnd.getFloat(0.0f, 2.0f*DE_PI); in MultiTexShader()
/external/deqp/framework/delibs/debase/
DdeMath.h35 #define DE_PI 3.14159265358979324f /*!< Pi. */ macro
137 DE_INLINE float deFloatRadians (float a) { return a * (DE_PI / 180.0f); } in deFloatRadians()
138 DE_INLINE float deFloatDegrees (float a) { return a * (180.0f / DE_PI); } in deFloatDegrees()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp489 const float stepAngle = de::min(DE_PI * 0.5f, (2 * DE_PI) / float(primitiveCount)); in createBufferData()
795 const float stepAngle = de::min(DE_PI * 0.5f, (2 * DE_PI) / float(primitiveCount)); in createBufferData()
DvktPipelineMultisampleSampleLocationsExtTests.cpp473 const float angleStep = (2.0f * DE_PI) / numSteps; in genVerticesShapes()
475 for (float a = 0.0f; a <= 2.0f * DE_PI; a += angleStep) in genVerticesShapes()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureBarrierTests.cpp272 grid[x][y].x = normx * 2.f - 1.f + deFloatSin(normx * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
273 grid[x][y].y = normy * 2.f - 1.f + deFloatSin(normy * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp496 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; in drawPattern()
497 const float angle1 = 2.0f*DE_PI * ((float)triNdx + 0.5f) / (float)numTriangles; in drawPattern()
Des31fShaderMultisampleInterpolationTests.cpp803 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
804 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
Des31fTextureMultisampleTests.cpp260 …:Vec2 p = tcu::Vec2(deFloatCos(((float)i)/20.0f*DE_PI*2) * 0.5f + 0.5f, deFloatSin(((float)i)/20.0… in init()
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp227 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp218 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp241 const float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
753 const float angleX = 0.0f + 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord3D()
754 const float angleY = 1.0f + 2.0f*DE_PI * ((float)cellNdx / 32.0f); in getAffineTexCoord3D()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2514 …* numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f; in generateTriangles()
2569 const float rotation = (float)(iteration) / (float)(m_iterationCount - 1) * DE_PI / 2.0f; in generateTriangles()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp2280 DEFINE_DERIVED_FLOAT1(Radians, radians, d, (constant(DE_PI) / constant(180.0f)) * d);
2281 DEFINE_DERIVED_FLOAT1(Degrees, degrees, r, (constant(180.0f) / constant(DE_PI)) * r);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2786 DEFINE_DERIVED_FLOAT1(Radians, radians, d, (constant(DE_PI) / constant(180.0f)) * d);
2788 DEFINE_DERIVED_FLOAT1(Degrees, degrees, r, (constant(180.0f) / constant(DE_PI)) * r);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp17394 if (!de::inRange(f, -DE_PI, DE_PI)) in getInputDataPI()
17395 result[idx] = tcu::Float16(fmodf(f, DE_PI)).bits(); in getInputDataPI()