/external/deqp/framework/randomshaders/ |
D | rsgBuiltinFunctions.hpp | 235 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/ |
D | es2fMultisampleTests.cpp | 514 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 …]
|
D | es2fTextureUnitTests.cpp | 307 float rotAngle = rnd.getFloat(0.0f, 2.0f*DE_PI); in MultiTexShader()
|
D | es2fRasterizationTests.cpp | 1273 …* 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()
|
D | es2fTextureMipmapTests.cpp | 230 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
|
/external/deqp/modules/gles3/functional/ |
D | es3fMultisampleTests.cpp | 682 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 …]
|
D | es3fPrimitiveRestartTests.cpp | 328 … float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols; in init() 329 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init() 400 …float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numCo… in init() 401 …float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRo… in init()
|
D | es3fTextureMipmapTests.cpp | 274 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()
|
D | es3fRasterizationTests.cpp | 1422 …* 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()
|
D | es3fTextureUnitTests.cpp | 415 float rotAngle = rnd.getFloat(0.0f, 2.0f*DE_PI); in MultiTexShader()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 35 #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/ |
D | vktPipelineInputAssemblyTests.cpp | 496 const float stepAngle = de::min(DE_PI * 0.5f, (2 * DE_PI) / float(primitiveCount)); in createBufferData() 802 const float stepAngle = de::min(DE_PI * 0.5f, (2 * DE_PI) / float(primitiveCount)); in createBufferData()
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 473 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/ |
D | gl4cTextureBarrierTests.cpp | 272 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/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryDirectionTests.cpp | 446 const float kPi2 = DE_PI * 2.0f; in createDirectionTests()
|
/external/deqp/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 496 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()
|
D | es31fShaderMultisampleInterpolationTests.cpp | 811 const float angle = ((float)triangleNdx) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData() 812 const float nextAngle = ((float)triangleNdx + 1.0f) / (float)numTriangles * 2.0f * DE_PI; in setupRenderData()
|
D | es31fTextureMultisampleTests.cpp | 260 …: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/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDirectionTests.cpp | 592 const float kPi2 = DE_PI * 2.0f; in createDirectionTests()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 227 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 218 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); in getAffineTexCoord2D()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 241 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/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 3020 DEFINE_DERIVED_FLOAT1(Radians, radians, d, (constant(DE_PI) / constant(180.0f)) * d); 3022 DEFINE_DERIVED_DOUBLE1(Radians64, radians, d, (constant((double)(DE_PI)) / constant(180.0)) * d); 3023 DEFINE_DERIVED_FLOAT1(Degrees, degrees, r, (constant(180.0f) / constant(DE_PI)) * r); 3025 DEFINE_DERIVED_DOUBLE1(Degrees64, degrees, r, (constant(180.0) / constant((double)(DE_PI))) * r);
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 2280 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/rasterization/ |
D | vktRasterizationTests.cpp | 4830 …* numRows + col * numRows + row) / (float)(m_iterationCount * numColumns * numRows) * DE_PI / 2.0f; in generateTriangles() 4885 const float rotation = (float)(iteration) / (float)(m_iterationCount - 1) * DE_PI / 2.0f; in generateTriangles()
|