/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 72 static const deUint32 compareFuncs[] = in computeRandomRenderState() local 174 …l[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState() 186 …state.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState()
|
D | glsTextureStateQueryTests.cpp | 1360 …const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL… in test() local 1364 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1368 const glw::GLint value = (glw::GLint)compareFuncs[ndx]; in test() 1376 const glw::GLuint value = compareFuncs[ndx]; in test() 1381 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test() 1386 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1388 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test() 1391 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test() 1396 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test() 1398 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test() [all …]
|
D | glsUniformBlockCase.cpp | 719 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 726 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 727 compareFuncs.insert(basicType); in getCompareDependencies() 739 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 740 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 741 compareFuncs.insert(basicType); in getCompareDependencies() 745 compareFuncs.insert(basicType); in getCompareDependencies() 781 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 789 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 794 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local 763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 787 } compareFuncs[] = in init() local 838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init() 841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init() 845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init() 846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init() 849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init() 854 name << "depth_" << compareFuncs[depthFunc].name; in init() [all …]
|
D | es2fUniformApiTests.cpp | 1092 } compareFuncs[] = in writeUniformDefinitions() local 1113 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions() 1115 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions() 1119 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local 763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 787 } compareFuncs[] = in init() local 838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init() 841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init() 845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init() 846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init() 849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init() 854 name << "depth_" << compareFuncs[depthFunc].name; in init() [all …]
|
D | es3fTextureShadowTests.cpp | 1009 } compareFuncs[] = in init() local 1031 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init() 1038 deUint32 compareFunc = compareFuncs[compareNdx].func; in init() 1043 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init() 1061 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init() 1068 deUint32 compareFunc = compareFuncs[compareNdx].func; in init() 1072 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init() 1090 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init() 1097 deUint32 compareFunc = compareFuncs[compareNdx].func; in init() 1103 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
|
D | es3fUniformApiTests.cpp | 1263 } compareFuncs[] = in writeUniformDefinitions() local 1294 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions() 1296 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions() 1313 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
|
/external/deqp/modules/egl/ |
D | teglChooseConfigReference.cpp | 191 static const SurfaceConfig::CompareFunc compareFuncs[] = in compareTo() local 208 for (int ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(compareFuncs); ndx++) in compareTo() 210 if (!compareFuncs[ndx]) in compareTo() 220 if (compareFuncs[ndx](*this, b)) in compareTo() 222 else if (compareFuncs[ndx](b, *this)) in compareTo()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 841 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 848 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 849 compareFuncs.insert(basicType); in getCompareDependencies() 861 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies() 862 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 863 compareFuncs.insert(basicType); in getCompareDependencies() 867 compareFuncs.insert(basicType); in getCompareDependencies() 903 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local 911 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs() 916 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
|
D | es31fProgramUniformTests.cpp | 1079 } compareFuncs[] = in writeUniformDefinitions() local 1110 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions() 1112 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions() 1129 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
|